[Pkg-fonts-devel] Bug#662924: Bug#662924: Bug#662924: ttf-freefont: What is Untitled1.ttf?

Fabian Greffrath fabian at greffrath.com
Fri Mar 9 10:21:22 UTC 2012


Am 09.03.2012 11:07, schrieb Steve White:
> I'm not sure what you're talking about here.

CUPS has switched to PDF-based printing. That means, roughly, if you 
want to print a raw text file, e.g. 'lp ~/.bashrc', it needs to get 
converted into a PDF file in one step of the process. A font is needed 
to render your text in the PDF file and this font is embedded into the 
PDF. Currently the filter that does this does not support CFF fonts.

It will fail here:

<http://bzr.linuxfoundation.org/loggerhead/openprinting/cups-filters/annotate/head:/filter/fontembed/sfnt.c#L699>

> What are you referring to with "embed OpenType fonts"?  I did a
> search, and found nothing about this.

This README file might provide some explanation:

<http://bzr.linuxfoundation.org/loggerhead/openprinting/cups-filters/annotate/head:/filter/fontembed/README>

> For example, one solution for the CUPs problem is for CUPSs to
> maintain their own copy of FreeMono,
> (in whatever form they prefer), but separate from the system fonts.

This problem is already solved upstream (since yesterday). ;)

cups-filters now merely needs one monospaced TrueType font installed 
on the system that it can use as a fallback for FreeMono or Courier or 
whatever. No need to carry around own copies of fonts.

  - Fabian





More information about the Pkg-fonts-devel mailing list