From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5d56557488a1ffb57a230ecabaef1c84@coraid.com> From: erik quanstrom Date: Thu, 15 Mar 2007 12:27:07 -0500 To: 9fans@cse.psu.edu MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Subject: [9fans] font height. Content-Transfer-Encoding: quoted-printable Topicbox-Message-UUID: 2472b574-ead2-11e9-9d60-3106f5b1d025 code2000 and cyberbit both have accented characters that are taller than the nominal height of the font, like =C3=93. unfortunately the draw library, the frame library, rio and acme are not aware that different characters in a font may have different heights. thus characte= rs like =C3=93 are chopped off at the knees. fonts like pelm solve this by=20 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=20 _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