|
e65bff09
|
2020-02-19T13:38:04
|
|
workaround whence_t as bit-field
|
|
1aed6d22
|
2020-02-19T13:20:29
|
|
fix whence=Head; position as 28 bits
|
|
c1313e4b
|
2020-02-17T17:33:18
|
|
minor: undid unintended change
|
|
9c65680b
|
2020-02-17T16:59:45
|
|
rename enums to avoid conflict on win
|
|
4ca8e0d9
|
2020-02-19T12:52:18
|
|
re-implement Tail; rewrote name table with it
|
|
555f6f1d
|
2020-02-17T16:29:40
|
|
merge add_link_abs() into add_link()
|
|
017cd945
|
2020-02-06T16:11:58
|
|
added add_link_abs()
|
|
07504569
|
2020-02-21T13:05:44
|
|
[gsub] minor format
|
|
41122542
|
2020-02-20T13:43:06
|
|
Fix glyph closure for alternate substitution.
It was not filtering on the glyphs to be retained.
|
|
da37880e
|
2020-02-20T19:01:43
|
|
[draw] Add a private bit field instead null-checking quad-to callback
This doesn't imply the the design is good or stable just is better
to not fail due to null quad-to callback so as our quad-cubic curves
translation is currently table limited which can be revisited anytime.
|
|
79b2b8a9
|
2020-02-19T16:41:13
|
|
minor
|
|
8c652f72
|
2020-02-19T16:32:44
|
|
Minor, switch to https links where possible
|
|
bbcbcafc
|
2020-02-19T16:21:47
|
|
[tool] Minor, move input files link
|
|
83db1e11
|
2020-02-19T15:15:18
|
|
[ci] Compatibility with Python 3
Disabled CMake test runners as it goes for Python 2 and updated the bots
Install Python 3 on macOS 10.12 bot
|
|
8d199077
|
2020-02-19T14:56:55
|
|
Remove python2 support from tests/utils scripts
|
|
2c9fbf55
|
2020-02-12T14:59:52
|
|
Improve GIR build
|
|
bd13470f
|
2020-02-19T13:19:38
|
|
[ci] Update Ubuntu bots versions
|
|
493e40ff
|
2020-02-18T13:09:08
|
|
[subset] add one empty byte to glyf table
if it's going to end up empty after subsetting
This will make OTS happy and match what fontTools is doing now.
|
|
a7dec0cb
|
2020-02-18T16:22:12
|
|
[glyf] Tweak path_builder_t
|
|
d52ea2a4
|
2020-02-18T15:46:02
|
|
[glyf] minor
|
|
3b0c58f8
|
2020-02-18T15:42:48
|
|
[glyf] minor, use private font coords to simplify
|
|
dcd2729e
|
2020-02-18T15:38:57
|
|
[glyf] Move contour_bounds_t into scope it is actually used
|
|
8bb47fa1
|
2020-02-18T15:06:43
|
|
[glyf] minor, spacing
|
|
21a5fe4f
|
2020-02-18T14:38:55
|
|
[glyf] Make returning phantoms to not require another vector
|
|
5c03fbe7
|
2020-02-18T13:55:28
|
|
[glyf] do a phantom only iteration when possible
|
|
11f3fca0
|
2020-02-18T12:53:20
|
|
[glyf/gvar] Remove need of passing end points vector around
|
|
0f2c2d98
|
2020-02-18T11:52:16
|
|
[glyf] Push consumer machine one more level further
|
|
11f5f7c5
|
2020-02-17T23:44:31
|
|
[glyf] Adopt a state machine like style for the path builder
Toward making glyf path reader alloc free at least on gvar absence.
|
|
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
|
|
71552ecc
|
2020-02-13T12:58:22
|
|
add hb_get_type
|
|
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
|
|
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
|
|
0aed54dc
|
2020-01-24T15:51:06
|
|
Use one-liner methods
|
|
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
|
|
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
|