Re: [PATCH] type1-subset: always include subroutine 4 (hint replacement idiom)

Adrian Johnson <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
On 22/12/12 12:05, David Maxwell wrote:
> This patch is an update to commit 0d5f637 that addressed Flex/ hint
> replacement subroutines and type 1 font subsetting.  The previous
> commit ensured that subroutines 0 to 3 were always included in a
> subsetted  type 1 font.  If these subroutines are absent, the
> cgpdftops CUPS filter on OS X crashes.  It turns out that subroutine
> 4, although not part of the official Type 1 spec for  Flex/ hint
> replacement, is idiomatically used along with subroutines 0-3.  If
> subroutine 4 is absent,  cgpdftops crashes similarly.  I missed this
> case in testing because subroutine 4 was coincidentally already being
> included in the test cases.

Pushed. Thanks for the patch.
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.