* [9fans] font height.
@ 2007-03-15 17:27 erik quanstrom
0 siblings, 0 replies; only message in thread
From: erik quanstrom @ 2007-03-15 17:27 UTC (permalink / raw)
To: 9fans
code2000 and cyberbit both have accented characters that are
taller than the nominal height of the font, like Ó. unfortunately
the draw library, the frame library, rio and acme are not aware that
different characters in a font may have different heights. thus characters
like Ó are chopped off at the knees. fonts like pelm solve this by
compressing the height of accented caps, an unattractive but effective
solution.
the obvious place to start in helping libdraw understand different
letter heights would be in in libdraw/stringwidth.c. the function
_stringnwidth, should be replaced with _stringnsize, returning a Point.
but that's the easy part! rio and acme have fine-tuned drawing routines
that make the assumption that fonts are fixed-height.
- erik
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-03-15 17:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-15 17:27 [9fans] font height erik quanstrom
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).