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

Have anyone tried out FreeType 2.10 version with color-layered outline glyphs? #2641

Closed
bsviglo opened this issue Jun 26, 2019 · 2 comments
Closed

Comments

@bsviglo
Copy link

bsviglo commented Jun 26, 2019

Sorry that I'm not following the issue guideline but I'd rather want to emphasize that using color glyphs may significantly improve overall look of the dear imgui UI.

https://www.freetype.org/

FreeType 2.10.0
2019-03-15
This release brings one notable feature, namely support for color-layered outline glyphs (for example, scalable emoji glyphs). Additionally, the API reference has been completely overhauled and modernized, as already announced...

@ocornut
Copy link
Owner

ocornut commented Jun 26, 2019

I haven't looked into this specifically, but need to mention that with some effort it is possible to use the AddCustomRectFontGlyph() / GetCustomRectByIndex() API to register rectangles into the atlas and blit custom graphics data mapped to characters. This is being used by some teams to use colorful icons.

I agree that wiring the necessary changes to allow using colored glyphs more naturally would be useful.

@ocornut
Copy link
Owner

ocornut commented May 24, 2021

Browsing old issue I found this which is now resolved by #3369 and the ImGuiFreeTypeBuilderFlags_LoadColor flag. Closing as solved.

@ocornut ocornut closed this as completed May 24, 2021
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