vhea: Failed to parse metrics in vhea

57 views
Skip to first unread message

hicheng bi

unread,
Aug 13, 2015, 8:46:55 PM8/13/15
to sfntly-users
sfnttool subset a font success, but browser can not parse vhea table.

metrics: Bad number of metrics 25185

Failed to parse metrics in vhea

Rich Taylor

unread,
Aug 17, 2015, 6:23:55 PM8/17/15
to sfntly-users
I looked at the source code and you are correct - sfntly doesn't have code to parse any of the
vertical metrics tables (vhea, vmtx or VMDX).  The tables will be loaded into memory, but there
is no code to easily extract or edit values.

To add that support I would look at copying the horizontal metrics table code
and editing it to support corresponding vertical tables.

The originator of this project doesn't seem to be doing any work to maintain the
code, so fixes and improvements are, I believe, DIY.

-= Rich Taylor
Reply all
Reply to author
Forward
0 new messages