Debian Bug report logs - #578141
debian-specific wrong renaming of this font causes XeTeX problems

version graph

Package: ttf-linux-libertine; Maintainer for ttf-linux-libertine is (unknown);

Reported by: Michael Stapelberg <michael+db20090501@stapelberg.de>

Date: Sat, 17 Apr 2010 09:12:05 UTC

Severity: important

Found in version linux-libertine/4.4.1-4

Fixed in version linux-libertine/4.7.5-1

Done: Christian Perrier <bubulle@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Fonts Task Force <pkg-fonts-devel@lists.alioth.debian.org>:
Bug#578141; Package ttf-linux-libertine. (Sat, 17 Apr 2010 09:12:08 GMT) (full text, mbox, link).


Acknowledgement sent to Michael Stapelberg <michael+db20090501@stapelberg.de>:
New Bug report received and forwarded. Copy sent to Debian Fonts Task Force <pkg-fonts-devel@lists.alioth.debian.org>. (Sat, 17 Apr 2010 09:12:08 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Michael Stapelberg <michael+db20090501@stapelberg.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: debian-specific wrong renaming of this font causes XeTeX problems
Date: Sat, 17 Apr 2010 11:09:44 +0200
Package: ttf-linux-libertine
Version: 4.4.1-4
Severity: important

In #523186, a patch was introduced which renames LinLibertine_Re.ttf to
"Linux Libertine O" (check with fontforge
/usr/share/fonts/truetype/linux-libertine/LinLibertine_Re.ttf). Note that
the truetype font (.ttf) was renamed!

When downloading Linux Libertine in the same version (4.4.1) from sourceforge,
you get a tgz containing LinLibertine_Re-4.4.1.otf (name "Linux Libertine O")
and LinLibertine_Re-4.4.1.ttf (name "Linux Libertine"). In my opinion, bug
#523186 was fixed in a wrong way (by renaming the ttf to the otf name instead
of just including the otf fonts).

Now consider the following XeTeX document (say, mwe.tex):

\documentclass{scrartcl}
\usepackage{xltxtra}
\setmainfont{Linux Libertine}
\begin{document}
test
\end{document}

When running "xelatex mwe.tex" with  the ttf-linux-libertine package, you get
the following error:

kpathsea: Invalid fontname `Linux Libertine', contains ' '

! Font \zf@basefont="Linux Libertine" at 10.0pt not loadable: Metric (TFM) file
 or installed font not found.
 \zf@fontspec ...ntname \zf@suffix " at \f@size pt
                                                   \unless \ifzf@icu \zf@set@...
l.3 \setmainfont{Linux Libertine}

When replacing the ttf files with the original ones from sourceforge, it works
fine. So, please do not include the patch renaming this font any longer, it
breaks documents.

PS: There later was a similar bug, #511145, which was "fixed" by applying a
workaround in fontconfig. I think XeTeX does not use fontconfig and thus
requires the font name to actually be correct.

-- Package-specific info:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                         Version                      Description
+++-============================-============================-========================================================================
ii  fontconfig                   2.6.0-4                      generic font configuration library - support binaries
ii  libfreetype6                 2.3.11-1                     FreeType 2 font engine, shared library files
ii  libxft2                      2.1.14-1                     FreeType-based font drawing library for X
ii  texlive-xetex                2009-8                       TeX Live: XeTeX packages


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32.8-midna-2 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

ttf-linux-libertine depends on no packages.

Versions of packages ttf-linux-libertine recommends:
ii  fontconfig                    2.6.0-4    generic font configuration library

ttf-linux-libertine suggests no packages.

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Fonts Task Force <pkg-fonts-devel@lists.alioth.debian.org>:
Bug#578141; Package ttf-linux-libertine. (Sat, 17 Apr 2010 10:27:05 GMT) (full text, mbox, link).


Acknowledgement sent to Christoph Egger <christoph@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Fonts Task Force <pkg-fonts-devel@lists.alioth.debian.org>. (Sat, 17 Apr 2010 10:27:05 GMT) (full text, mbox, link).


Message #10 received at 578141@bugs.debian.org (full text, mbox, reply):

From: Christoph Egger <christoph@debian.org>
To: 578141@bugs.debian.org, 578141-submitter@bugs.debian.org
Subject: ttf-linux-libertine
Date: Sat, 17 Apr 2010 11:58:37 +0200
[Message part 1 (text/plain, inline)]
Hi!

	I already had a version locally that would both build 'Linux
Libertine' as ttf and 'Linux Libertine O' as otf. However I first
wanted to do some more investigation wether we actually need both
variants etc.

	That whole thing dropped completely out of my attention when I was
really bussy during exames period which is now, thankfully,
over. Thanks for the remainder!

Regards

	Christoph

-- 
/"\  ASCII Ribbon : GPG-Key ID: 0xD49AE731
\ /    Campaign   : CaCert Assurer
 X   against HTML : Debian Developer
/ \   in eMails   : http://www.debian.org/

http://www.christoph-egger.org/
[signature.asc (application/pgp-signature, inline)]

Message sent on to Michael Stapelberg <michael+db20090501@stapelberg.de>:
Bug#578141. (Sat, 17 Apr 2010 10:27:07 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Fonts Task Force <pkg-fonts-devel@lists.alioth.debian.org>:
Bug#578141; Package ttf-linux-libertine. (Tue, 20 Apr 2010 17:33:10 GMT) (full text, mbox, link).


Acknowledgement sent to Rogério Brito <rbrito@ime.usp.br>:
Extra info received and forwarded to list. Copy sent to Debian Fonts Task Force <pkg-fonts-devel@lists.alioth.debian.org>. (Tue, 20 Apr 2010 17:33:10 GMT) (full text, mbox, link).


Message #18 received at 578141@bugs.debian.org (full text, mbox, reply):

From: Rogério Brito <rbrito@ime.usp.br>
To: Michael Stapelberg <michael+db20090501@stapelberg.de>, 578141@bugs.debian.org
Subject: Re: [Pkg-fonts-devel] Bug#578141: debian-specific wrong renaming of this font causes XeTeX problems
Date: Tue, 20 Apr 2010 14:26:02 -0300
Hi, Michael.

On Apr 17 2010, Michael Stapelberg wrote:
> In #523186, a patch was introduced which renames LinLibertine_Re.ttf to
> "Linux Libertine O" (check with fontforge
> /usr/share/fonts/truetype/linux-libertine/LinLibertine_Re.ttf). Note that
> the truetype font (.ttf) was renamed!

I have not yet checked the Linux Libertine packages, but this O thing is
a detail that I want to get rid of.

IMVHO, all these {otf,ttf,t1} prefixes are just a matter of
implementation details that should not matter to the end user. Of
course, the "should not" part is important, since we may still have
applications with problems with OpenType fonts.

OTOH, sticking with limited TTF and T1 fonts encoded in a myriad of
"standards" is a pain and just migrating to OTF seems to be the sane way
to go.

> When downloading Linux Libertine in the same version (4.4.1) from sourceforge,
> you get a tgz containing LinLibertine_Re-4.4.1.otf (name "Linux Libertine O")
> and LinLibertine_Re-4.4.1.ttf (name "Linux Libertine"). In my opinion, bug
> #523186 was fixed in a wrong way (by renaming the ttf to the otf name instead
> of just including the otf fonts).

A good thing to avoid these kludges would be to generate two packages
from the Linux Libertine fonts: the ttf and the otf flavors.

> Now consider the following XeTeX document (say, mwe.tex):

Anything that breaks TeX is serious. :-)

> When replacing the ttf files with the original ones from sourceforge, it works
> fine. So, please do not include the patch renaming this font any longer, it
> breaks documents.

Right. Breaking documents that people may exchange is very undesired.

> PS: There later was a similar bug, #511145, which was "fixed" by applying a
> workaround in fontconfig. I think XeTeX does not use fontconfig and thus
> requires the font name to actually be correct.

If I am not mistaken, XeTeX uses fontconfig and LuaTeX use(d?)
fontforge's font loading mechanisms. It seems that LuaTeX is migrating
from fontforge (has already?).


Regards,

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Fonts Task Force <pkg-fonts-devel@lists.alioth.debian.org>:
Bug#578141; Package ttf-linux-libertine. (Tue, 20 Apr 2010 17:48:05 GMT) (full text, mbox, link).


Acknowledgement sent to Rogério Brito <rbrito@ime.usp.br>:
Extra info received and forwarded to list. Copy sent to Debian Fonts Task Force <pkg-fonts-devel@lists.alioth.debian.org>. (Tue, 20 Apr 2010 17:48:05 GMT) (full text, mbox, link).


Message #23 received at 578141@bugs.debian.org (full text, mbox, reply):

From: Rogério Brito <rbrito@ime.usp.br>
To: Christoph Egger <christoph@debian.org>, 578141@bugs.debian.org
Cc: 578141-submitter@bugs.debian.org
Subject: Re: [Pkg-fonts-devel] Bug#578141: ttf-linux-libertine
Date: Tue, 20 Apr 2010 14:45:10 -0300
Hi.

On Apr 17 2010, Christoph Egger wrote:
> 	I already had a version locally that would both build 'Linux
> Libertine' as ttf and 'Linux Libertine O' as otf. However I first
> wanted to do some more investigation wether we actually need both
> variants etc.

Yes, it seems that upstream has adopted that convention, it seems.

The easy way to go is to just create two packages. Another way might be
to generate only the OpenType fonts and create an alias for the fonts.

Of course, this second solution may present problems to applications
that don't use a modern font manipulation system like fontconfig or an
otf-aware X/font server.


Regards,

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br




Message sent on to Michael Stapelberg <michael+db20090501@stapelberg.de>:
Bug#578141. (Tue, 20 Apr 2010 17:54:06 GMT) (full text, mbox, link).


Added tag(s) pending. Request was from bubulle@alioth.debian.org to control@bugs.debian.org. (Sun, 13 Feb 2011 14:30:05 GMT) (full text, mbox, link).


Reply sent to Christian Perrier <bubulle@debian.org>:
You have taken responsibility. (Sun, 13 Feb 2011 16:03:13 GMT) (full text, mbox, link).


Notification sent to Michael Stapelberg <michael+db20090501@stapelberg.de>:
Bug acknowledged by developer. (Sun, 13 Feb 2011 16:03:13 GMT) (full text, mbox, link).


Message #33 received at 578141-close@bugs.debian.org (full text, mbox, reply):

From: Christian Perrier <bubulle@debian.org>
To: 578141-close@bugs.debian.org
Subject: Bug#578141: fixed in linux-libertine 4.7.5-1
Date: Sun, 13 Feb 2011 16:02:11 +0000
Source: linux-libertine
Source-Version: 4.7.5-1

We believe that the bug you reported is fixed in the latest version of
linux-libertine, which is due to be installed in the Debian FTP archive:

linux-libertine_4.7.5-1.debian.tar.gz
  to main/l/linux-libertine/linux-libertine_4.7.5-1.debian.tar.gz
linux-libertine_4.7.5-1.dsc
  to main/l/linux-libertine/linux-libertine_4.7.5-1.dsc
linux-libertine_4.7.5.orig.tar.bz2
  to main/l/linux-libertine/linux-libertine_4.7.5.orig.tar.bz2
ttf-linux-libertine_4.7.5-1_all.deb
  to main/l/linux-libertine/ttf-linux-libertine_4.7.5-1_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 578141@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christian Perrier <bubulle@debian.org> (supplier of updated linux-libertine package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 13 Feb 2011 15:52:03 +0100
Source: linux-libertine
Binary: ttf-linux-libertine
Architecture: source all
Version: 4.7.5-1
Distribution: unstable
Urgency: low
Maintainer: Debian Fonts Task Force <pkg-fonts-devel@lists.alioth.debian.org>
Changed-By: Christian Perrier <bubulle@debian.org>
Description: 
 ttf-linux-libertine - Linux Libertine family of fonts
Closes: 578141 581839 602845
Changes: 
 linux-libertine (4.7.5-1) unstable; urgency=low
 .
   * Team upload
 .
   [ Rogério Brito ]
   * Add myself to Uploaders. Closes: #581839.
   * Make the long description more detailed and with more keywords.
   * Update Standards-Version to 3.9.1 with no further changes.
   * Set the maintainer of the package to the Debian Fonts Task Force.
   * Add TODO document with the next steps for Linux Libertine.
 .
   [ Christian Perrier ]
   * Use "fontforge-nox | fontforge" in Build-Depends
   * New upstream version. Closes: #602845
   * Drop now useless 01-fontname.patch. Closes: #578141
Checksums-Sha1: 
 e9cdcfca57f5936e51e28bee8121968e7068c2fb 2109 linux-libertine_4.7.5-1.dsc
 fc5ea5f465562b20e8b8b8abe60082f46659bc40 5045021 linux-libertine_4.7.5.orig.tar.bz2
 f075c399cc9faebd7085ae3df47389357d3f596e 9362 linux-libertine_4.7.5-1.debian.tar.gz
 eac1bfbbf7bad88dad3281d3c76f2aa2f1d4244f 2130416 ttf-linux-libertine_4.7.5-1_all.deb
Checksums-Sha256: 
 376d8eb51ef6408a07bae4e048acb8e0a3c1bbf5377ff0a2917d0668998700b9 2109 linux-libertine_4.7.5-1.dsc
 d11276b769783e06dd56e9a17db24fbcd9fb51d1a1638d8f357cd051d8affa63 5045021 linux-libertine_4.7.5.orig.tar.bz2
 ddbe61060ecb19217b626898281e550dcf138a648363101f8771907f5a80a259 9362 linux-libertine_4.7.5-1.debian.tar.gz
 0097d676bc854cdab2962514433d7b5eca43ef64568bce460790e6c136010e09 2130416 ttf-linux-libertine_4.7.5-1_all.deb
Files: 
 0ca1466bac4c75c720cdf02331043b6a 2109 fonts optional linux-libertine_4.7.5-1.dsc
 e20314b4419e1950c7a076b87e248b84 5045021 fonts optional linux-libertine_4.7.5.orig.tar.bz2
 3736d138dd87f9049f9e1b0724f49346 9362 fonts optional linux-libertine_4.7.5-1.debian.tar.gz
 edf9d575c883e4f49d022811427fedc2 2130416 fonts optional ttf-linux-libertine_4.7.5-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIVAwUBTVf8DocvcCxNbiWoAQLU6xAAwA+RTFBvCncbWwx6iWfsDyXC+N1ix9fd
yALbY7+SUgsiCI/Nv4Gn7NHwq0H8R6+LbCOrzUCQDdfPdDGq6vVgdcgE5QnCdUaP
FVyzjdpAr+3uJwPyJu64DA6UX2JqCzsnYxtPJZBif6WIYrlXmwMdAWK+AfgHwkaU
2DgNclX3wI6PcQhmLzLDXHbL/MPSd3erf6Psf+4xe4Qm7GBf8lxleMTHiw8uA4U8
Gn03H6pQf6+0d7kesKj08ufmi4/bSIhjhkmiGcejmndKL6SDUukaYCzIINc1UN+B
c/EwDLj9+3MY/EwMH0XQIEJCJyY5lDyvIeklnw+halhSsuSYWjCapm4kkUTztkWw
mPCRYFO6dg6bX2UyYGQakRwcaACAmU0t0PDyt4O4gA3RqPghJG4LVUvd5zxixLw4
NyVs4/ghHn7vKdIVaYW+IQVq5Q0BvsBa8Y/HSjJjisRMTB+3UxRQHZTiu6/DL/Ah
3FKprp/KHP2i7VtLemnpQ5iIEFpADhaYwdPVRKa6qLo6rXENvUiCZ/ELLufSzbhk
xp8Ium/9CPWFRDfJ4hnEP4B4Q74cw8SdIpzv/6P0vNgyYH36knlCOaqnJ3FXrAyp
A80vvBoBvjACc9N8uCfR7dd52Qub95vicK7oWTbSSaKcSkKNsHIaMGAw/SiaNgAs
/UwjQX2Q7+s=
=s+1P
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 24 Mar 2011 07:37:20 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 19 05:35:55 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.