Debian Bug report logs -
#645876
fontconfig: Nimbus Sans L condensed only in libreoffice 3.4
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Keith Packard <keithp@debian.org>:
Bug#645876; Package fontconfig.
(Wed, 19 Oct 2011 09:42:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Pavel Reznicek <reznicek@ipnp.troja.mff.cuni.cz>:
New Bug report received and forwarded. Copy sent to Keith Packard <keithp@debian.org>.
(Wed, 19 Oct 2011 09:42:11 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: fontconfig
Version: 2.8.0-3
Severity: normal
Dear Maintainer,
I am experiencing a bug that was closed long time ago:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=243329
Nimbus Sans L offers only condensed variants. However, it happens for me
only in libreoffice (and seems like only in version 3.4). Workaround mentioned
in that old report - removing the font files of the nimbus sans condensed
fonts - "fixes" the problem. But it would be good to understand whats
wrong. Is there some more information I can provide to "debug" the problem ?
Thanks,
Pavel
-- System Information:
Debian Release: wheezy/sid
APT prefers squeeze
APT policy: (950, 'squeeze'), (950, 'sid'), (840, 'testing-proposed-updates'), (840, 'testing'), (740, 'unstable'), (738, 'experimental'), (540, 'proposed-updates'), (540, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-2-amd64-ipnp-n22a-7 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages fontconfig depends on:
ii fontconfig-config 2.8.0-3
ii libc6 2.13-21
ii libexpat1 2.0.1-7
ii libfontconfig1 2.8.0-3
ii libfreetype6 2.4.6-2
ii zlib1g 1:1.2.3.4.dfsg-3
fontconfig recommends no packages.
Versions of packages fontconfig suggests:
ii defoma 0.11.12
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, Keith Packard <keithp@debian.org>:
Bug#645876; Package fontconfig.
(Sun, 12 Jan 2014 22:54:04 GMT) (full text, mbox, link).
Acknowledgement sent
to BubuXP <bubuxp@gmail.com>:
Extra info received and forwarded to list. Copy sent to Keith Packard <keithp@debian.org>.
(Sun, 12 Jan 2014 22:54:04 GMT) (full text, mbox, link).
Message #10 received at 645876@bugs.debian.org (full text, mbox, reply):
tags 645876 patch
thanks
> I am experiencing a bug that was closed long time ago:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=243329
>
> Nimbus Sans L offers only condensed variants. However, it happens for me
> only in libreoffice (and seems like only in version 3.4). Workaround mentioned
> in that old report - removing the font files of the nimbus sans condensed
> fonts - "fixes" the problem. But it would be good to understand whats
> wrong. Is there some more information I can provide to "debug" the problem ?
I had the opposite problem: I cannot find the condensed variants in
libreoffice 4.1.4.2 (Sid).
It seems this is a widespread bug:
https://bugs.freedesktop.org/show_bug.cgi?id=50855
I found a simple workaround for this (see attachment): using
fontconfig, I made a new font family I called "Nimbus Sans L
Condensed" to include the condensed variants and separate them from
the normal "Nimbus Sans L" family. Place the attached file in a
directory read by fontconfig (like /etc/fonts/conf.d/ for example),
then rebuild font cache (with 'fc-cache -f').
I don't know why but libreoffice still won't display the changes,
maybe it uses an internal font cache? I resolved the easy way by
removing the ~/.config/libreoffice/ directory, but probably there's a
better way to do this.
The 'gsfonts' package maintainer could ponder the validity of this
workaround and maybe including it in the package (or it's a fontconfig
concern?).
Added tag(s) patch.
Request was from BubuXP <bubuxp@gmail.com>
to control@bugs.debian.org.
(Sun, 12 Jan 2014 22:54:11 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Keith Packard <keithp@debian.org>:
Bug#645876; Package fontconfig.
(Sun, 12 Jan 2014 23:21:04 GMT) (full text, mbox, link).
Acknowledgement sent
to BubuXP <bubuxp@gmail.com>:
Extra info received and forwarded to list. Copy sent to Keith Packard <keithp@debian.org>.
(Sun, 12 Jan 2014 23:21:05 GMT) (full text, mbox, link).
Message #17 received at 645876@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
I don't know why but attachment was not sent. Retrying, plus file
content here to be sure.
$ cat 81-nimbus.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Create a new family to incluse Nimbus Sans L
Condensed variants -->
<match target="scan">
<test name="postscriptname" compare="eq">
<string>NimbusSanL-ReguCond</string>
</test>
<edit name="family" mode="assign">
<string>Nimbus Sans L Condensed</string>
</edit>
<edit name="style" mode="assign">
<string>Regular</string>
</edit>
</match>
<match target="scan">
<test name="postscriptname" compare="eq">
<string>NimbusSanL-BoldCond</string>
</test>
<edit name="family" mode="assign">
<string>Nimbus Sans L Condensed</string>
</edit>
<edit name="style" mode="assign">
<string>Bold</string>
</edit>
</match>
<match target="scan">
<test name="postscriptname" compare="eq">
<string>NimbusSanL-ReguCondItal</string>
</test>
<edit name="family" mode="assign">
<string>Nimbus Sans L Condensed</string>
</edit>
<edit name="style" mode="assign">
<string>Regular Italic</string>
</edit>
</match>
<match target="scan">
<test name="postscriptname" compare="eq">
<string>NimbusSanL-BoldCondItal</string>
</test>
<edit name="family" mode="assign">
<string>Nimbus Sans L Condensed</string>
</edit>
<edit name="style" mode="assign">
<string>Bold Italic</string>
</edit>
</match>
</fontconfig>
[81-nimbus.conf (application/octet-stream, attachment)]
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Tue Jul 2 18:54:12 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.