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
David Corbett
018ba46e4d
Don't canonicalize '@' to '-' in language tags
...
Fixes #1406 .
6 years ago
Behdad Esfahbod
f48bb9a393
[var] Deprecated axis enumeration API and add new version
...
New version has axis flags.
New API:
+hb_ot_var_axis_info_t
+hb_ot_var_find_axis_info()
+hb_ot_var_get_axis_infos()
Deprecated API:
-HB_OT_VAR_NO_AXIS_INDEX
-hb_ot_var_axis_t
-hb_ot_var_find_axis()
-hb_ot_var_get_axes()
6 years ago
Behdad Esfahbod
831ba74382
Fix Codacy "issues"
6 years ago
Michiharu Ariza
b67a7c731f
drop dotsection as hint along with test case
6 years ago
Michiharu Ariza
072c7aba92
use 2-byte offset instead of 4-byte for local subrs
...
more than enough since local subrs immediately follow its corresponding private dict, as the result 2-byte redunction for each font dict with local subrs
updated api test expected subset fonts accordingly
6 years ago
Michiharu Ariza
3787c07856
Implemented seac for extents & subset along with API tests
6 years ago
Michiharu Ariza
0dfa584cb4
changed Adobe company name
6 years ago
Ebrahim Byagowi
b986fead0a
Hook AAT's lcar to _get_ligature_carets
6 years ago
Michiharu Ariza
0996c0ff62
implented no-desubroutinize with CFF2 along with API test
...
replaced AdobeVFPrototype.abc.otf with a hinted (maually) & subroutinized copy
replaced expected results as well
6 years ago
Khaled Hosny
5c3ccbc634
Another missing backlash
...
Did this ever work?
6 years ago
Khaled Hosny
d29602b962
Add missing backslash
6 years ago
Behdad Esfahbod
b062378ce6
[test] Minor
6 years ago
Ebrahim Byagowi
b6112e5ea4
[test] Fix -Weverything bot complain
6 years ago
Ebrahim Byagowi
a49df419f0
[test] Test hb_ot_name_{list_names,get_utf8} on test-ot-name
6 years ago
Behdad Esfahbod
6482fda519
[fuzzing] Fuzz glyph-id etc in test-ot-face
6 years ago
Behdad Esfahbod
bce437cf0b
[test] Call test-ot-face.c test from hb-shape-fuzzer
...
Should increase coverage...
6 years ago
Behdad Esfahbod
777c22425c
[test] More funcs in test-ot-face
6 years ago
Behdad Esfahbod
9779e602ed
[test] Add test for empty face
6 years ago
Ebrahim Byagowi
b8a78ce201
[BASE] Improvements ( #1347 )
6 years ago
Michiharu Ariza
34b06d994a
fixed FDSelect size calcluation
6 years ago
Michiharu Ariza
1bc710a8c9
added CFF1 desubr api test cases & bug fixes
6 years ago