[Pkg-cups-devel] Bug#662660: Bug#662660: cups-filters: Please drop ttf-freefonts and use fontconfig to find the best-matching similar font

Martin Pitt mpitt at debian.org
Tue Mar 6 12:55:13 UTC 2012


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)





More information about the Pkg-cups-devel mailing list