Michiharu Ariza
d2a0149c29
added api test for subset VVAR & bug fix
...
added a mod copy of SourceSerifVariable-Roman.ttf with VVAR as a test font
2019-03-21 18:09:37 -07:00
Michiharu Ariza
8ec279072e
Merge branch 'var-subset' of https://github.com/harfbuzz/harfbuzz into var-subset
2019-03-21 10:38:12 -07:00
Michiharu Ariza
0593a95e28
refix short count
2019-03-21 10:36:53 -07:00
Michiharu Ariza
5390e39342
Merge branch 'var-subset' of https://github.com/harfbuzz/harfbuzz into var-subset
2019-03-21 10:21:50 -07:00
Michiharu Ariza
084be9a0f4
Merge branch 'master' into var-subset
2019-03-21 10:21:31 -07:00
Michiharu Ariza
5f15fca662
fix short count optimization
2019-03-21 10:18:03 -07:00
Michiharu Ariza
3faaa52aa7
regenerated expected full fonts data after fontTools bug 1550 fixed
2019-03-21 09:50:53 -07:00
Michiharu Ariza
325918172e
added TT VF full font test & fixed bugs
...
updated CFF2 VF api test results too
2019-03-20 15:10:59 -07:00
Michiharu Ariza
92bc740558
update CFF2 test results
2019-03-19 18:23:14 -07:00
Michiharu Ariza
1051faf7aa
add api test cases for HVAR with index map (and fix)
2019-03-19 16:00:01 -07:00
Michiharu Ariza
0576253a34
add gvar & HVAR retain-gids test cases
2019-03-19 12:34:03 -07:00
Michiharu Ariza
6dd1077b68
fix test build
2019-03-19 01:00:53 -07:00
Michiharu Ariza
2e6038a209
add api tests for subset gvar & HVAR; bug fixes
2019-03-19 00:41:41 -07:00
Michiharu Ariza
aeddb30f87
replaced tt var api test with a composite glyph
...
for better coverage
2019-03-18 18:11:00 -07:00
Michiharu Ariza
560bcd7744
move rounding advance width to glyf
2019-03-18 17:50:20 -07:00
Michiharu Ariza
c7edd14dc9
fix empty glyf's advance width
2019-03-18 17:16:43 -07:00
Michiharu Ariza
9d3a252030
add api test for tt var advance widths
...
stripped HVAR from SourceSansVariable-Roman.abc.ttf so glyf gets parsed
2019-03-18 15:39:10 -07:00
Michiharu Ariza
9d9d5c706b
fix build
2019-03-18 10:48:53 -07:00
Michiharu Ariza
b6cc838888
fix composite glyf extents
2019-03-17 22:49:18 -07:00
Michiharu Ariza
597ad4df0c
fix unpack_points
2019-03-17 18:45:30 -07:00
Michiharu Ariza
cabe22fc69
fix infer_delta
...
code cleanup
2019-03-17 17:48:10 -07:00
Michiharu Ariza
c8b31773a6
added explicit casts to metrics
2019-03-17 16:01:49 -07:00
Michiharu Ariza
8a7998fd6c
moved most of var code from gvar to glyf
...
initialize phantom points from metrics from htmx/vmtx & glyf bbox before execution
added source file hb-ot-hmtx-table.cc to call glyf from hmtx/vmtx indirectly & temporarily, workaround a cyclic reference between the two
2019-03-17 15:36:26 -07:00
Michiharu Ariza
00b2653ac3
add components transformation
2019-03-16 16:27:33 -07:00
Michiharu Ariza
434ea06841
fix tt var extents & add test
2019-03-16 00:08:03 -07:00
Michiharu Ariza
bcb4e505d6
cff2 subset fuzzer issues ( #1619 )
...
* add check to FDArray::serialize
* add test files
* fix off by one
2019-03-15 13:46:25 -07:00
Michiharu Ariza
a5118c1db5
Merge branch 'var-subset' of https://github.com/harfbuzz/harfbuzz into var-subset
2019-03-15 10:33:03 -07:00
Michiharu Ariza
079c386ca8
Merge branch 'master' into var-subset
2019-03-15 10:12:19 -07:00
Michiharu Ariza
90ea140aca
Merge branch 'var-subset' of https://github.com/harfbuzz/harfbuzz into var-subset
2019-03-14 16:58:19 -07:00
Michiharu Ariza
d23c201f5d
add gvar::get_extents
2019-03-14 16:58:02 -07:00
Michiharu Ariza
dde8bb1f6d
fix build
2019-03-14 16:58:02 -07:00
Michiharu Ariza
5ec65f779b
minor edits
2019-03-14 16:58:02 -07:00
Michiharu Ariza
2d7ad3f28b
build fix attempt
2019-03-14 16:58:02 -07:00
Michiharu Ariza
cf2ef92c74
more build fixes
2019-03-14 16:58:02 -07:00
Michiharu Ariza
ae0a557c2e
fix build attempt
2019-03-14 16:58:02 -07:00
Michiharu Ariza
baf2ccf147
calculate VF advance widths from gvar & glyf
2019-03-14 16:58:02 -07:00
Michiharu Ariza
0b1ae2385b
gvar::subset()
2019-03-14 16:58:02 -07:00
Michiharu Ariza
eddbc9d0db
Added hb-ot-var-gvar-table.hh
...
implemented sanitize()
placeholder subset()
some code cleanup
2019-03-14 16:58:02 -07:00
Michiharu Ariza
f289ffe5ea
renamed hb_map2_t to hb_bimap_h in its own .hh
2019-03-14 16:58:02 -07:00
Michiharu Ariza
8563169291
subset VVAR & outer indices
2019-03-14 16:58:02 -07:00
Michiharu Ariza
08dc86594b
unuse set in hb_map2_t impl
...
also some code cleanup
2019-03-14 16:58:02 -07:00
Michiharu Ariza
1b13cc775c
fixed compiler gripes
2019-03-14 16:58:02 -07:00
Michiharu Ariza
c485b77c7c
fix CFF2 local subr subsetting
...
bug exposed by impl change of fdmap
also fixed name of subr_remap_ts as subr_remaps_t
2019-03-14 16:58:02 -07:00
Michiharu Ariza
c9b07c75a1
fix HVAR & VarStore subsetting
2019-03-14 16:58:02 -07:00
Michiharu Ariza
c8420109cc
subset HVAR
...
Re-implemented & repurposed CFF:remap_t as hb_map2_t (moved to hb-ot-layout-common.hh) for two-way mapping for use by index map subsetting.
Hooked up HVAR subsetter through _subset2.
Some renaming in CFF code.
2019-03-14 16:58:02 -07:00
Ebrahim Byagowi
8aaab78efc
Allow zero length ranges in sanitization ( #1617 )
...
Fixes fvar table sanitization where there are no named instance
by allowing zero length ranges starting from Null() address.
Fixes #1607
2019-03-14 16:49:42 -07:00
Khaled Hosny
b1dfb8c850
[ci] Cache FreeType build on Travis
2019-03-14 23:16:26 +02:00
David Corbett
7de9f92ee9
Categorize U+09FC as Consonant_Placeholder
2019-03-13 12:59:56 -07:00
Khaled Hosny
8b1eaecd94
[ci] Simplify and fix Travis CI macOS build
2019-03-13 14:59:43 +02:00
Michiharu Ariza
99502b324d
add gvar::get_extents
2019-03-12 11:03:53 -07:00