[XeTeX] Could not load both Bold and BoldItalic.

Andrea Franceschini therealmorpheu5 at gmail.com
Wed Dec 10 19:14:24 CET 2008


Hi all, sorry for the long time but I had been quite busy.

I set up a smaller example with only one failing font.
---------
\documentclass[12pt]{article}

\usepackage{lipsum}
\usepackage[T1]{fontenc}
\usepackage{graphicx, xunicode, xltxtra}

\setsansfont[Scale=MatchLowercase, Mapping=tex-text,
    BoldFont={HelveticaNeue-Bold}, BoldItalic={HelveticaNeue-BoldItalic},
    ItalicFont={HelveticaNeue-LightItalic}]{HelveticaNeue-Light}

\begin{document}
\begin{sffamily}
This is a test.

\textbf{As well as this!}

\textit{\lipsum[10]}

\textbf{\textit{\lipsum[11]}}

\end{sffamily}
\end{document}
---------
Running xelatex over this produces the pdf yet without the Italics.
Running it with -no-pdf and the nurring xdvipdfmx on the result gives
the following output
---------
DVI Comment:  XeTeX output 2008.12.10:1910
helvetica.xdv -> helvetica.pdf
[1<HelveticaNeue-Light(Helvetica
Neue:Light)@9.99pt<NATIVE-FONTMAP:HelveticaNeue-Light/H>
fontmap: HelveticaNeue-Light/H -> /home/morpheu5/.fonts/hll_____.pfb(Identity-H)

pdf_font>> Input encoding "Identity-H" requires at least 2 bytes.
pdf_font>> The -m <00> option will be assumed for
"/home/morpheu5/.fonts/hll_____.pfb".
(CID:HelveticaNeue-Light)
pdf_font>> Type0 font "/home/morpheu5/.fonts/hll_____.pfb"
cmap_id=<Identity-H,0> opened at font_id=<HelveticaNeue-Light/H,0>.
><HelveticaNeue-Bold(Helvetica Neue:Bold)@9.97pt<NATIVE-FONTMAP:HelveticaNeue-Bold/H>
fontmap: HelveticaNeue-Bold/H -> /home/morpheu5/.fonts/hlb_____.pfb(Identity-H)

pdf_font>> Input encoding "Identity-H" requires at least 2 bytes.
pdf_font>> The -m <00> option will be assumed for
"/home/morpheu5/.fonts/hlb_____.pfb".
(CID:HelveticaNeue-Bold)
pdf_font>> Type0 font "/home/morpheu5/.fonts/hlb_____.pfb"
cmap_id=<Identity-H,0> opened at font_id=<HelveticaNeue-Bold/H,1>.
><[/usr/share/texmf-dist/fonts/opentype/public/lm/lmroman12-regular.otf](:)@11.96pt<NATIVE-FONTMAP:[/usr/share/texmf-dist/fonts/opentype/public/lm/lmroman12-regular.otf]/H>
fontmap: [/usr/share/texmf-dist/fonts/opentype/public/lm/lmroman12-regular.otf]/H
-> /usr/share/texmf-dist/fonts/opentype/public/lm/lmroman12-regular.otf(Identity-H)

pdf_font>> Input encoding "Identity-H" requires at least 2 bytes.
pdf_font>> The -m <00> option will be assumed for
"/usr/share/texmf-dist/fonts/opentype/public/lm/lmroman12-regular.otf".

** NOTICE: This document contains a `Preview & Print only' licensed font **
(CID:LMRoman12-Regular)
pdf_font>> Type0 font
"/usr/share/texmf-dist/fonts/opentype/public/lm/lmroman12-regular.otf"
cmap_id=<Identity-H,0> opened at
font_id=<[/usr/share/texmf-dist/fonts/opentype/public/lm/lmroman12-regular.otf]/H,2>.
>]
otf_cmap>> Creating ToUnicode CMap for
"/usr/share/texmf-dist/fonts/opentype/public/lm/lmroman12-regular.otf"...
(CID:/home/morpheu5/.fonts/hll_____.pfb[WDWWZB+HelveticaNeue-Light][CIDFontType0])(CID:/home/morpheu5/.fonts/hlb_____.pfb[KOEHGN+HelveticaNeue-Bold][CIDFontType0])(CID:/usr/share/texmf-dist/fonts/opentype/public/lm/lmroman12-regular.otf[ZSOOVE+LMRoman12-Regular][CIDFontType0][2
glyphs][551 bytes])
Compression eliminated approximately 6044 bytes
12105 bytes written
---------
which I find pretty confusing. Can any of you find some hint?

-- 
Andrea


More information about the XeTeX mailing list