[KDE Dot News]
 faq
 flatforty
 contribute
 subscribe
 configure
 search
 rdf

 main
 parent
 thread


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.
  Related Links
 ·   Articles on KDE Public Relations and Marketing
 ·   Also by Eimai
 ·   Contact author

Thread Threshold:

The Fine Print: The following comments are owned by whomever posted them.
( Reply )

  "We were risking our release, Simon loses way too much time on Klondike." -- Stephan Kulow
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 ]