Garret Rieger
Garret Rieger
Since the shaper may automatically apply decompositions or compositions of characters even if there are no GSUB rules in a font for them. For a subset to be fully correct...
Instead of providing an API which lists all entries encoded in a format 1 table instead provide an API which provides all entries which intersect a subset definition. This allows...
A u32 containing intset can have up to u32::MAX + 1 elements in it which can overflow a usize when usize is a u32. Fixes #1057
cmap14 subsetting code was not considering variation selectors in the input unicode set when deciding which variant glyphs to keep. This updates subsetting to only keeps variant glyphs if their...
Reproduction: ``` $util/hb-subset --font-file=test/subset/data/fonts/NotoSansJP-VF.subset.otf --output-file=a.otf --unicodes=61,63,5009 --drop-tables+=DSIG,BASE --drop-tables-=sbix --retain-gids $ util/hb-subset --font-file=test/subset/data/fonts/NotoSansJP-VF.subset.otf --output-file=b.otf --unicodes=61,63,5009 --drop-tables+=DSIG,BASE --drop-tables-=sbix --retain-gids --preprocess $ ttx -l a.otf b.otf | grep HVAR HVAR 0x00160043 50 544...