mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-12-01 10:34:23 +01:00
In reuse mode, the outer scale(font_scale_x, -font_scale_y) wrapper already flips Y. The color glyph wrapper was incorrectly also applying scale(1,-1), causing a double Y-flip that made the output appear off-bounds at any font size other than upem. Now only apply scale(1,-1) in upem_scale mode (no outer wrapper). Also restore precision 9 for 1/upem scale values. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>