khaledhosny / luaotfload

Moved to https://github.com/latex3/luaotfload
23 stars 15 forks source link

EB Garamond Italic capital umlauts #35

Closed hennigs closed 12 years ago

hennigs commented 12 years ago

Using EB Garamond Italic (https://github.com/georgd/EB-Granjon), capital umlauts Ä and Ö come out with dots shifted horizontally. I cannot observe the issue when using the font in Wordpad.

\listfiles \documentclass{article} \usepackage{fontspec} \defaultfontfeatures{Ligatures=TeX} \setmainfont[ItalicFont=EBGaramondItalic]{EB Garamond} \begin{document} \itshape ABCDEFGHIJKLMNOPQRSTUVWXYZ\par abcdefghijklmnopqrstuvwxyz äöüß ÄÖÜ\par 0123456789 €\$&\%/()[]{} !.?,;.: - -- ---\par \end{document}

georgd commented 12 years ago

This is not an issue of luaotfload but of EB Garamond italic (and perhaps Wordpad!). Uppercase diacritics haven’ŧ been drawn yet for the italic nor have anchors been set properly to uc glyphs. The present ones are just the result of simply slanting the whole Garamond font. Why wordpad shows them properly is rather questionable.

EB Garamond Italic is very early in development so it would make sense to ask over there before reporting bugs to other software.

hennigs commented 12 years ago

I have actually considered filing the issue against EB-Granjon. But after cross-checking with Wordpad I figured it's a luaotfload problem. Now that the reason for bad uppercase diacritics is clear -- no bug, but WIP -- are you still interested in an issue report over at EB-Granjon?

georgd commented 12 years ago

At the moment I don’t think it makes much sense as I’m clearly aware of not having touched this yet :) On the other hand I’d be interested how you got Wordpad to “repair” this.

hennigs commented 12 years ago

Here's how I checked EB Garamond Italic in Wordpad:

  1. Start Wordpad.
  2. Copy the text from the code sent in the original mail into the empty Wordpad document.
  3. Press CTRL+A to select all text in the Wordpad document.
  4. Select EB Garamond in the font selection drop down box.
  5. Press the 'K' button in the symbol panel to make all text italic.

Voilà! Even at large zoom I cannot see bad diacritics.

System is Windows 7 Professional, x64

georgd commented 12 years ago

I can’t reproduce this behaviour in WinXP, I don’t have Win7. Is it possible that wordpad ignored the installed italic font and did an automated slant of the roman?

hennigs commented 12 years ago

Checking the ampersand and 'h' glyphs reveals that it's indeed the slanted roman font I'm looking at. Sorry, I should have seen that earlier. For other fonts, however, Wordpad does use the correct italic font. So, Wordpad seems to be missing the link between EB Garamond and EB Garamond Italic. Though, some kind of link must be present. In the font selection drop down box, where font names are shown in their own font, the string 'EB Garamond' is shown in italics. But there's no other entry for 'EB Garamond Italic' or 'EB Granjon'.