skosch / Crimson

The Crimson Text typeface
SIL Open Font License 1.1
529 stars 55 forks source link

Greek accented letters are missing inside \emph{} or \textbf{} commands #48

Open ralessi opened 8 years ago

ralessi commented 8 years ago

Thank you very much for providing such a beautiful font!

I noticed that Greek accented letters disappear inside \emph{} or \textbf{}. Try this for example:

\documentclass{article}
\usepackage{fontspec}
\usepackage{crimson}

\begin{document}
λέγων \emph{λέγων} \textbf{λέγων}
\end{document}
katef commented 8 years ago

Roman on the left, Bold on the right. What on earth happened to that accent!

g

ralessi commented 8 years ago

Well, further investingating this issue leads me to think that it may not be related to Crimson. If I run the above mwe through xelatex, I get this: xelatex But If I run it through lualatex (which I did in the first place), I get this: lualatex

Having said that, don't you find the acute above ε inside \textbf{} a bit forward?

katef commented 8 years ago

Yes, the accent is more than a bit forward! That's what I was posting my image to show.

My guess is that LuaLaTeX sees that the accent is entirely outside the glyph's bounding box, considered it an error, and perhaps opts to not render the glyph accordingly. That's just a guess, but this is definitely a bug in Crimson.

ralessi commented 8 years ago

Ok, I misunderstood what you meant, although it was very clear. So yes, what on earth happened to that accent,to say nothing about the one not showing up at all under lualatex!