[lucida] Lucida OpenType installation problem

Bruno Voisin bvoisin at icloud.com
Tue Oct 14 00:56:47 CEST 2014


> Le 13 oct. 2014 à 23:40, Robert Almgren <almgren at cims.nyu.edu> a écrit :
> 
> Thanks very much. I will keep my fingers crossed!

Creating a file my-lucida.fontspec containing

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

and then writing

\setmainfont{my-lucida}

seems to work. However, creating a file with the more logical name LucidaBrightOT.fontspec and containing

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

and then writing

\setmainfont{LucidaBrightOT}

yields the error

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
./lucidaot.tex:21: LaTeX error: "kernel/key-unknown"
! 
! The key 'fontspec/Extension' is unknown and is being ignored.
! 
! See the LaTeX3 documentation for further information.
! 
! For immediate help type H <return>.
!...............................................  

I've no idea what's wrong: maybe it's because I have the fonts installed at the OS level already, which could create a conflict between loading Lucida Bright OT by font name and LucidaBrightOT.otf by file name; or I'm interpreting badly the instructions for .fontspec files in §6.2 of fontspec's doc.

In any case, I won't be able to test further, unfortunately. Hopefully Will will be able to shed some light on the matter.

Bruno


More information about the lucida mailing list