You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to use the default font but multiply the size so it works with retina/high resolution screens. I'm curious what people think about adding that as a parameter. AddFontDefault already takes an optional ImFontConfig param but I'm not seeing it used anywhere. I don't know if it would make sense to try pass the font size in via the config (which looks like it would be overwritten during the call to AddFontFromMemoryCompressedBase85TTF) or just add a new parameter with a default value of 13 to preserve the current behavior.
I'm happy to open up a PR once there's an idea of the best path forward.
The text was updated successfully, but these errors were encountered:
@drewish please use the workaround linked above. If you are trying to solve Hi-DPI support then it should eventually be handled more naturally by the library and I'd prefer not encouraging people to rescale the default font (which isn't really meant to be rescaled).
I'd like to use the default font but multiply the size so it works with retina/high resolution screens. I'm curious what people think about adding that as a parameter.
AddFontDefault
already takes an optionalImFontConfig
param but I'm not seeing it used anywhere. I don't know if it would make sense to try pass the font size in via the config (which looks like it would be overwritten during the call toAddFontFromMemoryCompressedBase85TTF
) or just add a new parameter with a default value of 13 to preserve the current behavior.I'm happy to open up a PR once there's an idea of the best path forward.
The text was updated successfully, but these errors were encountered: