|
|
Home » U++ Library support » RichText,QTF,RTF... » Using Qtf forgets control font
|
|
|
|
|
|
|
|
Re: Using Qtf forgets control font [message #18113 is a reply to message #18087] |
Wed, 10 September 2008 20:46 |
|
mirek
Messages: 14039 Registered: November 2005
|
Ultimate Member |
|
|
cbpporter wrote on Wed, 10 September 2008 00:07 | I tested under Win and rounding seems OK but must be done in all conversion functions. Must test under Linux too.
I noticed that for testing purposes is is a fair assessment to consider StdFont as Arial.
|
Nope, I Win32 it is taken from the system, in XP it is Tahoma (in older Win, it is MS Sans Serif).
Quote: |
Does this apply to X11 also?
|
It is also taken in X11. Anyway, in X11, "system" font usually is the same font chosen for "Arial".
Quote: |
And if for some strange reason the only font that I have is Wingdings, will StdFont default to Wingdings?
|
If Wingdings are set as system font, then yes:)
However, you would not be able to start U++ app without "three basic fonts" - Arial, Roman, Courier. On Win32 they are required. (and on X11, equivalents are always defined in fontconfig).
Mirek
|
|
|
|
|
|
|
|
|
Re: Using Qtf forgets control font [message #18160 is a reply to message #18142] |
Sat, 13 September 2008 19:19 |
cbpporter
Messages: 1406 Registered: September 2007
|
Ultimate Contributor |
|
|
I finally found the bug. It is really stupid actually. My fault.
I spent almost two hours removing classes and files one by one so that I could create a small test package. The bug just wouldn't go away, even when all I had were two classes with 5 lines each, just doing some simple layouting.
Then I found it! My bottom frame class was in it's own file and somewhere in that .cpp between function definitions was a:
That little line than must have been left over form earlier testing caused all the exaggerated font zooming. It is really funny actually, if you don't consider the time went into investigating this.
Anyway, false alarm. Need to be more careful with such dangerous thing like ScreenDraw. Now I can get back to solving my real font issues, like finding a replacement for ScreenDraw for starters.
|
|
|
Goto Forum:
Current Time: Fri Sep 20 14:29:53 CEST 2024
Total time taken to generate the page: 0.04045 seconds
|
|
|