David Corbett
4f37c0db9b
Remove 'mym3'
6 years ago
Behdad Esfahbod
87dd4bff1c
[math] Rename HB_MATH_GLYPH_PART_FLAG_EXTENDER
...
To HB_OT_MATH_GLYPH_PART_FLAG_EXTENDER. Added a deprecated macro.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1734
6 years ago
Ebrahim Byagowi
8a13371847
[test] minor, fix copyright
...
nothing important, fixing a copy paste error inconsistency
6 years ago
Rod Sheeter
e662532833
[subset] Cppcheck complaints
6 years ago
Qunxin Liu
993d81b9c5
[subset] Add one ttf file with fvar/STAT tables to integration test
...
Ignore gvar/MVAR/HVAR table
add support for --nameIDs=* option
6 years ago
Rod Sheeter
51a0129f73
[subset] Thar be comparison of integers of different signs
6 years ago
Rod Sheeter
349d692b0e
[subset] Iter in and out for loca
6 years ago
Rod Sheeter
5cedda5e4a
[subset] Fix null pointer deref, tidy up a bit
6 years ago
Rod Sheeter
8a84b540c7
[subset] Tests passing using iterator based glyf
6 years ago
rsheeter
3a4c928fcf
[subset] Fix glyf tests except hint stripping & local test asan
6 years ago
Garret Rieger
0ff3618c2d
[subset] Use hb_subset_input_t inside of subset_options_t so that input defaults are shared between the library and cli.
6 years ago
Garret Rieger
3be0ffe45d
[subset] Add drop tables to subset input.
6 years ago
Garret Rieger
6555f20958
[subset] Truncate empty gids at the end in retain-gids mode.
6 years ago
Behdad Esfahbod
f39934983f
[ucdn] Fix Hangul composition
...
https://github.com/grigorig/ucdn/issues/23
6 years ago
Behdad Esfahbod
148d883680
[test] Don't call deprecated API
6 years ago
Garret Rieger
e8ef0e627c
[subset] WIP convert hdmx subsetting to use iterators.
6 years ago
Behdad Esfahbod
5ac4ab6868
[subset] fix for name table serializing with new serializer machinery
6 years ago
Qunxin Liu
1ca4b5c770
[subset] Add unit test for str de-dup
...
Also move the implementation of some methods from the .cc to the .hh
6 years ago
Qunxin Liu
6faac8df83
[subset] Subsetting Name Table Step 4
...
Add unit test and integration test
6 years ago
Behdad Esfahbod
42f4bd6b80
Minor warning fix again
6 years ago
David Corbett
6745a600bf
Comment out ot_languages where fallback suffices
6 years ago
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
6 years ago
Garret Rieger
4f37ab63de
Make hb_subset_input_glyph_set () actually do something.
6 years ago
Michiharu Ariza
e2856c2d85
retain FDSelect & FDArray with --retain-gids
...
so in sync with fonttools behavior
6 years ago
Michiharu Ariza
c12862657f
added desubroutinize & retain-gids full test cases with CFF fonts
...
and CFF retain-gids fixes
6 years ago
Michiharu Ariza
f2908b4d8f
Implement subset --regain-gids option with CFF1/2
...
along with api tests & expected results
6 years ago
Garret Rieger
ccc59dc612
[subset] Add unit test for glyf subsetting and retain gids.
6 years ago
Behdad Esfahbod
789396ed6b
Remove wrongly added files
6 years ago
Behdad Esfahbod
6fc6a141e6
Remove wrongly added files
6 years ago
Michiharu Ariza
28917e58f9
init interp_env_t::hintmask_size
...
fixes issue #1547
6 years ago
Behdad Esfahbod
686e6f2e40
Fix automake warnings
...
[skip ci]
6 years ago
fanc999
3ee4ea9456
Fix build on older Visual Studio versions ( #1499 )
...
* src/hb-cff-interp-dict-common.hh: Use ull for unsigned int64_t
The llu suffix does not work for older Visual Studio versions
(pre-2013), but ull works for all the compilers that we attempt to
support.
* test/api: Fix build on pre-C99 compilers
Ensure variables are declared at the top of the block.
* src/hb-dsalgs.hh: Add specialization for hb_is_signed<> for __int8
Pre-Visual Studio 2010 does not consider __int8 (which is typedef'ed to
int8_t) to be equivilant to signed char, so the compiler cannot find the
corresponding hb_is_signed<> specialization that is needed.
The interesting thing is unsigned __int8 is considered to be equivilant
to unsigned char, so as the other types (short, int, long) that we look
for here, so only the specialization for __int8 is added here.
This will fix builds on Visual Studio 2008 at least.
6 years ago
Chun-wei Fan
1e09add232
test/api: Fix building on pre-C99 compilers
...
Ensure variables are declared at the top of the block.
6 years ago
Michiharu Ariza
c48f53d309
more double changes
6 years ago
Michiharu Ariza
5fff6ab002
additional precision made a difference in extents test
6 years ago
Ebrahim Byagowi
01f628cf55
[aat] Expose hb_aat_layout_has_tracking API
6 years ago
Behdad Esfahbod
967a204ee9
Minor
6 years ago
Behdad Esfahbod
926f512f35
[aat.feat] Rework API and implementation
...
Fixes https://github.com/harfbuzz/harfbuzz/pull/1346
6 years ago
Behdad Esfahbod
2cb235d021
[aat.feat] Fix enum namespace
6 years ago
Behdad Esfahbod
e20f81f4fa
[aat] Rename feat API a bit more
6 years ago
Ebrahim Byagowi
54f4c17f0a
[feat] Rename API uses of setting to selector
6 years ago
Ebrahim Byagowi
9c64b216ec
[feat] Apply renamings and add documentation
6 years ago
Ebrahim Byagowi
4009a05ca7
[feat] Address Behdad comments
6 years ago
Ebrahim Byagowi
19b6025534
[feat] Address @behdad comments
6 years ago
Ebrahim Byagowi
fbad794bd2
[feat] Add feature iteration API
6 years ago
Ebrahim Byagowi
7a0471aa35
[feat] Turn AAT feature id into enum
6 years ago
Ebrahim Byagowi
a157b3e4eb
[feat] Apply @behdad comments
6 years ago
Ebrahim Byagowi
3aff3f822f
[feat] Apply @drott and @jfkthame comments
6 years ago
Ebrahim Byagowi
b791bbbae4
[feat] Apply @jfkthame reviews
6 years ago
Ebrahim Byagowi
95abd53758
[feat] Expose public API
...
* hb_aat_get_feature_settings
6 years ago