On 04.09.14 Norman Ramsey ([email protected]) wrote: > HP wrote > > On 01.09.14 Norman Ramsey ([email protected]) wrote:
Hi,
> > > 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>
>
Did so as described:
hille@sid:~ $ lualatex a.tex
This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/Debian) (rev 4971)
restricted \write18 enabled.
(./a.tex
LaTeX2e <2014/05/01>
Babel <3.9k> and hyphenation patterns for 14 languages loaded.
<snip>
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./a.aux))
306 words of node memory still in use:
3 hlist, 1 vlist, 1 rule, 2 glue, 1 kern, 4 attribute, 43 glue_spec, 4
attribute_list, 1 write nodes
avail lists: 2:29,3:2,4:22,5:2,6:11,7:1,9:6
</opt/Adobe/Reader9/Resource/Font/MyriadPro-Regular.otf>
Output written on a.pdf (1 page, 2682 bytes).
Transcript written on a.log.
Generated pdf file attached. Does this convice you that the bug is
solved in unstable?
Hilmar
--
sigmentation fault
a.pdf
Description: Adobe PDF document
signature.asc
Description: Digital signature

