|
01ac32aa
|
2020-08-02T11:35:55
|
|
Remove autotools build support
|
|
694a0c6b
|
2020-07-06T18:28:31
|
|
[meson] Always add icu deps
|
|
aa732e45
|
2020-07-06T00:10:16
|
|
[tests] minor, ligcarets is fetched from gdef not gsub
|
|
122a2897
|
2020-07-05T22:45:11
|
|
[aat] Remove lcar support
Very low use, only two distinct font files, Apple Chancery.ttf and Hoefler Text.ttc
have it so it really doesn't worth the size addition and so, but one may argue that
whole ligature caret is low use but guess we better to encourage GDEF one anyway.
|
|
a3b9b94b
|
2020-07-06T00:05:21
|
|
[style] Remove fdsc support (#2541)
It isn't exposed yet and low use between Apple fonts,
32 fdsc table vs 767 OS/2 tables, even Apple doesn't
support it anymore per Ned.
|
|
831b0900
|
2020-06-28T14:31:21
|
|
rebase draw test as recent roundf changes
|
|
08816117
|
2020-06-20T01:02:50
|
|
[fuzzer] Make some use for test_font API calls
Making some use for result of some of the test_font calls to make
sure compilers in fuzzers aren't just optimizing the calls.
|
|
b4f34539
|
2020-06-20T00:47:00
|
|
[fuzzer] test more of ot-layout APIs
|
|
675854b2
|
2020-06-19T23:27:39
|
|
[test] Add one more test for hb_ot_layout_feature_get_characters
|
|
1bac8582
|
2020-06-18T22:56:07
|
|
[layout] Rename _get_alternates to _get_glyph_alternates
|
|
1348a2c8
|
2020-06-16T21:05:16
|
|
[layout] hb_ot_layout_lookup_get_alternates, a new API
An API to retrieve one-to-one alternates from a given GSUB lookup index.
|
|
973c47f6
|
2020-06-11T11:27:57
|
|
[subset] Move 2 experimental public api methods to be private methods in GSUB/GPOS.
2 methods are: hb_ot_layout_closure_lookups and hb_ot_layout_closure_features
|
|
03bd6ead
|
2020-06-03T23:52:10
|
|
[meson] Only pass required dependencies to everything
Instead of passing dependencies as required we used one giant shared
dependency list containing all dependencies for every library/executable.
While this kinda works, the specified deps are also used for generating
the pkg-config files and this leads to lots of Requires.private and Libs.private
entries which aren't really needed.
This removes the "deps" array and replaces it with a few smaller ones and
makes sure the public libraries only get passed the dependencies actually
needed.
Fixes #2441
|
|
759df465
|
2020-06-04T15:49:54
|
|
[style] Hide behind HB_EXPERIMENTAL_API compile flag
|
|
d54de568
|
2020-04-21T16:33:50
|
|
[style] Adopt with meson
|
|
de0ec5f4
|
2020-02-08T14:09:09
|
|
[style] give ptem value when asked for opsz
ptem, used for AAT's tracking/`trak` table is equivalent to opsz of variable fonts.
For variable AAT fonts, such as SFNS, ideally variable axis of the hb_font_t
should be set and equivalent to ptem, https://crbug.com/1005969#c37
|
|
22037499
|
2019-08-04T11:31:31
|
|
[style] New experimental API, hb_style_get_value
Searches variation axes of a hb_font_t object for a specific axis first,
if not set, then tries to get default style values from different
tables of the font.
|
|
a9d13463
|
2020-05-30T14:17:56
|
|
[meson] Categorize tests using `suite: [...]`
So one can run a category of interested tests like
meson test -Cbuild --suite aots --suite src --print-errorlogs
Intead issuing particular tests which also is possible like
meson test -Cbuild test-shape --print-errorlogs
|
|
b32d169d
|
2020-05-23T13:03:06
|
|
[test] run aat APIs in shape fuzzer
|
|
2264a701
|
2020-05-23T12:14:40
|
|
[tests] some more ligature carets tests
|
|
759ab4fe
|
2020-05-21T08:24:15
|
|
[meson] Use subdir_done to simplify test/api/meson.build
|
|
c68ab4b5
|
2020-05-21T00:25:17
|
|
Fix _get_ligature_caret's oob read issue
AAT::Lookup has no other way to detect whether it is returned from
a real and sanitized font data or from a null pool, this checks if
the table has been recognized valid by sanitizer by checking
table's major version which is zero if returned from a null pool and
non-zero if is from a sanitized font data, it is expected the other
calls of the table (unlikely to have more calls however) also do a
similar version check before calling the lookups used on the table.
|
|
57886e21
|
2020-05-21T06:29:33
|
|
[test] Enable tests fixed by 461cd5a which was regressed by b986fea
|
|
ca2705f1
|
2020-05-21T00:05:42
|
|
[tests] Add more tests for _get_ligature_carets
|
|
b207eab8
|
2020-04-30T11:53:21
|
|
Round-trip OpenType tags through BCP 47
|
|
c1514644
|
2020-05-14T19:12:41
|
|
Merge pull request #2264 from harfbuzz/unicode-13
Update to Unicode 13.0.0
|
|
b2a965df
|
2020-04-22T15:58:41
|
|
[subset] Add support for "--gids" option
cmap subsetting now retains entries associated with any glyph ids explicitly requested
|
|
fd748fac
|
2020-03-15T15:59:31
|
|
Update to Unicode 13.0.0
|
|
e53c44e3
|
2020-04-24T14:06:13
|
|
[subset] temporarily revert previous cmap commit
Required in https://github.com/harfbuzz/harfbuzz/issues/2356
|
|
ac26f19c
|
2020-04-19T22:25:14
|
|
Refactor test/api/meson.build and always run test-unicode test
|
|
c6b3f73b
|
2020-04-19T00:54:24
|
|
[meson] Make harfbuzz-icu separate module optout-able
|
|
8ae06c94
|
2020-04-18T20:22:45
|
|
meson: build a separate library for harfbuzz-icu
This adds a seperate library like with autotools.
This also fixes the ico feature option which was just set to required:false
when disabled instead of really disabling it.
Disabling is still broken with msvc because it then tries to find the library
another way, but that's broken for all other deps as well so I left it as is.
For tests only test-unicode.c is using icu specific functions so split it out
into its own category which depends on harfbuzz-icu.
Fixes #2338
|
|
22f7c61a
|
2020-04-17T23:49:51
|
|
implement SID to glyph ID mapping with predefined Charset
Also fixes oss-fuzz 21769
|
|
fefaa8c8
|
2020-04-17T22:28:09
|
|
[test] define G_APPROX_VALUE and EPSILON only when used
resolves -Weverything bot complain
|
|
29c90322
|
2020-04-17T22:11:40
|
|
Move hb_ot_layout_closure_{features,lookups} behind EXPERIMENTAL flag
|
|
9b7fb5c2
|
2020-04-17T20:12:24
|
|
Move hb_font_get_var_coords_design behind HB_EXPERIMENTAL_API
|
|
7054b122
|
2020-03-24T22:35:41
|
|
[meson] Mark rest of non-install executables explicitly
|
|
68df3f7d
|
2020-03-24T20:58:38
|
|
[meson] test/api, separate subset tests
|
|
9bc792f4
|
2020-03-24T19:37:56
|
|
[meson] Don't set MALLOC_PERTURB_ as it is already set by meson
|
|
f22e92bb
|
2020-03-24T19:32:55
|
|
[meson] Update test/api from autotools
|
|
e248a4e4
|
2020-03-24T18:56:49
|
|
[make] Minor reordering on test/api/Makefile.am
|
|
a3892be7
|
2020-03-14T01:08:15
|
|
[meson] fix spurious warning when building test/api C sources
Fixes compiler warning
test-unicode.c:589:1: warning: ‘test_unicode_properties_lenient’ defined but not used
which didn't happen with autotools.
Reason it does with meson is that the setup for C was slightly wrong.
We would only add -DHAVE_CONFIG_H to cpp_args which is only valid when
compiling C++ code, but not plain C code, and many of these tests were
plain C.
Instead pass -DHAVE_CONFIG_H via add_project_arguments() and make sure
to set both c_args and cpp_args when building test executables.
Fixes https://github.com/harfbuzz/harfbuzz/issues/2257
|
|
755a77d6
|
2020-01-29T22:26:04
|
|
Move outline draw API behind HB_EXPERIMENTAL_API directive
|
|
c494d7ab
|
2020-03-11T19:44:13
|
|
Remove cmake testing and add meson build bot
CMake tests are broken anyway as py3 changes so let's get rid of them
|
|
04438554
|
2018-11-15T00:25:41
|
|
meson: Update build files after rebase
|
|
618584e9
|
2018-11-14T20:19:36
|
|
meson: rename incbase to incconfig
Makes it clearer what it's for: config.h. See #4.
|
|
920efc0e
|
2018-05-17T01:28:53
|
|
Add Meson build definitions
Fixes #490
http://mesonbuild.com
|
|
6924e29f
|
2020-03-03T13:11:11
|
|
[var] Fix hb_ot_var_get_axis_infos's offset semantic
The API was adding offset to input's infos buffer index also which is
unusual between our APIs and wrong.
|
|
c05458ec
|
2020-03-02T16:51:19
|
|
update cff & cff2 subsetters
|
|
44169f33
|
2020-02-29T16:04:03
|
|
[draw] Fix invalid rendering of some glyph on Estedad-VF
Basically reverts 11f3fca so I can do the same tested and better later
Fixes #2215
|
|
84163c83
|
2020-02-26T15:58:11
|
|
[draw] Skip commands and paths not contributing anything
They aren't contributing to rendering and making issue for stroking, let's skip them
ourselves as Skia does also https://skia-review.googlesource.com/c/skia/+/268166
They are useful for extracting extents and so which that functionality won't be effected by this change.
|
|
c400cb88
|
2020-02-25T16:06:03
|
|
Re-implement hb_set_t::del_range (#2194)
* optimize hb_set_del_range()
fix issue #2193
* fixed bug & added tests
* coding & comment tweaks
|
|
4081439d
|
2020-02-25T15:03:12
|
|
tweak reflecting review & add test cases
|
|
152000d9
|
2020-02-25T20:07:25
|
|
[fuzz] Practice variations on font object
|
|
173b745d
|
2020-02-24T22:56:57
|
|
fixed bug & added tests
|
|
a5012e97
|
2020-02-24T17:09:48
|
|
optimize hb_set_del_range()
fix issue #2193
|
|
1f5a54c7
|
2020-02-24T13:18:24
|
|
[gvar] fix infinite loop introduced by 11f3fca
The attempt on removing end_points had made the code unreadable
and has intrdouced infinite, fixed by making the code clear what
it tries to achieve.
|
|
0cf050a7
|
2020-02-23T23:00:48
|
|
[draw] Merge consequent move-to commands of CFF/CFF2
|
|
86bd5a0b
|
2020-02-23T22:46:26
|
|
[draw] End CFF paths with a line-to
Issue a line-to command when start and end point of a path isn't same, matches freetype also.
|
|
8c652f72
|
2020-02-19T16:32:44
|
|
Minor, switch to https links where possible
|
|
60f8f384
|
2020-02-17T10:11:49
|
|
[glyf] Switch to ttf-parser's glyf to path algorithm
It consumes each point at a time and doesn't need to know contour size before hand
|
|
1c015d3e
|
2020-02-12T19:19:37
|
|
[fuzz] minor fuzzer case move, oops
|
|
49341fae
|
2020-02-12T19:15:16
|
|
[fuzz] minor, move two fuzzer cases to their correct place
|
|
97229244
|
2020-02-12T15:41:22
|
|
[fuzzer] Fix hb-set-fuzzer minor overflow issue
Size shouldn't be smaller than the struct not its pointer size.
Fixes https://crbug.com/oss-fuzz/20655
|
|
ab2d3ec5
|
2019-08-14T18:42:51
|
|
[var] Implement hb_font_get_var_coords_design
Hold design coords and simulate when normalized coords are set directly.
|
|
2742c816
|
2020-01-28T13:55:31
|
|
Fix page_map corruption in hb_set_t during process().
If a process operation results in less pages then the current set has, it will likely corrupt the page_map since it overwrites page_map entries ahead of where it's processing. This fixes that problem by removing page_map entries that will be dropped. Then dropping orphaned pages and re-indexing retained pages.
|
|
b4d3bf1d
|
2020-02-02T14:32:38
|
|
[draw] Add hb_draw_funcs_is_immutable and hb_draw_funcs_make_immutable
|
|
63b8190d
|
2020-02-06T11:38:11
|
|
[test] minor
Remained from previous naming.
|
|
3a98c7fa
|
2020-02-06T01:11:00
|
|
[glyf] Skip empty contours
As https://savannah.nongnu.org/bugs/index.php?57701
|
|
c31762e9
|
2020-02-05T23:12:37
|
|
[test] minor
don't test first ten glyph, just testing cp just like other API calls is enough
|
|
43253e40
|
2020-02-05T17:45:19
|
|
Merge remote-tracking branch 'upstream/master'
|
|
774725b4
|
2020-02-05T07:43:10
|
|
[subset] Avoid incorrectly dropping cmap for NotoColorEmoji.ttf
NotoColorEmoji.ttf uses two cmap subtables
Format 14 | Platform ID 0 | Platform Encoding ID 5
Format 12 | Platform ID 3 | Platform Encoding ID 10
This combination results in the cmap table being dropped during subsetting despite being valid/required.
|
|
e128f802
|
2020-01-21T13:35:43
|
|
parent 777ba47b50f6379b9f9abf1d72559316b7116b9e
author ckitagawa <ckitagawa@chromium.org> 1579631743 -0500
committer ckitagawa <ckitagawa@chromium.org> 1580506176 -0500
[subset] Add CBLC support
|
|
7d542a52
|
2020-01-29T10:20:00
|
|
Refactor to two iterators
|
|
49b98e86
|
2020-01-24T15:39:02
|
|
Fix nullptr de-reference failure if both blobs in a subset test are 0 in size
|
|
ed857c46
|
2020-01-24T08:52:23
|
|
[subset] Add COLR support
|
|
d106900b
|
2020-01-28T15:26:13
|
|
[draw][glyf] Implement quadratic to cubic call translation
|
|
74fdcdca
|
2020-01-28T13:45:22
|
|
[draw] Rename conic_to to quadratic_to
|
|
ac81e940
|
2020-01-28T12:34:47
|
|
Rename hb_outline_decompose to hb_font_draw_glyph and hb_outline_decompose_funcs_t to hb_draw_funcs_t
|
|
981125aa
|
2020-01-25T21:31:36
|
|
Rename hb_ot_glyph_* to hb_outline_*
|
|
30857089
|
2020-01-27T21:16:57
|
|
[test][glyph] add subcomponent scale test
|
|
1438bae7
|
2020-01-26T23:48:30
|
|
[ot-glyph] Add fontkit non variables fonts tests
|
|
9bb1c79a
|
2020-01-26T22:10:47
|
|
[ot-glyph][test] Avoid sprintf use
|
|
99f8e52d
|
2020-01-26T17:02:11
|
|
[ot-glyph] Add fontkits's variations toSVG tests
|
|
e44982f5
|
2020-01-26T14:30:03
|
|
[ot-glyph] Add ttf-parser's outline_glyph tests
|
|
36a5c042
|
2020-01-21T13:37:28
|
|
[subset] Add "--name-languages" and "--name-legacy" options
Make name table subsetting consistent with fontTools
|
|
5532374f
|
2020-01-23T20:27:21
|
|
[ot-glyph] Add a test for #2053
|
|
e171beeb
|
2020-01-24T19:51:21
|
|
Revert "[subset] Add "--name-languages" and "--name-legacy" options"
Causes tests failures, please reapply when tests are fixed, thanks.
This reverts commit fd85818b5b85fb0ad2db71c60e94ca0689d38bca.
|
|
fd85818b
|
2020-01-21T13:37:28
|
|
[subset] Add "--name-languages" and "--name-legacy" options
Make name table subsetting consistent with fontTools
|
|
c370da45
|
2020-01-22T11:36:15
|
|
[subset] Cmap table: remove encodingRecord entry for empty cmap4 subtable
|
|
acb4627e
|
2020-01-22T12:28:30
|
|
add api test
|
|
7633b769
|
2020-01-23T18:51:40
|
|
Merge pull request #2016 from ebraminio/glyf
Implement glyph outline path API
|
|
02f324c9
|
2020-01-23T15:12:12
|
|
[ot-glyph] remove open callback
Apparently it wasn't requested actually and can be detected easily
as paths are opened usually when move command is issued anyway.
|
|
684ff3e0
|
2020-01-23T14:48:59
|
|
[ot-glyph] noop->nil, fix close path
|
|
72cbfb90
|
2020-01-18T16:35:52
|
|
remove empty lookup subtables
Added a variant of subset_offset_array which takes an extra arg passed to serialize_subset for this impl.
Added a new api test "test-subset-gpos" for this.
|
|
e565d1f9
|
2019-11-01T10:21:36
|
|
[subset] subset lookup/feature/script lists for GSUB/GPOS
|
|
93376a64
|
2020-01-15T13:11:40
|
|
Add unittests
|
|
79fed9a1
|
2020-01-14T17:23:30
|
|
[ot-glyph] Add open/close callbacks
|
|
ec1fba13
|
2020-01-13T19:31:18
|
|
[ot-glyph] make hb_ot_glyph_decompose_funcs_t struct opaque
|
|
d7c3cb18
|
2020-01-13T17:35:57
|
|
[ot-glyph] minor on tests
|