On 04/22/2013 07:08 PM, Ken Thomases wrote:
I can't speak to how Windows would render it, but one such font is Zapfino. It's an "exuberant" calligraphic font with lots of flourishes, some of which have strokes extending into the line above or below. http://en.wikipedia.org/wiki/Zapfino https://www.google.com/images?q=zapfino -Ken
I have never known about this font -- very stylistic indeed. :)
While there are plenty of strokes that go well above the cap height or below the baseline, the Win Ascent and Win Descent values (which are defined as yMax for all glyphs and -yMin for all glyphs, respectively) in the metric tables are valid - none of the glyphs violate these limits, so the patch doesn't affect this (correctly-formatted) font.
I loaded it up in Wine's Notepad, both with and without my patch, and took screenshots of the output: http://cfsworks.com/files/images/screenshots/zapfino_wine_unpatched.png http://cfsworks.com/files/images/screenshots/zapfino_wine_patched.png
I even did a pixel-by-pixel comparison: they render the same!
Sadly I can't make any comparisons to how Windows would handle the font. My Win XP VM complains about the ttf being corrupt. Is there a similar font that will work on Windows that I could try?
Thanks, Sam