Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate better Harfbuzz type names #78

Merged
merged 2 commits into from
Oct 28, 2023
Merged

Generate better Harfbuzz type names #78

merged 2 commits into from
Oct 28, 2023

Conversation

jwharm
Copy link
Owner

@jwharm jwharm commented Oct 28, 2023

HarfBuzz types are postfixed with _t in C, like hb_font_t. This leads to Java types like FontT. The trailing T is unnecessary and doesn't look very nice. With this change, the HarfBuzz types in Java will loose the trailing T so hb_font_t will generate a Java Font class. The change is not specific for HarfBuzz, but will apply to all type names ending with _t.

@jwharm jwharm merged commit 9e4bbea into main Oct 28, 2023
@jwharm jwharm deleted the harfbuzz-type-names branch October 28, 2023 13:07
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.

1 participant