faq
flatforty
contribute
subscribe
configure
search
rdf
main
parent
thread
|
Re: unicode
by Carsten Niehaus on Thursday 01/Feb/2007, @01:53
|
In the first version we used the Unicode-version. But on many systems there are fonts installed which do NOT ship that symbol. Instead of a nice symbol they got a square.
That is now one year ago and the situation still didn't change. We could force certain fonts or test if the symbol is included in the font (and if not use '->' as a fallback).
Are you willing to send me a patch or are you just trolling? |
|
|
The Fine Print: The following comments
are owned by whomever posted them.
( Reply )
|
Re: unicode
by Eimai on Thursday 01/Feb/2007, @05:19
|
If you want to look for code that tests if a glyph is in the font, take a look at the password box that now tests if a certain black circle is in the font and otherwise display a * IIRC.
But please do something like this, the "->" just looks clumsy, especially because the "-" and ">" don't vertically align properly. You should allow that users enter "->" of course.
And btw, situation has changed a bit since last year, since many distros have switched from bitstream vera to dejavu as their default font, and the latter has the arrow symbol. Also, testing a bit with Qt4 shows that the font substitution algorithms have improved since Qt3. So if one font has the arrows, it should be able to display them. If you don't have DejaVu, it should be able to pick it up from Arial from MS corefonts for example (that's at least how Qt4 does it here when I uninstall DejaVu). I would safely say that most users have at least one font with the arrows installed these days, and in that case Qt4 will show one for whatever font you have picked.
|
[
Reply To This | View ]
|
The Fine Print: The previous
comments are owned by whomever posted them.
( Reply )
|
|