[Qt-interest] System Fonts in QFontComboBox
Paul England
pengland at cmt-asia.com
Mon May 17 01:23:48 CEST 2010
Sorry if that wasn't clear.
I'm compiling on 2 different boxes, running one *one* with a different
set of fonts in the QFontDialog
which seems dependent on which machine it was compiled on.
> 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"?
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
More information about the Qt-interest-old
mailing list