[Pkg-cups-devel] Bug#663192: Bug#663192: cups-filters: Please add support for embedding of Opentype fonts

Tobias Hoffmann lprint-list at thax.hardliners.org
Fri Mar 9 21:53:04 UTC 2012


Till Kamppeter wrote:
> There are not really time constraints. For Ubuntu Precise 12.04 
> cups-filters 1.0.5 with texttopdf being fully fontconfig-based is 
> enough. Precise comes with suitable TTF fonts. Currently, the change 
> is more thought for upstream to be prepared for the first distros 
> which drop TTF fonts.
Ok. I've looked a bit more into it now; the metrics are actually 
available in the usual form (hmtx-table). The only issue seems to be 
whether to only support PDF 1.6 (native OTF-CFF support), or also 
earlier versions, starting with PDF 1.2, which requires extraction of 
the CFF chunk (haven't looked at the details yet). Actually we currently 
claim PDF 1.3, but I'm not so sure, that I don't already use PDF1.6. 
features (libfontembed is called with EMB_DEST_PDF16 ...).

I think that at least basic (non-subsetting) CFF support can/should be 
available and is easy enough to provide. At least PDF >=1.6 support 
seems achievable in a reasonably short timeframe.
Everything else can be added when there is an actual need.

   Tobias

PS: The term "SFNT-flavoured OTF" in my previous message is rubbish; 
what I meant was "glyf-flavoured".





More information about the Pkg-cups-devel mailing list