SHADERed icon indicating copy to clipboard operation
SHADERed copied to clipboard

Problems with different fonts

Open ghost opened this issue 5 years ago • 1 comments

image I get a problem with font icons in pipeline menu. Font: TurretRoad-Light. I think solution of this problem is a change standard font icons to .png format

ghost avatar Nov 05 '20 16:11 ghost

Not sure how well the .png font would work with ImGui + .ttf is scalable.. By the way, are you trying to replace the icon font or the text/UI font?

To replace UI/text font, you can simply do that through the options. Here's your TurretRoad-Light font with properly displayed icons: image

To use custom icons, replace icofont.ttf file with your own icon font. Though, that font has to have these characters defined: https://github.com/dfranx/SHADERed/blob/master/src/SHADERed/UI/Icons.h

Though, if you are trying to replace the icon font, not sure how the icons in the toolbar still display properly...

dfranx avatar Nov 08 '20 15:11 dfranx