You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/render.ps.src
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -809,13 +809,14 @@ begin
809
809
% strictspec with resolved hdim: derive from hdim/xdim
810
810
hdim xdim div modunit mul 72 div
811
811
} {
812
-
hnom -1 ne strictspec propspec height -1.0 eq and or and {
812
+
hnom -1 ne strictspec propspec or and {
813
813
xnom -1 eq {
814
814
/bwipp.renderHnomNeedXnom (Proportional bar height derivation requires a nominal X-dimension to be defined for the application or for xdim to be supplied) //raiseerror exec
815
815
} if
816
816
hnom xnom div modunit mul
817
817
strictspec not { round } if % Pixel-lock derived height
818
818
72 div
819
+
propspec { height -1.0 ne { height mul } if } if % height is a multiplier under propspec
0 commit comments