Skip to content

Fix rect extraction from graphics stream for type3 fonts#4967

Merged
jtanx merged 1 commit intofontforge:masterfrom
aidos:fix-type-3-rect-height
Mar 28, 2022
Merged

Fix rect extraction from graphics stream for type3 fonts#4967
jtanx merged 1 commit intofontforge:masterfrom
aidos:fix-type-3-rect-height

Conversation

@aidos
Copy link
Copy Markdown
Contributor

@aidos aidos commented Mar 28, 2022

Bug fix

The existing code has a bug where it is accidentally using the y coordinate (sp-3) instead of the height (sp-1) when extracting a rect from the graphics stream.

The result is that all rects are collapsed to have no height.

@jtanx jtanx merged commit 7fec181 into fontforge:master Mar 28, 2022
Omnikron13 pushed a commit to Omnikron13/fontforge that referenced this pull request May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants