|
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
|
|
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.
|
|
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
|
|
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_*
|
|
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
|
|
05443e55
|
2019-11-28T09:16:58
|
|
[ot-glyph] Return empty path for empty faces
|
|
6e7602c1
|
2019-11-28T08:43:00
|
|
[ot-glyph] Fix leaks
|
|
5b08596d
|
2019-11-28T08:42:45
|
|
[gvar] Don't apply anything when no coords is given
|
|
742aaa13
|
2019-11-27T23:18:43
|
|
[ot-glyf] Fix leak issue
|
|
fddf79fc
|
2019-10-21T14:11:27
|
|
[glyf] minor
|
|
0b559d75
|
2019-10-21T13:52:48
|
|
[ot-glyph] Improve API names
|
|
af08f388
|
2019-10-21T13:28:05
|
|
[ot-glyph] Support CFF1's seac
|
|
04ac7fb1
|
2019-10-21T13:06:12
|
|
[ot-glyph] Add cff2 support
|
|
5cc09c46
|
2019-10-20T16:24:14
|
|
[ot-glyph] Initial cff1 support
|
|
3dcba9f2
|
2019-10-20T16:23:27
|
|
[ot-glyph] Redesign the API
|
|
b8b3ff1a
|
2019-10-14T15:37:41
|
|
[glyph] Don't copy, write directly into result
|
|
f883c31c
|
2019-10-13T12:31:53
|
|
Implement glyph outline path API
Got help from https://github.com/opentypejs/opentype.js/blob/4e0bb99/src/tables/glyf.js#L222
|
|
d2ab1ec6
|
2020-01-09T20:24:16
|
|
fixes oss-fuzz 19978: Null-dereference READ (#2091)
|
|
5e55a6d6
|
2020-01-09T23:40:40
|
|
[subset/hvar] minor
not super excited about state of the code around, assuming was needed
so let's add this may unlikely check also.
|
|
257a197a
|
2020-01-09T22:55:45
|
|
Fail serialize when map has incorrect value
fixes https://crbug.com/oss-fuzz/19956
am not super happy with the fix, guess we should do some check
before the memcpy anyway as @blueshade7 thinks also,
so let's have it or revert it when we have a better approach for the case.
|
|
1db2c1d0
|
2020-01-07T11:10:40
|
|
fix for cmap4 and OS_2 subsetting: maximum character code allowed is 0xFFFF
|
|
7950beec
|
2020-01-06T21:25:00
|
|
[subset] Fix null pointer dereference in hvar/vvar subset (#2085)
Rest of the code assumes there is at least one subtable, lets return here if not.
* https://crbug.com/oss-fuzz/19827
* https://crbug.com/oss-fuzz/19847
|
|
8ed27757
|
2020-01-06T19:01:13
|
|
Remove _POSIX_C_SOURCE definition from the project
Added fpr suncc support but apparently is causing more issues
even on suncc so let's see if we can go without it.
Fixes #2084
|
|
e7d1aeb6
|
2020-01-06T12:48:22
|
|
[hvar] minor, fix unlikely statement
|
|
57b15341
|
2020-01-06T12:46:50
|
|
[glyf] minor, fix unlikely statements
|
|
9e48c6e9
|
2019-12-31T15:57:39
|
|
minor, use private API of hb_set_t where possible
|
|
ce114d6b
|
2019-12-31T15:53:02
|
|
minor, tweak spaces
|
|
33c3d63a
|
2019-12-31T13:52:50
|
|
Merge pull request #1594 from harfbuzz/var-subset
Issue 1558: [subset] TrueType/CFF2 variable font
|
|
68c1798a
|
2019-12-18T15:57:14
|
|
[coretext] Use kCTFontOpenTypeFeatureTag
Instead of trying to map OpenType features to AAT feature selectors
which only works for a small subset of OpenType features, use the
simpler kCTFontOpenTypeFeatureTag with OpenType feature tags directly.
With this change, features like cvXX can be enabled in coretext shaper,
while they were previously ignored due to missing mapping.
This seems to work even with AAT fonts that don’t have OpenType layout
tables, which suggests that CoreText is doing the mapping itself in this
case.
kCTFontOpenTypeFeatureTag seems to have been introduced in macOS 10.10
and iOS 8.0, though, so its use is conditional on version check for now.
Not sure how to check iOS version, so I left this out.
|
|
b28c2825
|
2019-12-17T02:58:51
|
|
Check to avoid overflows
|
|
d70afb1e
|
2019-12-17T02:29:28
|
|
Clamp max_ops to upper bound in hb-sanitize.hh
|