Skip to content

fix: non-scalable fonts crash - #281

Open
YUCLing wants to merge 1 commit into
servo:mainfrom
YUCLing:fix/non-scalable-fonts
Open

YUCLing wants to merge 1 commit into
servo:mainfrom
YUCLing:fix/non-scalable-fonts

Conversation

@YUCLing

@YUCLing YUCLing commented Sep 19, 2026 •

Copy link
Copy Markdown

close #250
close #236

When loading non-scalable fonts like Apple Color Emoji, FT_Set_Size errors with FT_Err_Invalid_Pixel_Size (23).

This PR adds support for non-scalable fonts (bitmap fonts), replacing FT_Set_Size with FT_Select_Size and modified some functions to make them works with bitmap fonts.

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.

Panic when checking file Panic on Mac OS trying to read Apple Color Emoji

1 participant