Subscript: Sans Condensed: the vertical position of subscript text (as achieved in HTML using <sub>) is too high - it is aligned with the baseline instead of being just below it. Superscript: Sans, Serif, Sans Mono, Serif Condensed: the vertical position of superscript text (as achieved in HTML using <sup>) is too low - it is aligned with the baseline instead of being just above the top of the text. Sans Condensed: the vertical position of superscript text (as achieved in HTML using <sup>) is much too high - it is about four line-heights above the top of the text instead of being just above it. The HTML to reproduce all of the above problems (on both Windows XP and Fedora Core 3 using Firefox 1.0.7) is as follows: <html> <style type="text/css"> p{border-width:1px;border-style:dotted;} </style> <body> <p style="font-family:DejaVu Sans"> DejaVu Sans<sub>subscript</sub>ABCDEF<sup>superscript</sup>GHIJKL </p> <p style="font-family:DejaVu Serif"> DejaVu Serif<sub>subscript</sub>ABCDEF<sup>superscript</sup>GHIJKL </p> <p style="font-family:DejaVu Sans Mono"> DejaVu Sans Mono<sub>subscript</sub>ABCDEF<sup>superscript</sup>GHIJKL </p> <p style="font-family:DejaVu Sans Condensed"> DejaVu Sans Condensed<sub>subscript</sub>ABCDEF<sup>superscript</sup>GHIJKL </p> <p style="font-family:DejaVu Serif Condensed"> DejaVu Serif Condensed<sub>subscript</sub>ABCDEF<sup>superscript</sup>GHIJKL </p> </body> </html>
On my system, I have a similar problem: * Under Linux (Debian-based), subscript and superscript text is positioned fine. * Under Windows XP, only when using Firefox (since earlier versions; using 2.0 now): - Subscript text maybe seems a bit too low; subscript letters which fit in "x-height" lie below the baseline. - Superscript text is (wrongly) aligned with the baseline, just as Henry Oke described. This occurs with all fonts from DejaVu family, as well as with fonts from Bitstream Vera family.
Errata: after updating DejaVu fonts from 2.7 to 2.11, I have the much-too-high problem with Sans Condensed. To me it seems more than 5 line-heights above the baseline.
I've just committed a fix for Condensed Sans. FontForge seems to have scrambled those values for some reason. As for the superscript being too low or subscript being too high: I'm tempted to say that's a Firefox for Windows bug right now. I can't reproduce it with other programs, and Firefox in Linux shows it correctly.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.