sebschub / FontPro

LaTeX support for Adobe's Pro opentype fonts: Minion Pro, Myriad Pro, Cronos Pro and possibly more
226 stars 42 forks source link

Some extended unicode characters not drawing. #36

Closed jeffutter closed 9 years ago

jeffutter commented 9 years ago

I am having some problems with unicode characters not appearing. I am using XeLaTeX, and as far as I understand I should be able to have unicode in the body. When using Minon Pro via this repo some characters like ⅓ works fine as does \epsilon however ♭ and ♮ draw as a box with an x through it.

I have checked the otf's and they include the characters as U+266D and U+266E but when I render my document they do not work. I have tried other fonts such as DejaVuSans and that draws them correctly.

Any thoughts?

sebschub commented 9 years ago

The packages in FontPro are not meant for XeLaTeX or LuaLaTeX, in particular, the symbol ♭ and ♮ are removed in the conversion process (look at the generated pfb). You can use the fonts directly with fontspec and mathspec, a perfect math set-up is difficult, though (but I have no experience with it).

The symbols you are looking for should be available via \flat and \natural.