fontspec icon indicating copy to clipboard operation
fontspec copied to clipboard

fontspec can't find font with curly quotes in embedded description

Open ksch1186 opened this issue 3 years ago • 0 comments
trafficstars

Description

I'm trying to use fonts Petrona*ttf, which fails with a message font can't be found.

\setmainfont{Petrona}[ UprightFont = *-Regular, ItalicFont = *-Italic, BoldFont = *-Bold, BoldItalicFont = *-BoldItalic, Extension = .ttf ]

luaotfload-tool -find DOES find the font where it's supposed to be.

otfinfo -i shows me that the "description" field contains in its prose a few words contained in curly quotes.

If I edit the description field and remove these quotes using fontforge and install a newly generated font in place of the original everything works as it should: font found, document processed w/o any problems.

The original was downloaded from google fonts some time ago.

Check/indicate

  • [?] Relevant for XeTeX (NOT TESTED)
  • [x] Relevant for LuaTeX
  • [x ] Issue tracker has been searched for similar issues? (BRIEFLY)
  • [ ] Links to <tex.stackexchange.com> discussion if appropriate

In case it's a fontspec issue and the current version of the 4 fonts at google have been changed I still have the originals.

thanks

ksch1186 avatar Mar 31 '22 15:03 ksch1186