[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#760205: texlive-luatex: luatex otfload ignores /etc/fonts/conf.d



 > On 01.09.14 Norman Ramsey (nr@cs.tufts.edu) wrote:
 > 
 > Hi,
 > 
 > > Package: texlive-luatex
 > > Version: 2012.20120611-5
 > > Severity: important
 > > 
 > Do you have eventually a Debian unstable at hand you could you test
 > if the problem is still in unstable?

I suppose I could try to create one in a virtual machine, but it will
take some time---I start teaching next week.

 > > Here is a minimal example that fails with lualatex but succeeds
 > > with xelatex:
 > > 
 > >   \documentclass{article}
 > >   \usepackage{fontspec}
 > >   \setmainfont{Myriad Pro}
 > >   \begin{document}
 > >   Fail
 > >   \end{document}
 > > 
 > I get always:
 > 
 > luaotfload | db : Reload initiated (formats: otf,ttf,ttc,dfont);
 > reason: "Font MyriadPro not found.".
 > 
 > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 > !
 > ! fontspec error: "font-not-found"
 > !
 > ! The font "MyriadPro" cannot be found.
 > !
 > ! See the fontspec documentation for further information.
 > !
 > ! For immediate help type H <return>.
 > !...............................................
 > 
 > l.3   \setmainfont{Myriad Pro}
 > 
 > I guess I have to install some additional Debian packages. Could you
 > tell me, which ones?

If you install Adobe Reader, the fonts will appear in /opt.
It is then necessary to place a file in /etc/fonts/conf.d, such as the
following:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<dir>/opt/Adobe/Reader9/Resource/Font</dir>
</fontconfig>



Norman


Reply to: