@uurtech/jdf-cli 0.1.23 → 0.1.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -803,7 +803,7 @@ async function walkOps(page, OPS, viewport) {
803
803
  const s = stack.pop();
804
804
  if (s) Object.assign(gs, s);
805
805
  } else if (fn === OPS.transform) {
806
- gs.ctm = multiplyCtm(gs.ctm, args);
806
+ gs.ctm = multiplyCtm(args, gs.ctm);
807
807
  } else if (fn === OPS.setFillRGBColor) {
808
808
  gs.fill = rgbToHex(args[0], args[1], args[2]);
809
809
  } else if (fn === OPS.setStrokeRGBColor) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uurtech/jdf-cli",
3
- "version": "0.1.23",
3
+ "version": "0.1.24",
4
4
  "description": "Command-line tool for the JDF (JSON Document Format) — validate and convert documents.",
5
5
  "license": "MIT",
6
6
  "author": "Ugur Kazdal",