[cairo] ask for advice about cairo's user_font

Carl Worth cworth at cworth.org
Fri Jul 24 12:55:47 PDT 2009


On Fri, 2009-07-24 at 21:55 +0930, Adrian Johnson wrote:
> James Cloos wrote:
> > The font's main object is object 5.  Object 41 is the /ToUnicode reference
> > of object 5, object 39 is the /Encoding reference, and object 40 is the
> > mapping between the glyph names and their procedures.
> > 
> > It looks like the only bug is that object 41 lacks an entry for <00>.
> 
> Thanks for the analysis. I changed user font PDF output a while ago to 
> allow glyph 0 to be used but overlooked the need to update the ToUnicode 
> stream as well. I've pushed a fix for this.

Great work, both James and Adrian!

I'm glad we didn't let this little mention of a bug go unnoticed on the
mailing list.

Have fun, everyone,

-Carl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.cairographics.org/archives/cairo/attachments/20090724/2b526556/attachment.pgp 


More information about the cairo mailing list