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

Dear Imgui with Signed Distance Fonts #889

Closed
Flix01 opened this issue Oct 26, 2016 · 2 comments
Closed

Dear Imgui with Signed Distance Fonts #889

Flix01 opened this issue Oct 26, 2016 · 2 comments

Comments

@Flix01
Copy link

Flix01 commented Oct 26, 2016

I've made a basic attempt to develop a SDF generator for Dear ImGui.

Despite the horrible quality of the fonts I was able to generate, I've discovered that it can be done without any changes to the internal code (and minimal changes to the binding file, e.g. imgui_impl_glfw.cpp)!

If somebody's interested, here is a gist I've made.

I still have to understand if signed distance fonts for ImGui are a good thing or not... 🤕

@Flix01
Copy link
Author

Flix01 commented Oct 29, 2016

I've ended up updating the gist to use the same approach used by freetype-gl.
It's more robust and works pretty well.

Other issues that might be interested: #745 and #618.

[Edit:] Added this .gif (but its scaling makes it look a bit blurrier than normal 😞):
imgui_with_sdf

@Flix01
Copy link
Author

Flix01 commented Jan 29, 2017

Closing this. It was not a real issue...

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

No branches or pull requests

1 participant