What font format do I need to load them in css?
-
wrote on 20 Apr 2017, 01:12 last edited by
does anybody know what format qt uses for fonts?
I would like to include a compatible format font in my resources so I can directly load it from css without having to convert it. -
does anybody know what format qt uses for fonts?
I would like to include a compatible format font in my resources so I can directly load it from css without having to convert it.wrote on 20 Apr 2017, 04:08 last edited byTrueType Fonts (*.ttf) did always work for me on different platforms
-
wrote on 20 Apr 2017, 17:56 last edited by
well I can't load .ttf files from qss without converting them in code first.
-
well I can't load .ttf files from qss without converting them in code first.
@Shadowblitz16 Convert to what? Or do you mean you first need to store the fonts from your resource file as files somewhere?
-
well I can't load .ttf files from qss without converting them in code first.
wrote on 21 Apr 2017, 05:14 last edited byIf it's a custom font you have to embed and load it into your app to use it.
-
wrote on 21 Apr 2017, 19:21 last edited by
well I did include it in my resources.
but I was asking to see if I could convert it into a qss compatible format so I didn't need to load it.
anyways thanks. I will just load my ."ttf" file.
1/6