ghiewa / freetype-go

Automatically exported from code.google.com/p/freetype-go
Other
1 stars 0 forks source link

Fix TTC parsing #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have no idea how to submit patches, so forgive me if this is an inappropriate 
venue.

Attached is a patch fixing TTC parsing.
The constant 12 was hardcoded instead of using `offset`.

Tested on a TTC v2.0 file, I don't have a v1.0 file to test on but based on 
what I understand of the file format I don't think there should be any issues 
with that.

Original issue reported on code.google.com by magician...@gmail.com on 10 Sep 2014 at 4:30

Attachments:

GoogleCodeExporter commented 9 years ago
The patch process for freetype-go is the same as it is for the regular Go 
source code repository, and is documented at 
http://golang.org/doc/contribute.html

In particular, you will need to submit a Contributor License Agreement, as 
described at the bottom of that page.

If you don't care about attribution, and just want TTC v2 files to work, then 
if you e-mail the font file to <nigeltao@golang.org>, and I'll cook up my own 
version of the patch.

Thanks for the bug report.

Original comment by nigel...@golang.org on 23 Sep 2014 at 7:15