yuqigong / sfntly

Automatically exported from code.google.com/p/sfntly
0 stars 0 forks source link

Multiple References to Sub-tables cause multiple sub-tables to be created on serialization #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open a font for editing.
2. Edit a table that has multiple references to the same subtable. e.g. cmap 
table that has 2 or more references to the same cmap subtable - Mac and Windows 
encoding records point to same format 4 subtable
3. Serialize the font

What is the expected output? What do you see instead?

There should only be one subtable in the serialized font instead of two. Need 
to have a way to separate them for editing separately but also a way to keep 
them together.

This issue applies to other subtables in other tables too.

Original issue reported on code.google.com by stua...@google.com on 9 Dec 2011 at 7:48