[KDE Dot News]
 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?
  Related Links
 ·   Articles on KDE Public Relations and Marketing
 ·   Also by Carsten Niehaus
 ·   Contact author

Thread Threshold:

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 )

  "That's something I don't know." -- David Faure
KDE®, "K Desktop Environment", "KDE Dot News", "got the dot?" and the KDE Logo® are trademarks or registered trademarks of KDE e.V. in the European Union, the United States and other countries. All other trademarks and copyrights on this page are owned by their respective owners. Comments are owned by the poster. The rest: Copyright © 2000-2008 KDE e.V. for The KDE Project. For further information or comments on this site, please contact the Webmaster.
[ home | post article | flat forty | subscribe | search | rdf ]