[tex-live] Font features linked with fontspec-preparse-external apparently broken in fontspec

Ulrike Fischer news3 at nililand.de
Wed Oct 15 12:37:15 CEST 2014


Am Wed, 15 Oct 2014 11:49:01 +0200 schrieb Bruno Voisin:

> After more trial-and-error, it turns out everything works provided
> the font names are included in brackets, 

I don't think that the brackets are the main point: You are now
using in the \setmainfont command an alias (family! not font!) name,
and setup the upright font also in the \defaultfontfeature. 

> \defaultfontfeatures[LucidaBrightOT]
>   {
>    UprightFont = [LucidaBrightOT.otf],
>    BoldFont = [LucidaBrightOT-Demi.otf],
>    ItalicFont = [LucidaBrightOT-Italic.otf],
>    BoldItalicFont = [LucidaBrightOT-DemiItalic.otf]
>   }
> 

It works for me also without brackets if I use the ExternalLocation
key:

%in myfam.fontspec and called as \setmainfont{myfam}

\defaultfontfeatures[myfam]
{
  Extension=.otf, %not needed but doesn't do harm here
  ExternalLocation,
  Color=Blue,
  UprightFont=texgyreadventor-regular,
  BoldFont=texgyreadventor-bold,
  ItalicFont=texgyreadventor-italic,
  BoldItalicFont=texgyreadventor-bolditalic
}

-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/



More information about the tex-live mailing list