[XeTeX] XeTeX 0.994a and fontspec 1.10 on Mac OS X and Lucida Sans fonts from Java
Peter Dyballa
Peter_Dyballa at Web.DE
Wed Jun 28 02:03:07 CEST 2006
Hello!
I am not sure whether my printer is now broken, or pdfTeX, or the way
Mac OS X 10.4.6 prints, but the Type 3 font (dijkstra) I use for my
address block in personal letters comes out printed with filled areas
and the glyphs do not stick to the baseline. On screen it's OK,
except in Adobe Reader 7 (tooltips show some nonsense as my eMail
address).
So I tried XeLaTeX -- on screen and on paper perfect (and in Adobe
Reader, too), maybe because a TTF version of dijkstra is used. But
the real problem is with the Lucida Sans family of fonts that comes
with others with Java (/System/Library/Frameworks/JavaVM.framework/
Versions/{1.3.1,1.4.2,1.5.0}/Home/lib/fonts/):
\ifdefined\XeTeXversion
\usepackage{fontspec,xltxtra,xunicode}%
\tracinglostchars=2
% \defaultfontfeatures{Mapping=tex-text}
% \setromanfont{LMRoman10-Regular}
% \setromanfont{Cardo}
\setromanfont[Mapping=tex-text]{LucidaBright}
% \setromanfont[Mapping=tex-text]{NewCenturySchlbk-Roman}
\setmonofont{LucidaSans-Typewriter}
% \setsansfont[Mapping=tex-text]{LucidaSans}
%% \setsansfont[Mapping=tex-text]{Lucida Sans}
%% \setsansfont[Mapping=tex-text]{Lucida Sans Regular}
\setsansfont[Mapping=tex-text]{AntiqueOlive}
% \setsansfont[Mapping=tex-text]{ITC Mona Lisa}
% \setsansfont[Mapping=tex-text]{MonaLisa-Recut}
\else
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
%-- \usepackage[utf8]{inputenc}
\usepackage{textcomp}
% \usepackage{eurofont,graphicx,lucida}
\usepackage{lucida}
\fi
\usepackage[ngerman]{babel}
LucidaSans-Typewriter and Lucida Bright are fine, but Lucida Sans
leads to:
fontspec.cfg loaded.
(/usr/local/teTeX/share/texmf.local/tex/xelatex/fontspec/fontspec.cfg))
(/usr/local/teTeX/share/texmf.local/tex/xelatex/xltxtra/xltxtra.sty
(/usr/local/teTeX/share/texmf.tetex/tex/latex/etex/etex.sty)
(/usr/local/teTeX/share/texmf.local/tex/latex/base/fixltx2e.sty))
(/usr/local/teTeX/share/texmf.local/tex/xelatex/xunicode.sty)
! Cannot use \XeTeXOTcountfeatures with Lucida Sans Demibold; not an
OpenType Layout font.
\zf at check@ot at feat ...OTcountfeatures \zf at basefont
\c at zf@script
\c at zf@languag...
l.27 \setsansfont[Mapping=tex-text]{LucidaSans}
! Cannot use \XeTeXOTfeaturetag with Lucida Sans Demibold; not an
OpenType Layout font.
\iterate ...ifnum \XeTeXOTfeaturetag \zf at basefont
\c at zf@script
\c at zf@languag...
(That makes 100 errors; please try again.)
There is also amongst the PostScript 3 fonts a problem: MonaLisa-
Recut is the PostScript name, ITC Mona Lisa is the family name. When
I use the family name I get complaints like (only one regular variant
exist):
fontspec.cfg loaded.
(/usr/local/teTeX/share/texmf.local/tex/xelatex/fontspec/fontspec.cfg))
(/usr/local/teTeX/share/texmf.local/tex/xelatex/xltxtra/xltxtra.sty
(/usr/local/teTeX/share/texmf.tetex/tex/latex/etex/etex.sty)
(/usr/local/teTeX/share/texmf.local/tex/latex/base/fixltx2e.sty))
(/usr/local/teTeX/share/texmf.local/tex/xelatex/xunicode.sty)
! Font \zf at basefont="ITC Mona Lisa" at 10.95pt not loadable:
installed font not
found.
\zf at fontspec ...ntname \zf at suffix " at \f at size pt
\fi
\zf at set@font at type \zf at ...
l.29 ...tsansfont[Mapping=tex-text]{ITC Mona Lisa}
! Undefined control sequence.
\zf at set@font at type ...onttype \zf at basefont \zf at tfm
\or \zf at atsuitrue
\ifnum \...
l.29 ...tsansfont[Mapping=tex-text]{ITC Mona Lisa}
! Font \@tempfontb="ITC Mona Lisa" at 10.95pt not loadable:
installed font not
found.
\\zf at make@font at shapes ...f at suffix " at \f at size pt
\edef \@tempb
{\fontname \...
l.29 ...tsansfont[Mapping=tex-text]{ITC Mona Lisa}
! Font \@tempfonta="ITC Mona Lisa" at 10.95pt not loadable:
installed font not
found.
\\zf at make@font at shapes ...f at suffix " at \f at size pt
\edef \@tempa
{\fontname \...
l.29 ...tsansfont[Mapping=tex-text]{ITC Mona Lisa}
! Font \@tempfontb="ITC Mona Lisa/B" at 10.95pt not loadable:
installed font no
t found.
\\zf at make@font at shapes ...f at suffix " at \f at size pt
\edef \@tempb
{\fontname \...
l.29 ...tsansfont[Mapping=tex-text]{ITC Mona Lisa}
! Font \@tempfonta="ITC Mona Lisa" at 10.95pt not loadable:
installed font not
found.
\\zf at make@font at shapes ...f at suffix " at \f at size pt
\edef \@tempa
{\fontname \...
l.29 ...tsansfont[Mapping=tex-text]{ITC Mona Lisa}
! Font \@tempfontb="ITC Mona Lisa/I" at 10.95pt not loadable:
installed font no
t found.
\\zf at make@font at shapes ...f at suffix " at \f at size pt
\edef \@tempb
{\fontname \...
l.29 ...tsansfont[Mapping=tex-text]{ITC Mona Lisa}
! Font \@tempfonta="ITC Mona Lisa" at 10.95pt not loadable:
installed font not
found.
\\zf at make@font at shapes ...f at suffix " at \f at size pt
\edef \@tempa
{\fontname \...
l.29 ...tsansfont[Mapping=tex-text]{ITC Mona Lisa}
! Font \@tempfontb="ITC Mona Lisa/BI" at 10.95pt not loadable:
installed font n
ot found.
\\zf at make@font at shapes ...f at suffix " at \f at size pt
\edef \@tempb
{\fontname \...
l.29 ...tsansfont[Mapping=tex-text]{ITC Mona Lisa}
(/usr/local/teTeX/share/texmf.tetex/tex/generic/babel/babel.sty
I have put the versions I use into /Library/Fonts. The fontconfig
systems knows the font locations in /System/... because I can see
fonts.cache-1 files.
(It's also a nice exercise to make a LaTeX class file, from KOMA
family, with font loading work in both worlds.)
--
Greetings
<]
Pete o __o |__ o recumbo
___o /I -\<, |o \ -\),-% ergo sum!
___/\ /\___./ \___...O/ O____.....`-O-'-()--o_________________
More information about the XeTeX
mailing list