# [OS X TeX] Re: Hoefler...again

Casper Lassenius Casper.Lassenius at iki.fi
Thu Jul 29 05:09:54 EDT 2004

Adam,

Thanks for the info. I did switch to XeTeX, which seems to work well. Only a
couple of things took some work:

a) The input files need to be converted to Unicode for dashes etc. to work.
There seems to be an ongoing effort to make this easier / unnecessary(?).

b) The line start and ending swashes in the italic fonts are turned on by
default. These get activated when using \emph{}, which, at least for me, led
to quite silly looking text. I turned them off by using

\DeclareFontShape{U}{hoefler}{m}{it}%
{<-> "Hoefler\space Text\space Italic:Smart\space Swashes=!Line\space
Final\space Swashes,!Line\space Initial\space Swashes"}{}

instead of the declaration Bruno Voisin provided.

b) Using BibTeX for bibliography generation requires hand/script changes to
the generated .bbl file, e.g. for converting '--' in page ranges to the
corresponding Unicode character, and in my also case converting \em to
\itshape. The resulting Unicode .bbl file runs perfectly through XeTeX, of
course. I am working on a simple script to automate the changes needed for
using BibTeX with XeTeX. The issue is, of course, the same as for input
files in general, so a general solution to inputting "legacy" TeX code into
XeTeX probably would solve this problem as well.

c) \includegraphics does not (yet) support cropping.

Despite these small things, I found XeTeX to work well, and produce good
looking output (no surprise there!). Hoefler is a fine font.

Casper.

> From: Adam Lindsay <atl at comp.lancs.ac.uk>
> Date: Thu, 29 Jul 2004 09:20:35 +0100
> To: TeX on Mac OS X Mailing List <MacOSX-TeX at email.esm.psu.edu>, Casper
> Lassenius <Casper.Lassenius at iki.fi>
> Subject: Re: Hoefler...again
>
> TeX on Mac OS X Mailing List said this at Wed, 28 Jul 2004 20:00:01 -0400:
>
>> I have unsuccessfully tried to make Hoefler Text work in LaTeX. Having read
>> the archives, and tried both the .dfont->ttf->ttf2tex and the dfont->ptype1
>> route explained in Bruno Voisin's Font tutorial, I am beginning to be
>> desperate.
>>
>> My problem is the same as a previous poster's: lots of missing glyphs,
>> including ligatures, hyphens, quotes and numbers. The glyphs that do show up
>> *do* look very nice...
>
> I think the problem here is that the names of several glyphs (especially
> accented ones) have been renamed in the 10.3 version of Hoefler Text. The
> glyph formerly known as Adieresis in 10.2 and before is indexed as
> A_dieresis in 10.3's version of the .dfont.
>
> This means that the standard postscript encoding (.enc) files we use with
> TeX will miss their targets and result in the missing glyphs you've
> encountered.
>
> Workarounds include using an older version of Hoefler Text, hand-creating
> a "correct" encoding (not as tough as you'd think, and it's at least
> partly script-able), or (as has been discussed) trying out XeTeX.
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>  Adam T. Lindsay                      atl at comp.lancs.ac.uk
>  Computing Dept, Lancaster University   +44(0)1524/594.537
>  Lancaster, LA1 4YR, UK             Fax:+44(0)1524/593.608
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>