|
d663e28a
|
2020-02-12T15:41:21
|
|
[serialize] Catch signedness overflows in check_assign()
Should address https://github.com/harfbuzz/harfbuzz/pull/2163#pullrequestreview-355137936
|
|
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
|
|
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.
|
|
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.
|
|
0b76e813
|
2019-08-20T15:15:22
|
|
Don't use _normalize_variations to avoid twice axis fetch
|
|
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
|
|
3a98c7fa
|
2020-02-06T01:11:00
|
|
[glyf] Skip empty contours
As https://savannah.nongnu.org/bugs/index.php?57701
|
|
03f778cf
|
2020-02-05T09:26:45
|
|
[cmap] remove dead code
|
|
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
|
|
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_*
|
|
cf5f9467
|
2020-01-27T23:38:39
|
|
[outline] use hb_object_is_immutable instead comparing to Null
|
|
cd7b46ca
|
2020-01-26T20:46:19
|
|
Use correct return type in _unsafe_to_break_find_min_cluster.
|
|
cd266e4f
|
2020-01-25T21:33:38
|
|
minor
|
|
f9070cfe
|
2020-01-24T22:19:03
|
|
Run morx if run is horizontal or GSUB doesn't exist
|
|
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
|
|
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
|
|
1ab3924b
|
2020-01-22T11:20:56
|
|
refix PR #2087 subset PairPos1
also added oss-fuzz 20211 data fixed by this
|
|
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
|
|
3747b329
|
2020-01-22T09:07:32
|
|
Address garretrieger@'s comments
|
|
af62c1c3
|
2020-01-21T15:19:33
|
|
Fix style issue
|
|
8614a30b
|
2020-01-21T15:14:03
|
|
[subset] Fix sbix fuzz problem
|
|
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.
|
|
8f49aaa1
|
2020-01-16T15:15:15
|
|
minor: un-include glyf.hh in gvar.hh
|
|
c828d7bf
|
2020-01-15T15:32:44
|
|
[subset] fixed GPOS device table sanitize & serialize (#2087)
|
|
e565d1f9
|
2019-11-01T10:21:36
|
|
[subset] subset lookup/feature/script lists for GSUB/GPOS
|
|
93376a64
|
2020-01-15T13:11:40
|
|
Add unittests
|
|
6bcf57ea
|
2020-01-14T14:56:02
|
|
Simplify copy and add fuzzing coverage
|
|
78b50a67
|
2020-01-14T11:01:09
|
|
Address initial comments
|
|
43b6c865
|
2020-01-09T10:44:20
|
|
[subset] Support sbix subsetting
|
|
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
|
|
8ffc9add
|
2019-10-31T15:59:02
|
|
[subset] layout closure_features and store them in subset-plan
|
|
66dfd605
|
2020-01-13T15:50:27
|
|
Fix duplicate check in hb_ot_rotate chars
Fixes #2099. Fix indentation in mirroring section as well.
|
|
d7c3cb18
|
2020-01-13T17:35:57
|
|
[ot-glyph] minor on tests
|
|
dc03a993
|
2020-01-12T14:21:29
|
|
Fix collect lookups logic of FeatureTableSubstitution (#2097)
https://crbug.com/oss-fuzz/20036
|
|
a32ecc15
|
2020-01-11T15:37:24
|
|
Fix collect lookups logic of FeatureVariationRecord
As "Offset to a feature table substitution table, from beginning of the FeatureVariations table."
from https://docs.microsoft.com/en-us/typography/opentype/spec/chapter2 the record should
match its sanitize logic not the reverse way.
Fixes https://crbug.com/oss-fuzz/20021 and https://crbug.com/oss-fuzz/20022
|
|
1a4c658b
|
2020-01-11T01:30:05
|
|
Use REPLACEME tag
So we can use the version we like when we decide what it should be while the next release
and can review the API before the release one other time.
|
|
0b39c480
|
2019-10-22T16:00:43
|
|
[subset] closure lookups for GSUB/GPOS
|
|
42f4f1ea
|
2020-01-11T00:00:51
|
|
[ot-glyph] Add tests for hb_ot_glyph_decompose
|
|
06a1fcb3
|
2020-01-10T23:12:30
|
|
[ot-glyphs] fix the tests
|
|
084a8182
|
2020-01-10T22:14:46
|
|
[ot-glyphs] Move CFF glyph decompose logic to their tables
Thus making path decompose zero alloc on CFF/CFF2
|
|
61185235
|
2020-01-10T21:08:21
|
|
[ot-glyph] move glyph decompose logic of glyf to itself
One less vector allocation yet isn't zero alloc yet
which needs more work.
|
|
017f606c
|
2020-01-10T20:44:15
|
|
[ot-glyph] rewrite the API
|