Debian Bug report logs -
#662660
cups-filters: Please drop ttf-freefonts and use fontconfig to find the best-matching similar font
Reported by: Fabian Greffrath <fabian@greffrath.com>
Date: Mon, 5 Mar 2012 15:03:05 UTC
Severity: wishlist
Tags: patch
Found in version cups-filters/1.0.2-1
Fixed in version cups-filters/1.0.4-1
Done: Martin Pitt <mpitt@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>:
Bug#662660; Package cups-filters.
(Mon, 05 Mar 2012 15:03:09 GMT) (full text, mbox, link).
Acknowledgement sent
to Fabian Greffrath <fabian@greffrath.com>:
New Bug report received and forwarded. Copy sent to Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>.
(Mon, 05 Mar 2012 15:03:09 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: cups-filters
Version: 1.0.2-1
Severity: wishlist
Tags: patch
Hi,
I am sorry I feel the need to re-iterate #495598, but cups's and now cups-
filters's hard dependency on ttf-freefonts package is still disturbing me.
However, this time I provide a patch.
I don't think that the cups-filters - especially the texttopdf filter - should
rely on symlinks to actual TTF fontfiles named after the file names listed in
the pdf.utf-8.* maps. Instead, if the symlink in question does not exist or
does not lead to a valid TTF font file, the filter should ask fontconfig what
the next best matching font is. That is what fontconfig is
actually for. This way, the hard dependency on ttf-freefonts could get demoted
to a Recommends or at least get some alternative dependencies added. \o/
TL;DR: Please review the attached patch!
Cheers,
Fabian
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (901, 'testing'), (501, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.1.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages cups-filters depends on:
ii ghostscript 9.05~dfsg-2
ii libc6 2.13-26
ii libcups2 1.5.2-5
ii libcupsfilters1 1.0.2-1
ii libcupsimage2 1.5.2-5
ii libgcc1 1:4.6.2-12
ii libijs-0.35 0.35-8
ii liblcms2-2 2.2+git20110628-2
ii libpoppler13 0.16.7-3
ii libstdc++6 4.6.2-12
ii ttf-freefont 20100919-1
ii zlib1g 1:1.2.6.dfsg-1
Versions of packages cups-filters recommends:
pn colord 0.1.16-2
pn foomatic-filters <none>
pn ghostscript-cups <none>
Versions of packages cups-filters suggests:
pn foomatic-db-compressed-ppds | foomatic-db <none>
[texttopdf_fontconfig.patch (text/x-diff, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>:
Bug#662660; Package cups-filters.
(Tue, 06 Mar 2012 13:03:28 GMT) (full text, mbox, link).
Acknowledgement sent
to Martin Pitt <mpitt@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>.
(Tue, 06 Mar 2012 13:03:35 GMT) (full text, mbox, link).
Message #10 received at 662660@bugs.debian.org (full text, mbox, reply):
Hello Fabian,
Fabian Greffrath [2012-03-05 16:00 +0100]:
> I don't think that the cups-filters - especially the texttopdf filter - should
> rely on symlinks to actual TTF fontfiles named after the file names listed in
> the pdf.utf-8.* maps. Instead, if the symlink in question does not exist or
> does not lead to a valid TTF font file, the filter should ask fontconfig what
> the next best matching font is. That is what fontconfig is
> actually for. This way, the hard dependency on ttf-freefonts could get demoted
> to a Recommends or at least get some alternative dependencies added. \o/
Thanks for the patch! Till (CC'ed) tried it, and said that while the
job completes without error when freefont is not installed, the
output is unreadable. So perhaps the fontconfig selection is not tight
enough on similar fonts?
I'm just parroting here, Till knows the details.
Thanks,
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>:
Bug#662660; Package cups-filters.
(Tue, 06 Mar 2012 13:09:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Fabian Greffrath <fabian@greffrath.com>:
Extra info received and forwarded to list. Copy sent to Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>.
(Tue, 06 Mar 2012 13:09:05 GMT) (full text, mbox, link).
Message #15 received at 662660@bugs.debian.org (full text, mbox, reply):
Hey Martin and Till,
Am 06.03.2012 13:55, schrieb Martin Pitt:
> Thanks for the patch! Till (CC'ed) tried it, and said that while the
> job completes without error when freefont is not installed, the
> output is unreadable. So perhaps the fontconfig selection is not tight
> enough on similar fonts?
cool, thank you so much for trying it out!
Unfortunately, I have not yet found out how to tell fontconfig to
return *only* TrueType fonts. If you have e.g. gsfonts installed, then
fontconfig might return the Type1 Nimbus Mono font when asked for the
best replacement for FreeMono. But I am glad it's at least not
crashing. ;)
- Fabian
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>:
Bug#662660; Package cups-filters.
(Tue, 06 Mar 2012 13:51:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Fabian Greffrath <fabian@greffrath.com>:
Extra info received and forwarded to list. Copy sent to Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>.
(Tue, 06 Mar 2012 13:51:13 GMT) (full text, mbox, link).
Message #20 received at 662660@bugs.debian.org (full text, mbox, reply):
Am 06.03.2012 13:55, schrieb Martin Pitt:
> Thanks for the patch! Till (CC'ed) tried it, and said that while the
> job completes without error when freefont is not installed, the
> output is unreadable. So perhaps the fontconfig selection is not tight
> enough on similar fonts?
What does "fc-match FreeMono.ttf" give?
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>:
Bug#662660; Package cups-filters.
(Tue, 06 Mar 2012 14:45:11 GMT) (full text, mbox, link).
Acknowledgement sent
to Till Kamppeter <till.kamppeter@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>.
(Tue, 06 Mar 2012 14:45:15 GMT) (full text, mbox, link).
Message #25 received at 662660@bugs.debian.org (full text, mbox, reply):
till@till-precise:~/ubuntu/cups/bzr/build-area/cups-1.5.2$ fc-match
FreeMono.ttfDejaVuSans.ttf: "DejaVu Sans" "Book"
till@till-precise:~/ubuntu/cups/bzr/build-area/cups-1.5.2$
Till
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>:
Bug#662660; Package cups-filters.
(Tue, 06 Mar 2012 15:00:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Fabian Greffrath <fabian@greffrath.com>:
Extra info received and forwarded to list. Copy sent to Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>.
(Tue, 06 Mar 2012 15:00:06 GMT) (full text, mbox, link).
Message #30 received at 662660@bugs.debian.org (full text, mbox, reply):
Am 06.03.2012 15:42, schrieb Till Kamppeter:
> till@till-precise:~/ubuntu/cups/bzr/build-area/cups-1.5.2$ fc-match
> FreeMono.ttfDejaVuSans.ttf: "DejaVu Sans" "Book"
But the page wasn't printed in "DejaVu Sans" then?
- Fabian
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>:
Bug#662660; Package cups-filters.
(Tue, 06 Mar 2012 15:57:08 GMT) (full text, mbox, link).
Acknowledgement sent
to Till Kamppeter <till.kamppeter@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>.
(Tue, 06 Mar 2012 15:57:08 GMT) (full text, mbox, link).
Message #35 received at 662660@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On 03/06/2012 03:57 PM, Fabian Greffrath wrote:
> Am 06.03.2012 15:42, schrieb Till Kamppeter:
>> till@till-precise:~/ubuntu/cups/bzr/build-area/cups-1.5.2$ fc-match
>> FreeMono.ttfDejaVuSans.ttf: "DejaVu Sans" "Book"
>
> But the page wasn't printed in "DejaVu Sans" then?
>
> - Fabian
>
Attached is the file which I originally sent to the printer and the
scanned printout.
I am on Ubuntu Precise (12.04). I have uninstalled the ttf-freefont and
removed the symlinks:
sudo dpkg -P --force-depends ttf-freefont
sudo rm /usr/share/cups/fonts/FreeMono*
Till
[scanned-printout-debian-662660.pdf (application/pdf, attachment)]
[.bashrc (text/plain, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>:
Bug#662660; Package cups-filters.
(Tue, 06 Mar 2012 16:30:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Fabian Greffrath <fabian@greffrath.com>:
Extra info received and forwarded to list. Copy sent to Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>.
(Tue, 06 Mar 2012 16:30:05 GMT) (full text, mbox, link).
Message #40 received at 662660@bugs.debian.org (full text, mbox, reply):
Am 06.03.2012 16:54, schrieb Till Kamppeter:
> Attached is the file which I originally sent to the printer and the
> scanned printout.
The printout looks as if all glyphs have been arranged in a fixed
raster, since a monospaced font is expected, but the font actually
used is proportional, i.e. "DejaVu Sans" "Book". This needs fixing in
my patch...
> sudo dpkg -P --force-depends ttf-freefont
> sudo rm /usr/share/cups/fonts/FreeMono*
What happend if you manually bend the symlinks to, say, Liberation Mono?
- Fabian
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>:
Bug#662660; Package cups-filters.
(Tue, 06 Mar 2012 16:36:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Till Kamppeter <till.kamppeter@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>.
(Tue, 06 Mar 2012 16:36:03 GMT) (full text, mbox, link).
Message #45 received at 662660@bugs.debian.org (full text, mbox, reply):
I have tried this now:
till@till-precise:~/ubuntu/cups/bzr/build-area/cups-1.5.2$ ls -l
/usr/share/cups/fonts/
total 16
lrwxrwxrwx 1 root root 66 Mar 6 17:29 FreeMonoBoldOblique.ttf ->
/usr/share/fonts/truetype/liberation/LiberationMono-BoldItalic.ttf
lrwxrwxrwx 1 root root 60 Mar 6 17:30 FreeMonoBold.ttf ->
/usr/share/fonts/truetype/liberation/LiberationMono-Bold.ttf
lrwxrwxrwx 1 root root 62 Mar 6 17:30 FreeMonoOblique.ttf ->
/usr/share/fonts/truetype/liberation/LiberationMono-Italic.ttf
lrwxrwxrwx 1 root root 63 Mar 6 17:29 FreeMono.ttf ->
/usr/share/fonts/truetype/liberation/LiberationMono-Regular.ttf
till@till-precise:~/ubuntu/cups/bzr/build-area/cups-1.5.2$
Now a correct printout came out.
Till
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>:
Bug#662660; Package cups-filters.
(Tue, 06 Mar 2012 16:45:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Fabian Greffrath <fabian@greffrath.com>:
Extra info received and forwarded to list. Copy sent to Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>.
(Tue, 06 Mar 2012 16:45:05 GMT) (full text, mbox, link).
Message #50 received at 662660@bugs.debian.org (full text, mbox, reply):
Am 06.03.2012 17:32, schrieb Till Kamppeter:
> Now a correct printout came out.
Thanks for trying! So valid candidate fonts must be both TrueType and
monospaced. Please expect an improved patch tomorrow. ;)
Bye,
Fabian
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>:
Bug#662660; Package cups-filters.
(Wed, 07 Mar 2012 09:33:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Fabian Greffrath <fabian@greffrath.com>:
Extra info received and forwarded to list. Copy sent to Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>.
(Wed, 07 Mar 2012 09:33:06 GMT) (full text, mbox, link).
Message #55 received at 662660@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi Till and Martin,
please find my improved patch attached.
If direct loading of the TTF font file passed to font_load() fails,
turn the file name into a fontconfig "pattern" (see below!) and use it
to receive a list of similar fonts from fontconfig that somehow match
this pattern. Then iterate through this list to find the first
candidate that is both in TrueType format and monospaced. If none is
found, fontname will still point to NULL and the function returns NULL
just as before.
With this patch, texttopdf should work whether ttf-freefonts is
installed or not, whether the symlinks are there or not, whether they
are dangling or not - it just shouldn't matter, *as long as at least
on monospaced TrueType font is installed on the system*. This may be
provided by fonts-liberation, ttf-dejavu, fonts-consolidata or
whatever. However, if ttf-freefonts is installed, the symlinks will
point to these fonts and they take preference over all the others. I
think this still makes sense, because ttf-freefonts may still have the
widest unicode coverage of them all. I think this fact should also get
reflected in the package dependencies, which could get changed from
"Depends: ttf-freefonts" to "Depends: ttf-freefonts | fonts-liberation
| ttf-dejavu" or similar. This would close #662660 and #495598. ;)
There is one drawback with this patch (but I think the net win
overweights): The file names passed to font_load() are in fact no
valid fontconfig patterns, even with their .ttf extensions removed.
That is, fontconfig cannot know that "FreeMonoBold" means that we
want the bold face of the FreeMono or any other valid monospaced font.
I should be called "FreeMono:Bold" to achieve this, but this in turn
is incompatible with the file names found in ttf-freefonts. I think it
still works well enough as a fallback as it is now, but in the long
term one should consider switching from actual font file names to
fontconfig patterns in pdf.utf-8.* altogether!
Another warning: This is my very first encounter with fontconfig, so I
suggest someone with a bit more fontconfig-fu should have a look at it
before applying it upstream. ;)
Regards,
- Fabian
PS: The cups-filters package currently FTBFS if built twice in a row,
because there are object files left in pdftoopvp/oprs/ and
filter/fontembed/. Maybe those two directories should get added to the
DIRS variable in the top-level Makefile.
[texttopdf_fontconfig.patch (text/x-diff, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>:
Bug#662660; Package cups-filters.
(Wed, 07 Mar 2012 09:51:35 GMT) (full text, mbox, link).
Acknowledgement sent
to Till Kamppeter <till.kamppeter@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>.
(Wed, 07 Mar 2012 09:51:43 GMT) (full text, mbox, link).
Message #60 received at 662660@bugs.debian.org (full text, mbox, reply):
Thank you very much. This patch works correctly now. I have committed it
to the upstream BZR repository of cups-filters.
It will go into the next Debian/Ubuntu package, probably later today.
Patches to use fontconfig patterns in the pdf.utf-8.* files are welcome.
Till
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>:
Bug#662660; Package cups-filters.
(Wed, 07 Mar 2012 11:15:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Fabian Greffrath <fabian@greffrath.com>:
Extra info received and forwarded to list. Copy sent to Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>.
(Wed, 07 Mar 2012 11:15:06 GMT) (full text, mbox, link).
Message #65 received at 662660@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Am 07.03.2012 10:47, schrieb Till Kamppeter:
> Patches to use fontconfig patterns in the pdf.utf-8.* files are welcome.
Here you are.
Please note that these pdf.utf-8.* files obsolete the removal of the
file extensions in my previous patch.
- Fabian
[pdf.utf8.patch (text/x-diff, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>:
Bug#662660; Package cups-filters.
(Wed, 07 Mar 2012 12:45:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Fabian Greffrath <fabian@greffrath.com>:
Extra info received and forwarded to list. Copy sent to Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>.
(Wed, 07 Mar 2012 12:45:10 GMT) (full text, mbox, link).
Message #70 received at 662660@bugs.debian.org (full text, mbox, reply):
Am 07.03.2012 12:12, schrieb Fabian Greffrath:
> Please note that these pdf.utf-8.* files obsolete the removal of the
> file extensions in my previous patch.
Moreover, if you decide to switch the pdf.utf-8.* files from font file
names to fontconfig patterns, this will not only make the symlinks and
the first attempt to open them in texttopdf.c obsolete -- they will
make it definitely fail. So maybe this code should get refactored as well.
- Fabian
Reply sent
to Martin Pitt <mpitt@debian.org>:
You have taken responsibility.
(Wed, 07 Mar 2012 13:52:21 GMT) (full text, mbox, link).
Notification sent
to Fabian Greffrath <fabian@greffrath.com>:
Bug acknowledged by developer.
(Wed, 07 Mar 2012 13:52:30 GMT) (full text, mbox, link).
Message #75 received at 662660-close@bugs.debian.org (full text, mbox, reply):
Source: cups-filters
Source-Version: 1.0.4-1
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:
cups-filters_1.0.4-1.debian.tar.gz
to main/c/cups-filters/cups-filters_1.0.4-1.debian.tar.gz
cups-filters_1.0.4-1.dsc
to main/c/cups-filters/cups-filters_1.0.4-1.dsc
cups-filters_1.0.4-1_amd64.deb
to main/c/cups-filters/cups-filters_1.0.4-1_amd64.deb
cups-filters_1.0.4.orig.tar.gz
to main/c/cups-filters/cups-filters_1.0.4.orig.tar.gz
libcupsfilters-dev_1.0.4-1_amd64.deb
to main/c/cups-filters/libcupsfilters-dev_1.0.4-1_amd64.deb
libcupsfilters1_1.0.4-1_amd64.deb
to main/c/cups-filters/libcupsfilters1_1.0.4-1_amd64.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 662660@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Martin Pitt <mpitt@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@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 07 Mar 2012 14:36:49 +0100
Source: cups-filters
Binary: libcupsfilters1 cups-filters libcupsfilters-dev
Architecture: source amd64
Version: 1.0.4-1
Distribution: unstable
Urgency: low
Maintainer: Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>
Changed-By: Martin Pitt <mpitt@debian.org>
Description:
cups-filters - OpenPrinting CUPS Filters
libcupsfilters-dev - OpenPrinting CUPS Filters - Development files for the library
libcupsfilters1 - OpenPrinting CUPS Filters - Shared library
Closes: 495598 661127 662295 662660
Changes:
cups-filters (1.0.4-1) unstable; urgency=low
.
[ Till Kamppeter ]
* New upstream release
- cups-filters 1.0.4 release
- texttopdf: Fall back to altermative fonts via fontconfig if the
FreeMono TrueType fonts are not installed (Closes: #495598,
Closes: #662660).
- bannertopdf: Fix off-by-one error in page duplication
- bannertopdf: Put indirect references to streams into the page's
contents
- bannertopdf: Let byte offsets for the Xref table of the PDF output
being determined correctly also when the output goes to stdout
(LP: #939735).
- bannertopdf: Output multiple copies of the test page if duplex
and/or N-up is chosen, to let the test page appear on all possible
positions of the sheet (LP: #939530).
- bannertopdf: Scale test page template to fit the job's page size,
get and display full page geometry information, draw the frame which
marks the printable area 1pt smaller, to assure that it gets completely
visible (LP: #921073).
* debian/local/default-testpage.pdf: Added missing "Q" operator to the end of
the page. This broke N-up printing with pdftopdf (LP: #939530).
* debian/control: Added explicit build dependency on libfontconfig1-dev.
(Closes: #661127)
* debian/control: Changed font dependency (for texttopdf) to "ttf-freefont |
fonts-liberation | ttf-dejavu" instead of only "ttf-freefont"
(Closes: #495598, Closes: #662660).
.
[ Martin Pitt ]
* debian/control: Build against libpng-dev, with an alternative to the older
libpng12-dev. (Closes: #662295)
* debian/control: Prefer building against libtiff5-dev if available, falling
back to libtiff-dev.
* debian/control, debian/rules: Move from hardening-wrapper to using
dpkg-buildflags. Bump dpkg-dev build dependency to (>= 1.16.1~) for this.
* debian/copyright: Update Format header for official copyright format 1.0.
* debian/control: Bump Standards-Version to 3.9.3.
* debian/rules: Drop LC_MESSAGES setting, leftover from cups.
* debian/control: Bump libcupsimage2-dev build dependency to ensure to build
against a version which does not conflict on the libtiff?-dev build
dependency.
Checksums-Sha1:
06977eb2b39e754bc4c4e7df35b801d5eb6407f1 2495 cups-filters_1.0.4-1.dsc
f697c8ba9b50c5c9b5eb87aa5b42a9f1885d967f 989868 cups-filters_1.0.4.orig.tar.gz
d9d36b6a14884489c53a3f0035438dd341f99331 36980 cups-filters_1.0.4-1.debian.tar.gz
c6f6a52ca6ca696c4680e8a2873329395e721644 63162 libcupsfilters1_1.0.4-1_amd64.deb
d1a23bf0f44053303130e468356e38e28c1c1bcc 373538 cups-filters_1.0.4-1_amd64.deb
c7953a804cc2e5c920b07b7d2bc9fdf880de192d 74344 libcupsfilters-dev_1.0.4-1_amd64.deb
Checksums-Sha256:
4d437c6bfb4f427d359f0b75b1b0503b5a0b7bfc9bfda29b5d7b810ad5816bb6 2495 cups-filters_1.0.4-1.dsc
c606fe420f166926b772a201fdd363f0ca34bb1ed40ee5ff5ced78fe666158c0 989868 cups-filters_1.0.4.orig.tar.gz
59631e788c9410d14f645a1c0f126607460da8bb44decd2411f26b8f51f080b4 36980 cups-filters_1.0.4-1.debian.tar.gz
c2675dd9de4f40445eb99b810437fe273f6ad224a3e475408ced4a7aad09a71c 63162 libcupsfilters1_1.0.4-1_amd64.deb
318da78b4cb1a2fcbb4be30eea767788be99b9bbaf080bf803eb4e906b7000d4 373538 cups-filters_1.0.4-1_amd64.deb
fa1edaf2135b4fdfb1ad7ddd0b78b94988edbf895b646149778c58cf410474e1 74344 libcupsfilters-dev_1.0.4-1_amd64.deb
Files:
9542935e05c5c5ba4001097c4638379f 2495 net optional cups-filters_1.0.4-1.dsc
20f01880493882ecd97442d644a6c1bc 989868 net optional cups-filters_1.0.4.orig.tar.gz
162a97d1a01eb52bd969cc5ee3a375af 36980 net optional cups-filters_1.0.4-1.debian.tar.gz
ac75e421060e3bb8fdd9860cc9ba0340 63162 libs optional libcupsfilters1_1.0.4-1_amd64.deb
60e237c756b50db8449074f19b2bec6a 373538 net optional cups-filters_1.0.4-1_amd64.deb
4e0f0da07bb70d996d2e452541eda58d 74344 libdevel optional libcupsfilters-dev_1.0.4-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCAAGBQJPV2UHAAoJEPmIJawmtHufIjsP/2keN9lMQS4uWY2fQVJjlJFc
uerh3myzcBRwC4cBNYs702Dc8gjRT9ETKHNgqg/UxQF2ckubZfYB7t1wBKJvPEa3
KVK0Tb/ECr+yRe5OQ+tJHg7yclNc93DzEjxZojuWJEEkmhiZTO/pahK34Xr6y/tR
fB8yCsXu6IKFU1YNPS9zAJBzuF2VyndW7B3u5AfcVf5l7Q+T0eK7K3T8RHwdfxpN
WJ6J+omIN5Z65PTtOZnPkaqgxFVT2WAhch5BGEE8O92s7+Jd+62KIa43Iy5oJgTs
0K/KPAophTUQY4TRxZxJF+YI4Iecsw6tjezwjqs+iUfViBssBSX3z32bqP/YL4RT
eLhPcQ75DdoP3kVjYHF8X5m6RiyTumWmwpDmOvXr6hgbprjl6DdDv0PBBi5aRFZU
/CvYiFeNGAXgmHd2dHsmQDt9z1KYm/FuHoJUiaKM2BNnwxTHZ8hzF18t+eqQ8DPX
2vbJCuTdKPNKtGtB4hR6xhWqI0rb2k8eXBkzAamLuQktceRj4iJ1+gPVPR4Nr6Jx
wJTB92jHggcPsOgI5++pUFtfKsrpb/s1EjOGJzXYupnOgdGtYE5T6C6rmQzPyKx0
0RrJRpPv2lMwdYatHC/TjtzHZBglTo7rFsoDhaC8x3f062P3wGr2HJMK0nA4ZRnX
Ru2z7EeVIvA0OQ9ARkN2
=6s1s
-----END PGP SIGNATURE-----
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>:
Bug#662660; Package cups-filters.
(Wed, 07 Mar 2012 15:30:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Fabian Greffrath <fabian@greffrath.com>:
Extra info received and forwarded to list. Copy sent to Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>.
(Wed, 07 Mar 2012 15:30:06 GMT) (full text, mbox, link).
Message #80 received at 662660@bugs.debian.org (full text, mbox, reply):
Am 07.03.2012 13:05, schrieb Fabian Greffrath:
> make it definitely fail. So maybe this code should get refactored as
> well.
It is, I have attached two more patches.
Please apply the first one "font-index.patch" in any case, regardless
of your decision to use font file names or fontconfig patterns in
pdf.utf-8.*! It appends the index of the font in the font file to its
filename, which gets passed over to otf_load(). It is gracefully
ignored for .ttf files, i.e. in 99.9% percent of all cases but
strictly required for .ttc files. It is thus crucial if you want to
replace the "uming.ttc/0" entry in pdf.utf-8.heavy with a
corresponding fontconfig pattern.
The second patch "fontconfig-patterns.patch" entirely removes the
attempt to directly load font files from the $datadir/fonts directory
and relies on fontconfig instead. Of course, it requires application
of "pdf.utf-8.patch" which I sent in my previous mail and which
replaced all the font file names in pdf.utf-8.* with corresponding
fontconfig patterns, though.
Best Regards,
Fabian
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>:
Bug#662660; Package cups-filters.
(Wed, 07 Mar 2012 15:30:08 GMT) (full text, mbox, link).
Acknowledgement sent
to Fabian Greffrath <fabian@greffrath.com>:
Extra info received and forwarded to list. Copy sent to Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>.
(Wed, 07 Mar 2012 15:30:08 GMT) (full text, mbox, link).
Message #85 received at 662660@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Am 07.03.2012 16:28, schrieb Fabian Greffrath:
> It is, I have attached two more patches.
[fontconfig-patterns.patch (text/x-diff, attachment)]
[font-index.patch (text/x-diff, attachment)]
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 15 May 2012 07:40:21 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:
Sun Jan 14 00:25:10 2018;
Machine Name:
beach
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.