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

Some BLFont APIs belong to BLFontFace #69

Open
neslib opened this issue Mar 28, 2020 · 1 comment
Open

Some BLFont APIs belong to BLFontFace #69

neslib opened this issue Mar 28, 2020 · 1 comment

Comments

@neslib
Copy link

neslib commented Mar 28, 2020

There are some BLFont API's that don't apply to a specific font, but to the face used by the font.

For example, the BLFont::mapTextToGlyphs API is independent of the font, but only depends on the face that is used by the font.

It's fine to have this API at the BLFont level, but it would be nice to have a BLFontFace::mapTextToGlyphs API as well, so we can use it without having to create a BLFont instance.

@kobalicek
Copy link
Member

This is right. I will definitely think of this in upcoming weeks as text is now a priority feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants