[Qt-interest] System Fonts in QFontComboBox
Robert Hairgrove
evorgriahr at hispeed.ch
Sun May 16 09:40:17 CEST 2010
Paul England wrote:
> Okay, wasn't sure how to write the subject.
> I have a QFontComboBox that doesn't nothing fancy. When I compile and
> run on my
> system, it reads all my system fonts just fine. When I use my offices
> cross-compile
> environment (which incidentally doesn't have X, corefonts, or any of
> that jazz) I get
> a much smaller list of usable fonts.
>
> Seems a little silly. Maybe I'm just missing something, but shouldn't
> reading the
> system fonts be done in it's entirety at runtime?
>
> Thanks
It is being done at runtime ... you just said that your second machine
doesn't have as many fonts installed as the first one. Qt can only offer
fonts in the QFontComboBox (or the QFontDialog) which are actually
installed in the system.
Or did you mean to say "at compile time"?
More information about the Qt-interest-old
mailing list