diff --git a/src/core/xfa/xhtml.js b/src/core/xfa/xhtml.js index c7db14c5d..b478b832b 100644 --- a/src/core/xfa/xhtml.js +++ b/src/core/xfa/xhtml.js @@ -81,13 +81,11 @@ const StyleMapping = new Map([ ["kerning-mode", value => (value === "none" ? "none" : "normal")], [ "xfa-font-horizontal-scale", - value => - `scaleX(${Math.max(0, Math.min(parseInt(value) / 100)).toFixed(2)})`, + value => `scaleX(${Math.max(0, parseInt(value) / 100).toFixed(2)})`, ], [ "xfa-font-vertical-scale", - value => - `scaleY(${Math.max(0, Math.min(parseInt(value) / 100)).toFixed(2)})`, + value => `scaleY(${Math.max(0, parseInt(value) / 100).toFixed(2)})`, ], ["xfa-spacerun", ""], ["xfa-tab-stops", ""],