|
3c792c2a
|
2020-02-17T07:18:08
|
|
add test cases for hb_unwrap_type
|
|
168ceeac
|
2020-02-14T11:56:56
|
|
renamed to hb_unrwap_type(); now recursive
|
|
71552ecc
|
2020-02-13T12:58:22
|
|
add hb_get_type
|
|
65858463
|
2020-02-16T17:16:29
|
|
pop_pack(share=false) in end_serialize()
issue #2177
|
|
39fb57c0
|
2020-02-16T08:38:41
|
|
add share option to pop_pack() (#2176)
as a solution for #2164
|
|
9c6499d9
|
2020-02-16T00:56:31
|
|
rewrite read_points() to take lambda & consts args
replacing awkward x/y_setter_t structs
|
|
a94d1af1
|
2020-02-12T19:25:10
|
|
[fuzz] minor style fixes
|
|
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
|
|
d663e28a
|
2020-02-12T15:41:21
|
|
[serialize] Catch signedness overflows in check_assign()
Should address https://github.com/harfbuzz/harfbuzz/pull/2163#pullrequestreview-355137936
|
|
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
|
|
7b42403c
|
2020-02-11T12:25:57
|
|
Add explicit values to the set fuzzer enums.
|
|
e8059233
|
2020-02-11T12:20:54
|
|
Add a few basic seeds for the set fuzzer.
|
|
ff984ed3
|
2020-02-11T19:50:51
|
|
Use multiplication to avoid undefined behaviour per clang
Newer versions of MSVC with /we4146 don't like putting negative sign behind a
unsigned number as https://github.com/harfbuzz/harfbuzz/pull/2069
That however have made https://crbug.com/1050424 this complain:
src/hb-ot-color-sbix-table.hh:304:28: runtime error: negation of -2147483648 cannot be represented in type 'int';
cast to an unsigned type to negate this value to itself
which apparently can be fixed using this change.
Let's see if this won't make another ubsan complain!
|
|
21e1b131
|
2020-02-11T17:08:55
|
|
[colr] minor style fix
|
|
cbb45c3e
|
2020-02-11T16:46:14
|
|
[subset/colr] minor improve to resolve msvc complain
MSVC says,
hb-ot-color-colr-table.hh(215): warning C4700: uninitialized local variable 'new_record' used [build\harfbuzz-subset.vcxproj]
harfbuzz-subset.vcxproj -> build\Debug\harfbuzz-subset.lib
|
|
bca9bc6b
|
2020-02-06T13:02:58
|
|
Add hb-set-fuzzer.
It fuzzes all of the hb_set process methods (intersection, subtraction, union, and symmetric difference).
|
|
352ac63e
|
2020-02-11T03:03:03
|
|
Fix an unlikely UAF on the deprecated _set_glyph_func API
Fixes https://github.com/harfbuzz/harfbuzz/issues/2168
|
|
6a390df8
|
2020-02-10T17:19:23
|
|
[tools] Print unicode links on gen-* tools output
As Behdad's review
|
|
4dc87365
|
2020-02-09T18:39:33
|
|
Add links to files used by python scripts.
Closes #2150
|
|
40166eb0
|
2020-02-08T13:17:06
|
|
[var] Fix the just introduced hb_font_set_var_coords_design storing bug
The memcpy call was using the current coords count which is zero initially so no copy at all.
Sad that no test has caught it, should see why, will however with the upcoming style API tests.
|
|
5c1a023f
|
2020-02-08T10:57:07
|
|
[tool] Optimize COLR glyph dump
Move palette colors fetching out of gid iteration so not
fetching all the colors of a palette each time.
|
|
0b76e813
|
2019-08-20T15:15:22
|
|
Don't use _normalize_variations to avoid twice axis fetch
|
|
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.
|
|
5a10f3a0
|
2020-02-07T10:38:27
|
|
Use vector instead of map during page compaction in hb-set.
|
|
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.
|
|
eb7849a8
|
2020-02-05T15:29:03
|
|
[subset] GPOS6 MarkToMark subsetting support
|
|
82afc758
|
2020-02-04T13:24:37
|
|
[subset] GPOS4 MarkBase subsetting support
|
|
4dc3db73
|
2020-02-06T12:12:41
|
|
Minor, fix warnings raised when built with -std=c++2a
Follow up to c184180,
It was raising,
src/hb-ot-layout-common.hh:1067:63: warning: implicit capture of 'this' with a capture default of '=' is deprecated [-Wdeprecated-this-capture]
| hb_filter ([=] (const OffsetTo<TSubTable> &_) { return (this+_).intersects (glyphset, lookup_type); })
^
src/hb-ot-layout-common.hh:1067:19: note: add an explicit capture of 'this' to capture '*this' by reference
| hb_filter ([=] (const OffsetTo<TSubTable> &_) { return (this+_).intersects (glyphset, lookup_type); })
^
, this
and
src/hb-ot-layout-common.hh:2626:38: warning: implicit capture of 'this' with a capture default of '=' is deprecated [-Wdeprecated-this-capture]
{ r.collect_lookups (this, lookup_indexes); })
^
src/hb-ot-layout-common.hh:2625:18: note: add an explicit capture of 'this' to capture '*this' by reference
| hb_apply ([=] (const FeatureTableSubstitutionRecord& r)
^
, this
and
src/hb-ot-hdmx-table.hh:141:44: error: implicit capture of 'this' with a capture default of '=' is deprecated [-Werror,-Wdeprecated-this-capture]
return device_record->widthsZ.as_array (get_num_glyphs ()) [_];
^
src/hb-ot-hdmx-table.hh:137:17: note: add an explicit capture of 'this' to capture '*this' by reference
| hb_map ([=] (hb_codepoint_t _)
^
, this
|
|
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
|
|
03f778cf
|
2020-02-05T09:26:45
|
|
[cmap] remove dead code
|
|
43253e40
|
2020-02-05T17:45:19
|
|
Merge remote-tracking branch 'upstream/master'
|
|
71a20186
|
2020-02-05T17:15:50
|
|
[cbdt] minor, tweak spaces
|
|
eaa2402a
|
2020-02-05T17:02:03
|
|
[cbdt] Merge hb-ot-color-cbdt-table.cc into its header file
Not needed as far as can be said.
|
|
a7f694d4
|
2020-02-05T16:31:21
|
|
Merge branch 'subset_cblc' into 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.
|
|
43016715
|
2020-02-05T15:02:20
|
|
[subset] minor on _subset
|
|
dcb5dfc9
|
2020-02-05T15:01:25
|
|
[subset] minor on tables iteration
|
|
a8593339
|
2020-02-05T15:00:25
|
|
[subset] minor on switch statements
|
|
b1f63109
|
2020-02-05T00:28:21
|
|
[subset] Optimize _is_table_present
One call for most of the fonts and no malloc
|
|
25707e37
|
2020-02-05T00:27:28
|
|
[cff] minor
|
|
0d61926c
|
2020-02-04T13:36:51
|
|
[subset] Keep head when no glyf table
|
|
7f9b2228
|
2020-02-04T23:05:46
|
|
[glyf] minor
Improve using https://developer.blender.org/diffusion/B/browse/master/source/blender/blenlib/intern/freetypefont.c$572
|
|
5b436033
|
2020-02-04T21:29:19
|
|
[subset] Rename _subset2 to _subset
|
|
2792fb8b
|
2020-02-02T22:00:53
|
|
first rewrite of cff/cff2 _subset with _subset2
|
|
b114b26a
|
2020-02-04T09:49:24
|
|
Add guard to copy_glyph_at_idx
|
|
b2a68ed5
|
2020-02-01T23:16:26
|
|
[name] Minor, use subtraction instead ternary operator
Guess ternary was a bit more legible, apparently however we agreed to use subtraction,
https://github.com/harfbuzz/harfbuzz/pull/2139#discussion_r372582005
|
|
490ef1cc
|
2020-01-28T15:57:33
|
|
[subset] Fix namerecord ordering
This will fix inconsistency with fontTools.
Also according to the spec, namerecords must be sorted
first by platform ID, then by platform-specific ID,
then by language ID, and then by name ID.
|
|
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
|
|
b4377afd
|
2020-01-31T15:11:45
|
|
Minor hb_ot_layout documentation fixes.
|
|
0216a96b
|
2020-01-30T12:36:58
|
|
[subset] Fix simple glyph trim_padding in glyf table
Detail: when numOfContours = 1 and flag = 0x31
xCoordinates and yCoordinates would be empty
|
|
b6a8f5e6
|
2020-01-28T09:30:51
|
|
[subset] CMAP table subsetting fix
Not all codepoints smaller than 0xFFFF go to cmap4 table.
Only subset codepoints existing in each table.
This will also make harfbuzz consistent with fontTools' behavior
|
|
777ba47b
|
2020-01-30T22:38:43
|
|
Merge pull request #2132 from ckitagawa-work/subset_colr
[subset] Add COLR support
|
|
5b069c36
|
2020-01-30T18:05:01
|
|
[draw][docs] update to new terminology
|
|
920dca45
|
2020-01-30T18:03:06
|
|
[draw][docs] update to new terminlogy
|
|
1632726c
|
2020-01-30T16:48:34
|
|
[draw] minor
|
|
92f43a99
|
2020-01-29T16:06:55
|
|
[subset] COLR, simplify logic and use add_array
|
|
fba5128a
|
2020-01-29T10:24:55
|
|
Fix build
|
|
7d542a52
|
2020-01-29T10:20:00
|
|
Refactor to two iterators
|
|
81c469eb
|
2020-01-24T15:49:25
|
|
Try to fix Wrange-loop-analysis
|
|
0d1ba94a
|
2020-01-24T15:44:40
|
|
Minor style fixes
|
|
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
|
|
0aed54dc
|
2020-01-24T15:51:06
|
|
Use one-liner methods
|
|
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
|
|
cf5f9467
|
2020-01-27T23:38:39
|
|
[outline] use hb_object_is_immutable instead comparing to Null
|
|
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
|
|
d809aca8
|
2020-01-27T20:52:56
|
|
[test] test for not applying morx on horizontal runs if gsub exists
https://github.com/harfbuzz/harfbuzz/pull/2130
|
|
cd7b46ca
|
2020-01-26T20:46:19
|
|
Use correct return type in _unsafe_to_break_find_min_cluster.
|
|
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
|
|
54403139
|
2020-01-26T00:07:28
|
|
Update COPYING
2020 update and add my name for years had more or less considerable contributions
|
|
cd266e4f
|
2020-01-25T21:33:38
|
|
minor
|
|
f9070cfe
|
2020-01-24T22:19:03
|
|
Run morx if run is horizontal or GSUB doesn't exist
|
|
58976972
|
2020-01-25T00:32:46
|
|
[test] Increase subset timeout
No random timeout please
|
|
d1830437
|
2020-01-25T00:09:47
|
|
[tests] Apply expected results of Mplus1p-Regular subset
Related to #2131
|
|
8e089808
|
2020-01-24T23:39:44
|
|
[sbix] minor style fixes
|
|
36a5c042
|
2020-01-21T13:37:28
|
|
[subset] Add "--name-languages" and "--name-legacy" options
Make name table subsetting consistent with fontTools
|
|
b7762c70
|
2020-01-24T21:20:07
|
|
Disable hb_ot_glyph_decompose in HB_TINY
|
|
0e4b2676
|
2020-01-24T12:16:08
|
|
[subset] sbix fix missed offset is_null() check
|
|
5532374f
|
2020-01-23T20:27:21
|
|
[ot-glyph] Add a test for #2053
|
|
f7187e90
|
2020-01-24T20:22:27
|
|
[cmake] Don't build src/main
Closes #2108
|
|
1a6d53d3
|
2020-01-24T20:00:23
|
|
[ci] Increase msan and fedora-O0 bots subset fuzzer timeout
|
|
2d147355
|
2020-01-24T19:41:26
|
|
[src/main] separate the places use private API, minor
|
|
23277bee
|
2020-01-24T18:49:48
|
|
Fold src/test-ot-glyph and src/test-ot-color into src/main
|
|
b72337e5
|
2020-01-23T21:23:13
|
|
[test] Adopt test-ot-color with ot-glyph and remove freetype/cairo dependecy
|
|
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.
|
|
298c46af
|
2020-01-24T12:11:07
|
|
Only prefer AAT morx for horizontal layout
Fixes #2124.
|
|
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
|
|
d3fff622
|
2020-01-23T11:36:47
|
|
Move push call to caller
|
|
7dc341fe
|
2020-01-23T11:09:15
|
|
[subset] Fix UBSAN issue in sbix
|