Package: ttf-linux-libertine
Version: 4.4.1-1

The ttf-linux-libertine package was recently upgraded from 4.1.8-1 to
4.4.1-1; something in the changes brought by this upgrade has broken
XeTeX's ability to use "fi" ligature in the bold version of the font.

A minimal example showing the problem is this:

vega david /tmp $ cat breakage0.tex
\font\thefont="Linux Libertine Bold"
\thefont fi
\bye

With Debian's current version of texlive-xetex (2007.dfsg.2-6), this
produces the following diagnostic (the warning part about the .map
file is irrelevant to the problem being discussed; the bad thing is
the bit about "Output file removed"):

vega david /tmp $ xetex breakage0   
This is XeTeXk, Version 3.141592-2.2-0.996-patch2 (Web2C 7.5.6)
 %&-line parsing enabled.
entering extended mode
(./breakage0.tex [1] )

** WARNING ** This .map file looks like a dvips format fontmap file.
** WARNING ** -- Current input buffer is: ASCII ASCII <ASCII.pfb
** WARNING ** -- Reading fontmap file stopped at: file="pdftex.map", line=6.

Output file removed.
Output written on breakage0.pdf (1 page).
Transcript written on breakage0.log.

(Indeed, no output file is produced.)  With a more recent version of
XeTeX than Debian's, the error is slightly more verbose, although
still unilluminating:

vega david /tmp $ xetex breakage0
This is XeTeXk, Version 3.1415926-2.2-0.999.2 (Web2C 7.5.7)
 %&-line parsing enabled.
entering extended mode
(./breakage0.tex [1]
** WARNING ** No Unicode mapping available: GID=2306, name=(none)
** WARNING ** Unable to read OpenType/TrueType Unicode cmap table.
** WARNING ** Failed to load ToUnicode CMap for font "LinLibertineB"
** ERROR ** Invalid glyph index (gid 2306)

Output file removed.
 )
Error 256 (driver return code) generating output;
file breakage0.pdf may not be valid.
Transcript written on breakage0.log.

If "fo" (say) is used instead of "fi", or if "Linux Libertine" is used
instead of "Linux Libertine Bold", or if the font is downgraded to
4.4.1-1, then a correct output file is produced.

I lack the sufficient expertise to determine whether the problem lies
in the font or in XeTeX, but since XeTeX is one of the main targets
for use of the font, I'm reporting on ttf-linux-libertine so that the
maintainer can examine whether s/he can find anything remotely
unusual.

I have been unable to find any difference in the bold "fi" ligature
between versions 4.1.8-1 and 4.4.1-1.  Nor do I know what "gid 2306"
is about (gid is "glyph ID", I suspect, but what is that number
against?).

-- 
     David A. Madore
   ( http://www.madore.org/~david/ )



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to