Skip to content

Commit

Permalink
fixup! fix(math): Stretchy symbols should work on large content (work…
Browse files Browse the repository at this point in the history
…around)
  • Loading branch information
Omikhleia authored and Didier Willis committed Oct 31, 2024
1 parent 222b4de commit cbdbfbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/math/base-elements.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1076,7 +1076,7 @@ function elements.text:output (x, y, line)
-- Anyhow, we do not have that yet, so we just stretch the glyph artificially.
-- There are cases where this will not look very good.
-- Call that a compromise, so that long vectors or large matrices look "decent" without assembly.
if self.horizScalingRatio or self.vertScalingRatio then
if SILE.outputter.scaleFn and (self.horizScalingRatio or self.vertScalingRatio) then
local xratio = self.horizScalingRatio or 1
local yratio = self.vertScalingRatio or 1
SU.debug("math", "fake glyph stretch: xratio =", xratio, "yratio =", yratio)
Expand Down

0 comments on commit cbdbfbf

Please sign in to comment.