mirror of
https://github.com/johnwhitington/cpdf-source.git
synced 2025-06-05 22:09:39 +02:00
First successful rewritten cmap table
This commit is contained in:
@@ -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) ->
|
||||||
|
Reference in New Issue
Block a user