First successful rewritten cmap table
This commit is contained in:
parent
bc3c94db56
commit
af3904ff7d
|
@ -473,6 +473,8 @@ let subset_font major minor tables indexToLocFormat subset encoding cmap loca mk
|
||||||
write_loca_table subset cmap indexToLocFormat bs loca
|
write_loca_table subset cmap indexToLocFormat bs loca
|
||||||
else if string_of_tag tag = "glyf" && subset <> [] then
|
else if string_of_tag tag = "glyf" && subset <> [] then
|
||||||
ignore (write_glyf_table subset cmap bs mk_b glyfoffset loca)
|
ignore (write_glyf_table subset cmap bs mk_b glyfoffset loca)
|
||||||
|
else if string_of_tag tag = "cmap" && subset <> [] then
|
||||||
|
ignore (write_cmap_table subset cmap bs)
|
||||||
else
|
else
|
||||||
match findtag tag with
|
match findtag tag with
|
||||||
| (og_off, Some len) ->
|
| (og_off, Some len) ->
|
||||||
|
|
Loading…
Reference in New Issue