Skip to content

Conversation

narodnik
Copy link

this will caused undefined reference for hb_ft_font_create_referenced(), so I patched the lib to properly include freetype when the feature is enabled.

Comment on lines +4 to +6
[submodule "harfbuzz-sys/freetype-sys"]
path = harfbuzz-sys/freetype-sys
url = https://github.com/PistonDevelopers/freetype-sys
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure this change belongs here. Can we simply add the configuration define for now?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

android builds fail without this

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

harfbuzz-sys has a feature called bundled. But you cannot use the bundled feature with FT enabled unless you link the submodule in the tree since you need the headers. This is needed for platforms where FT is not installed like android.

@narodnik
Copy link
Author

narodnik commented Feb 9, 2025

Is there any news on this? It's been months. Your freetype support is broken for Android.

I literally had to redo the commit from scratch because of how long it took to respond last time. Then you respond with a one liner and then nothing for months. Come on!

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