Skip to content

[DISCUSSION] Vector Fonts Support #1129

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

Open
SableRaf opened this issue May 31, 2025 · 3 comments
Open

[DISCUSSION] Vector Fonts Support #1129

SableRaf opened this issue May 31, 2025 · 3 comments
Labels
core enhancement New feature or request

Comments

@SableRaf
Copy link
Collaborator

SableRaf commented May 31, 2025

Note

This is a draft about better font support in Processing. This issue will be updated based on discussion and feedback from the community.

Currently Processing handles fonts only as bitmaps. It should use vector fonts.

Historically, OpenJDK has relied on ICU4J for Unicode support.

Variable fonts

It seems like OpenJDK has integrated Harfbuzz as a replacement for ICU4J, which has a number of benefits, including variable font support. More research is needed.

References

@SableRaf SableRaf converted this from a draft issue May 31, 2025
@Stefterv Stefterv added enhancement New feature or request core labels May 31, 2025
@graphicore
Copy link

Hi, following the discussion

@Stefterv
Copy link
Collaborator

Looking at the Javadoc for the jdk looks like getting vector glyphs from a font is already supported but it didn't become clear to me if setting the variable font parameters is supported

@SableRaf
Copy link
Collaborator Author

SableRaf commented Jun 1, 2025

I did a little bit of research as well.

It also looks like some version of Harfbuzz was integrated in JDK-8064530 back in 2015, following JEP 258.

The Harfbuzz integration in OpenJDK was updated to version 10.4.0 last month (JDK-8348597).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

3 participants