[XeTeX] font shapes not defined resulting in accents too high?

Cyril Niklaus cynik at mac.com
Wed Jul 28 04:26:31 CEST 2004


Hi all,
I'm trying to typeset for my pleasure L'Etranger by Camus using XeTeX 
and Adobe Garmond as the font, but I ran across a problem, as the 
program tells me some font shapes are not defined. Thing is, they are 
defined in the preamble. Where is one to look for other places to 
define them? I'm tried using the font defs provided inthe example and 
once on this list, with similar error messages.
Is it because I use the book class?
Since the book is in french, I use the \usepackage[francais]{babel}, 
but when the fonts are substituted this is what I see:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ToC.tiff
Type: image/tiff
Size: 3230 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20040728/28e960a5/ToC.tiff
-------------- next part --------------
. Notice how far too high the accent is?

A bit lost here,
Cyril


The message I get is:

LaTeX Font Warning: Font shape `OT1/AdobeGaramondPro/bx/n' undefined
(Font)              using `OT1/cmr/m/n' instead on input line 57.

(./etranger-camus.toc) [1]

LaTeX Font Warning: Font shape `U/AdobeGaramondPro/m/sl' undefined
(Font)              using `U/AdobeGaramondPro/m/n' instead on input 
line 65.


LaTeX Font Warning: Font shape `OT1/AdobeGaramondPro/m/sl' undefined
(Font)              using `OT1/cmr/m/n' instead on input line 65.
----------------
The preamble:
\documentclass[12pt,a4paper]{book}
\usepackage[francais]{babel}
\parindent=0pt
% This is from the tiny-test.ltx file
%\DeclareFontFamily{U}{hoefl}{}
%\DeclareFontShape{U}{hoefl}{m}{n}%
%    {<-> "Hoefler\space Text"}{}
%\DeclareFontShape{U}{hoefl}{m}{it}%
%     {<-> "Hoefler\space Text\space Italic"}{}
%\DeclareFontShape{U}{hoefl}{bx}{n}%
%     {<-> "Hoefler\space Text\space Black"}{}
%\DeclareFontShape{U}{hoefl}{b}{n}%
%     {<-> ssub * hoefl/bx/n}{}
%\DeclareFontShape{U}{hoefl}{bx}{it}%
%     {<-> "Hoefler\space Text\space Black\space Italic"}{}
%\DeclareFontShape{U}{hoefl}{b}{it}%
%     {<-> ssub * hoefl/bx/it}{}
%\DeclareFontShape{U}{hoefl}{m}{sc}%
%     {<-> "Hoefler\space Text:Letter\space Case=Small\space Caps"}{}
%\renewcommand{\encodingdefault}{U}
%\renewcommand{\rmdefault}{hoefl}

% and this from the ML
\DeclareFontFamily{U}{AdobeGaramondPro}{}
\DeclareFontShape{U}{AdobeGaramondPro}{m}{n}%
      {<-> "Adobe\space Garamond\space Pro:+onum"}{}
\DeclareFontShape{U}{AdobeGaramondPro}{m}{it}%
      {<-> "Adobe\space Garamond\space Pro\space Italic"}{}
\DeclareFontShape{U}{AdobeGaramondPro}{bx}{n}%
      {<-> "Adobe\space Garamond\space Pro\space Bold"}{}
\DeclareFontShape{U}{AdobeGaramondPro}{b}{n}%
      {<-> ssub * AdobeGaramondPro/bx/n}{}
\DeclareFontShape{U}{AdobeGaramondPro}{bx}{it}%
      {<-> "Adobe\space Garamond\space Pro\space Bold\space Italic"}{}
\DeclareFontShape{U}{AdobeGaramondPro}{b}{it}%
      {<-> ssub * AdobeGaramondPro/bx/it}{}
\DeclareFontShape{U}{AdobeGaramondPro}{m}{sc}%
      {<-> "Adobe\space Garamond\space Pro:+smcp"}{}

\renewcommand*{\encodingdefault}{U}
\renewcommand*{\rmdefault}{AdobeGaramondPro}
\begin{document}



More information about the XeTeX mailing list