[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#788048: marked as done (cups-filters: please request the generic monospace font alias from fontconfig instead of the hard-coded FreeMono)



Your message dated Tue, 09 Jun 2015 19:19:15 +0000
with message-id <E1Z2P3L-0004Wo-SJ@franck.debian.org>
and subject line Bug#788048: fixed in cups-filters 1.0.68-2
has caused the Debian Bug report #788048,
regarding cups-filters: please request the generic monospace font alias from fontconfig instead of the hard-coded FreeMono
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
788048: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788048
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cups-filters
Version: 1.0.68-1
Severity: normal
Tags: patch

Hi again,

cups-filters uses fontconfig to find a suitable monospaced font for
rendering text to pdf. However, this font is currently hard-coded to
FreeMono. This means, that if the FreeMono font package is installed, users
have no chance to change the font used for text rendering by means of
fontconfig rules anymore. FreeMono will *always* be preferred, there
is no choice.

By changing the hard-coded request for FreeMono to the generic
"monospace" alias, fontconfig returns the next best suitable monospaced font
that is available on the system. This might be FreeMono or any other
font. The actual preference of fonts, however, can be configured
per-system by means of fontconfig configuration files, which is the true
advantage of this approach.

The attached patch does exact this. Please consider applying it.

Thanks,

Fabian


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'experimental'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages cups-filters depends on:
ii  bc                         1.06.95-9
ii  cups-filters-core-drivers  1.0.68-1
ii  ghostscript                9.06~dfsg-2
ii  libc6                      2.19-18
ii  libcups2                   1.7.5-11
ii  libcupsfilters1            1.0.68-1
ii  libcupsimage2              1.7.5-11
ii  libfontconfig1             2.11.0-6.3
ii  libfontembed1              1.0.68-1
ii  libgcc1                    1:5.1.1-7
ii  libijs-0.35                0.35-10
ii  liblcms2-2                 2.6-3+b3
ii  libpoppler46               0.26.5-2
ii  libqpdf13                  5.1.2-2
ii  libstdc++6                 5.1.1-7

Versions of packages cups-filters recommends:
ii  colord  1.2.1-1+b2

Versions of packages cups-filters suggests:
ii  foomatic-db-compressed-ppds [foomatic-db]  20150411-1

-- no debconf information
diff --git a/pdf.utf-8~monospace b/pdf.utf-8
index 1280f25..c1c3d68 100644
--- a/pdf.utf-8~monospace
+++ b/pdf.utf-8
@@ -28,5 +28,5 @@ charset utf8
 # printing.
 #
 
-0000 04FF ltor single monospace monospace:bold monospace:oblique monospace:bold:oblique
-0500 05FF rtol single monospace
+0000 04FF ltor single FreeMono FreeMono:bold FreeMono:oblique FreeMono:bold:oblique
+0500 05FF rtol single FreeMono

--- End Message ---
--- Begin Message ---
Source: cups-filters
Source-Version: 1.0.68-2

We believe that the bug you reported is fixed in the latest version of
cups-filters, which is due to be installed in the Debian FTP archive.

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 788048@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Didier Raboud <odyx@debian.org> (supplier of updated cups-filters 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@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 09 Jun 2015 18:36:08 +0200
Source: cups-filters
Binary: libcupsfilters1 libfontembed1 cups-filters cups-filters-core-drivers libcupsfilters-dev libfontembed-dev cups-browsed
Architecture: source
Version: 1.0.68-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
Changed-By: Didier Raboud <odyx@debian.org>
Description:
 cups-browsed - OpenPrinting CUPS Filters - cups-browsed
 cups-filters - OpenPrinting CUPS Filters - Main Package
 cups-filters-core-drivers - OpenPrinting CUPS Filters - PPD-less printing
 libcupsfilters-dev - OpenPrinting CUPS Filters - Development files for the library
 libcupsfilters1 - OpenPrinting CUPS Filters - Shared library
 libfontembed-dev - OpenPrinting CUPS Filters - Development files for font embed libr
 libfontembed1 - OpenPrinting CUPS Filters - Font Embed Shared library
Closes: 788046 788048
Changes:
 cups-filters (1.0.68-2) unstable; urgency=medium
 .
   [ Fabian Greffrath ]
   * Remove obsolete font symlinks in /usr/share/cups/fonts (Closes: #788046)
   * Add patch to request the generic 'monospace' font alias from fontconfig
     instead of the hard-coded FreeMono (Closes: #788048)
Checksums-Sha1:
 bda724112cdcc5de37623fcad42e5a06016193ab 2724 cups-filters_1.0.68-2.dsc
 23eca873c84f9a599883e543999a9b751605433f 66800 cups-filters_1.0.68-2.debian.tar.xz
Checksums-Sha256:
 937c2d5711e9215a6db546a9a11b0fe0660874f2d2d0e755855765c030af4aec 2724 cups-filters_1.0.68-2.dsc
 ae7f968a0f9c0ebb57b1082fbc9c4d784b904dc9bafb86eea407de678d0b800b 66800 cups-filters_1.0.68-2.debian.tar.xz
Files:
 32f323efe9c8db25c916eb95c973c4d2 2724 net optional cups-filters_1.0.68-2.dsc
 c87e4709f8af3be82f37b128b27ce02e 66800 net optional cups-filters_1.0.68-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQGcBAEBCAAGBQJVdzc1AAoJEIvPpx7KFjRVGcoL/14I/omtYA2PyF6xPKzMMyO8
OTrgb2J+SMOi3h1yh5wICdfqHUhoFCtpl2xtfTRJUQPeUbZG8LZBvtgXpDHA1iK7
rYMEkEi3nNSgo0RANtu+WmuOkYX3MBTp3R5a1JDv8qHaEsASm3yBC2VSJM4gkkd0
akkZ7aIZznpKASzukbx7Qhf7o+OphxQGX5uXBg9OhiLdR5B1IhydxjICtBU4sRu4
YqLmOa4H+wLWiOTj1/M3XMYvuRG+gBbUgEPx08OjBJMryyVRwWvmhhdr5lpxd5dD
6NSeZqcSLf2vT/NDIChlBnlwaHQJP+kb+YEI3mledv7FXQlVtZtxjbsdcVG98DAE
lG2/xDSrlTPJvla/3MaA73cZXPpprX7RKzK9oy4z8wEyJ+i6aaZeLrAMVpjsCBT3
1dTLuIhac4xv7ghgO77GvNKWBKYG9jUIgY5GAIehLxbKWZhnAavq2WYpfevvAsf3
2KkFOlbpGD4MPT+2ZaM0og/BNzbsGHm7xMl4b6/uHw==
=ka9q
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: