|
03d23767
|
2022-06-29T06:21:31
|
|
[math] Improve fuzzing coverage
Extend testing to cover parts that are missing according to the recent
oss-fuzz-coverage report:
- Retriving all constants from MathConstants.
- Retrieving entries from MathKern, MathGlyphPartRecord and
MathGlyphAssembly.
- Retrieving italic correction from MathGlyphAssembly.
- Choosing between horizontal/vertical offset in MathVariants.
https://storage.googleapis.com/oss-fuzz-coverage/harfbuzz/reports/20220627/linux/src/harfbuzz/src/hb-ot-math-table.hh.html
https://github.com/harfbuzz/harfbuzz/issues/3688
|
|
32e542d6
|
2022-06-29T06:45:38
|
|
try & fix build errors on the bot
|
|
9909d11f
|
2022-06-28T15:59:40
|
|
[indic generator] Fix regression
Fixes https://github.com/harfbuzz/harfbuzz/issues/3690
|
|
7b0fc0be
|
2022-06-27T21:18:36
|
|
[test] Test the reordering of U+0E33 and U+0EB3
|
|
d3308f47
|
2022-06-27T11:28:44
|
|
[font] Optimize font scaling further
|
|
556e7078
|
2022-06-26T17:48:43
|
|
[font] Optimize glyph scaling
|
|
1555b300
|
2022-06-24T21:02:26
|
|
Add U+25CC to lone Robatic but not after U+17D9
|
|
e35cfb4b
|
2022-06-24T20:18:10
|
|
Document the subsetter argument of record-test.sh
|
|
1db6fddb
|
2022-06-18T14:34:46
|
|
[arabic-fallback.hh] Hook up 3-letter ligatures
|
|
8978a18f
|
2022-06-18T13:25:46
|
|
[arabick-fallback] Apply mark ligatures
|
|
dfc5e5a2
|
2022-06-18T14:00:30
|
|
[test] Skip glyph positions for test failing on CI
We are not interested in glyph positioning for this test, and the
FreeType version on some CI machines is giving some different glyph
advances here.
|
|
189e8c32
|
2022-06-18T13:28:54
|
|
[ft] Remap legacy Arabic PUA codepoints
Similar to what ot font finctions does, to support Support legacy
pre-OpenType Windows 3.1-era fonts.
|
|
c3f590bb
|
2022-06-16T11:04:13
|
|
[arabic] Support legacy PUA shaping
Support legacy pre-OpenType Windows 3.1-era fonts, by remapping PUA code
points in cmap table and letting our fallback shaper build the GSUB
table.
Uniscribe applies also mset-like substitution, but our fallback mark
positioning gives better results, so this is not implemented.
|
|
af74ab45
|
2022-06-16T18:12:09
|
|
[repack] always run the sort in repack.
This is needed to ensure virtual link ordering constraints are respected when repack is being called from fontTools. For subset usage, repack won't be called if the graph doesn't already overflow so this change doesn't cause any extra work.
|
|
311413f1
|
2022-06-11T01:05:57
|
|
[subset] Fix fuzzer issue.
Fixes https://oss-fuzz.com/testcase-detail/5693568490012672. new_index should be set from new_index2 when the entry is present in the map.
|
|
697287fb
|
2022-06-05T06:53:42
|
|
[benchmark-shape,hb-shape-threads] Fix argument parsing order
After recent change.
|
|
c03a3141
|
2022-06-05T02:31:21
|
|
[hb-shape-threads] Adjustments similar to benchmark-shape
Duplication sighz.
|
|
d7c9cc34
|
2022-06-05T02:30:11
|
|
Fix build
|
|
b39b5f2f
|
2022-06-03T04:10:28
|
|
[name] Implement approximate language matching
Very rudimentary.
Fixes https://github.com/harfbuzz/harfbuzz/issues/3354
|
|
26d8066a
|
2022-06-03T10:28:02
|
|
[test/shape] Remove texts subdirectory
These texts were never hooked into the test suite, they however
represent a good collection of test texts, but one can always access
them from git history.
Fixes https://github.com/harfbuzz/harfbuzz/issues/3123
|
|
cd41557a
|
2022-06-03T09:46:57
|
|
[test/shape] Add PhagsPa tests
Adopted from texts/in-house/shaper-arabic/script-phags-pa/misc/misc.txt.
Using Noto Sans PhagsPa.
|
|
1ab12e31
|
2022-06-03T09:37:25
|
|
[test/shape] Add Malayalam dot-reph tests
Adopted from texts/in-house/shaper-indic/script-malayalam/misc/dot-reph.txt.
Using Noto Sans Malayalam.
|
|
6b2f3b5a
|
2022-06-03T09:15:24
|
|
[test/shape] Add Javanese tests
Adopted from texts/in-house/shaper-use/script-javanese/misc.txt.
I don’t know what font this was originally tested against, so I used
Noto Sans Javanese.
|
|
c9c47dd8
|
2022-06-03T08:58:57
|
|
[test/shape] Add Hebrew diacritics tests
Adopted from 406044986a68676f3050f9350ccc448c615fc685. Using
TaameyFrankCLM.ttf from the Mozilla issue.
|
|
ef5d7feb
|
2022-06-03T08:46:30
|
|
[test/shape] Allow using hb-subset in record-test.sh
I think it is about time we use our own subsetter here. FontTools can
still be used.
|
|
7aacdd05
|
2022-06-03T02:10:06
|
|
[cplusplus] Test hashing shared_ptr / unique_ptr
|
|
d7785a6d
|
2022-06-02T12:42:24
|
|
[cplusplus] Add unique_ptr
|
|
e0f3cab2
|
2022-06-01T11:51:43
|
|
[cplusplus] Add hb-cplusplus.hh
Fixes https://github.com/harfbuzz/harfbuzz/issues/2152
|
|
98aaecd3
|
2022-06-01T21:01:16
|
|
[subset] fix data race touching Crap() in cff subsetting.
|
|
d8d96b26
|
2022-06-01T19:55:02
|
|
[threads-test] Add a threads test against hb-subset.
|
|
858570b1
|
2022-06-01T18:08:09
|
|
[subset] add some additional 32bit var store cases.
Test the path where the 32 bit delta is not included.
|
|
209d6aa2
|
2022-06-01T18:02:03
|
|
[subset] Update make files for 32bit_var_store test.
|
|
9c41bfe1
|
2022-06-01T17:53:14
|
|
[subset] Add subset test of font with 32 bit delta in a var store.
|
|
18cd15be
|
2022-06-01T07:55:59
|
|
Rename test
|
|
62e803b3
|
2022-06-01T07:38:21
|
|
[sbix] Limit glyph extents
Fixes https://github.com/harfbuzz/harfbuzz/issues/3557
|
|
5a058ba1
|
2022-05-31T05:35:17
|
|
[shape-fuzzer] Add commented out more buffer-verify option
Those currently fail and I've been unable to debug them.
I tried two, passing them to hb-shape doesn't reproduce the failure. :(
|
|
189f6534
|
2022-02-13T13:22:08
|
|
[fuzz-shape] Verify shape output
Let the fuzzers loose on shape verify.
|
|
33145a4b
|
2022-05-31T04:59:07
|
|
[test/shape] Pass --unsafe-to-concat to hb-shape
|
|
b010962c
|
2022-05-30T05:34:25
|
|
[test/hb-shape-threads] Silence hb_language_get_default() threadysafety issue
|
|
4e59900f
|
2022-05-30T05:21:55
|
|
[test/hb-shape-threads] Share font amongst threads
|
|
18b0bd0f
|
2022-05-30T05:12:12
|
|
[test/hb-shape-threads] Verify buffer
|
|
484cc187
|
2022-05-30T05:06:43
|
|
[test-shape-threads] Set language
|
|
f371789b
|
2022-05-28T04:02:36
|
|
Sprinkle static around
|
|
4386626e
|
2022-05-27T17:32:32
|
|
[test/threads] Fix dependency
|
|
e0544c48
|
2022-05-27T17:10:07
|
|
[test/threads] Fix distcheck
|
|
e3d5a117
|
2022-05-27T17:05:23
|
|
[hb-shape-threads] Fix tsan race
|
|
33c990f0
|
2022-05-27T16:57:00
|
|
Include cassert to fix bots
|
|
049af186
|
2022-05-27T16:53:25
|
|
[threads] Add suite to test
|
|
87453f63
|
2022-05-27T16:51:12
|
|
[hb-shape-threads] Fix current-work-dir so test passes
|
|
f77faf86
|
2022-05-27T16:34:28
|
|
[hb-shape-threads] Allow overriding test parameters from cmdline
|
|
f0fba599
|
2022-05-27T16:30:19
|
|
[hb-shape-threads] Reduce num-iterations
|
|
e8a24363
|
2022-05-27T16:29:17
|
|
[threads] Add a condition_variable to test for all threads to be ready
|
|
4d42a94c
|
2022-05-27T16:23:12
|
|
[threads] Add hb-shape-threads test
|
|
3472f73b
|
2022-05-25T21:49:12
|
|
[subset] also include no subset tables when guessing which tables are present.
|
|
9564d987
|
2022-05-25T21:16:37
|
|
[subset] fix subsetting of faces created via hb_face_create_for_tables.
Fixes #3609.
|
|
4e11da05
|
2022-05-20T01:42:34
|
|
[repacker] update repacker test golden file.
Changed due to removal of Kahn sorting.
|
|
25393288
|
2022-05-19T17:19:21
|
|
[test] Fix compiler warning
|
|
52d59bf1
|
2022-05-10T19:40:37
|
|
[perf] Make subset benchmark data driven.
|
|
8f9f0c49
|
2022-05-10T17:47:08
|
|
[subset] Enforce cmap12 group ordering constraints in collect_mapping.
Fixes fuzzer issue: https://oss-fuzz.com/testcase-detail/6365271012540416
|
|
b051f3fa
|
2022-05-05T23:27:34
|
|
[subset] Fix cpal subsetting when there are partial palette overlaps.
The existing code doesn't correctly handle the case where palettes partially overlap in the color record array. This changes the subsetting to only share entries in the color record array when palettes have the same first color index. Partially overlapping palettes will be converted to disjoint segments in the color record array.
Updates one of the color tests to use multiple palettes.
Also fixes fuzzer: https://oss-fuzz.com/testcase-detail/5568200165687296.
|
|
ca8a0f3e
|
2022-05-06T11:54:38
|
|
[gvar] Protect against out-of-range access
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47281
Fixes https://oss-fuzz.com/testcase-detail/5508865908670464
|
|
4de5352a
|
2022-04-28T14:40:33
|
|
[test] Add test
From https://github.com/harfbuzz/harfbuzz/issues/3545
Dropped the CFF table.
|
|
4d48fae4
|
2022-04-20T11:35:19
|
|
Enforce Regional_Indicators native direction to LTR
And undo the morx direction reversal change introduced in
https://github.com/harfbuzz/harfbuzz/pull/3315
23159084b43c1ce429d9e98035bf845919fd8a89
This fixes original bug https://github.com/harfbuzz/harfbuzz/issues/3314
And the reversion in morx code fixes regressions:
https://github.com/harfbuzz/harfbuzz/issues/3528
https://github.com/harfbuzz/harfbuzz/issues/3535
Supersedes:
https://github.com/harfbuzz/harfbuzz/pull/3529
|
|
383c11d7
|
2022-04-19T16:31:44
|
|
Add test for ligature-id allocation
Test for the fix in 7bdc20ec810c14056d6362b076aa6717f10f26a0 for the
regression from 43be5ba442548528c89ad31c0927cc68515b736e.
|
|
ecb3e7ec
|
2022-03-28T19:42:04
|
|
Enable indic-feature-order.tests
|
|
044d7a06
|
2022-03-28T12:38:56
|
|
[indic-like] Add per-lookup per-syllable flag
This allows mix-and-matching per-syllable and other lookups.
In fact, removes the clear-syllables call completely.
Fixes https://github.com/harfbuzz/harfbuzz/issues/3513
|
|
18c0290c
|
2022-03-28T13:24:16
|
|
Add test for previous commit
|
|
a665e29e
|
2022-03-23T17:30:25
|
|
[use] Avoid O(n^2) in the machine
Fixes https://github.com/harfbuzz/harfbuzz/issues/3502
|
|
ccd9161b
|
2022-03-24T13:10:48
|
|
[apply-lookup] Try to fix the logic for contextual lookups
Fixes https://github.com/harfbuzz/harfbuzz/issues/1611
Notably, this fixes Myles's AdditionFont:
https://litherum.blogspot.com/2019/03/addition-font.html
Test with AdditionFont, eg.:
$ util/hb-view AdditionFont.otf =1112112+1113134=
|
|
a003fc0d
|
2022-03-25T09:37:50
|
|
Remove accidental files
|
|
01829882
|
2022-03-25T08:36:44
|
|
[set] Add call to export set contents to an array. (#3500)
[set] Add hb_set_next_many.
|
|
f76ffa83
|
2022-03-24T06:23:22
|
|
[build] Change how platform shaper tests are enable
Run the tests unconditionally and skip if the shaper is not available.
This fixes distcheck (https://github.com/harfbuzz/harfbuzz/pull/3504)
and shows SKIP for these tests instead of ignoring them.
|
|
eb44d64b
|
2022-03-24T10:52:48
|
|
test: Dist the platform shaper test data
For builds from release tarballs, the tests fail in the DirectWrite and
Uniscribe tests when these platform shapers are enabled, since the data files
were not found in the source tree, when building with Meson at least.
Fix this by dist'ing the platform shaper test data files.
|
|
36b8f974
|
2022-03-21T21:50:04
|
|
Update tests for recent changes
|
|
03085132
|
2022-03-21T18:06:33
|
|
[buffer] Fix out-buffer under memory-alloc failure
This was broken in July refactoring of the buffer, and exposed to
ReverseChainSingleSubstFormat1 in 3807061d634b60bd6235d6e1d8c47a034377f924
Fixes:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38800
https://bugs.chromium.org/p/chromium/issues/detail?id=1303552
|
|
98b48524
|
2022-03-21T17:17:39
|
|
[indic] Test clearing syllables earlier
|
|
ef588ea9
|
2022-03-21T13:29:22
|
|
Add option to insert a sorted arrays of values to sets.
|
|
7cb002cb
|
2022-03-14T11:40:35
|
|
[subset] bug fix in prune_langsys
we should not cache visited langsys cause 2 different Record<Langsys>
could have different Tag while pointing to the same Langsys, a langsys
is redundant in Record<Langsys> A does not mean it's redundant in Record
B. Same thing for visited_script.
Also adding the number of features in the LangSys's feature list to the
visited langsys count so it's more accurate.
Plus some improvement in langsys compare()
|
|
49fb8f90
|
2022-03-13T15:01:11
|
|
[USE] Treat visible viramas like dependent vowels
|
|
a35757c6
|
2022-02-02T10:30:34
|
|
[repacker] expose hb_subset_repack() API, hb_object_t and hb_link_t structs
|
|
f6071c16
|
2022-02-28T14:45:40
|
|
[subset] Rename codepoint -> unicode in subset plan api
|
|
222301bf
|
2022-02-24T12:55:01
|
|
Merge pull request #3429 from harfbuzz/external_plan
[subset] expose subset plan in public subsetting API
|
|
d4cb0772
|
2022-02-18T18:25:56
|
|
Add a missing file
The style test is using notosansitalic.ttf now,
but I forgot to add it with the test. Fix that.
|
|
16b232be
|
2022-02-18T18:05:58
|
|
[hb-style] Fix the sign of slant ratios
We want negative slant angles to yield
positive slant ratios. Fix that.
Test included.
|
|
e76061a7
|
2022-02-18T17:27:19
|
|
[hb-style] Fix synthetic slant values
When reporting the slant ratio of a font
that has synthetic slant set, we were
reporting twice the expected value.
Fix that. Test included.
|
|
56f11ec9
|
2022-02-18T14:08:43
|
|
[buffer] Add HB_BUFFER_FLAG_PRODUCE_UNSAFE_TO_CONCAT
Fixes https://github.com/harfbuzz/harfbuzz/issues/3454
|
|
f8e9e315
|
2022-02-17T14:34:46
|
|
Merge pull request #3437 from matthiasclasen/synthesize-missing-baselines
[BASE] Synthesize missing baselines
|
|
f81578fd
|
2022-02-13T19:15:36
|
|
[ot-layout] Synthesize missing baselines
Add a variation of hb_ot_layout_get_baseline that
synthesizes missing baselines, using heuristics in part
taken from the CSS Inline Layout Module, Level 3.
Includes some new tests for synthesized baselines.
The base2.ttf is a subset of Noto Sans Bengali that
includes just the Bengali Ka.
New API: hb_ot_layout_get_baseline_with_fallback
|
|
d2998faa
|
2022-02-16T14:37:09
|
|
Merge pull request #3410 from harfbuzz/boring-expansion
[Boring Expansion] >64k loca & hmtx tables
This does two things:
The num-glyphs reported by the face now is the maximum reported by the maxp and that deduced from the length of the loca table; I think this is the right thing to do anyway; According to OpenType such loca tables are invalid.
The interpretation hmtx tables that have excessive bytes at the end, again, invalid according to OpenType, has changed. Previously we were interpreting those excessive bytes as extra lsb values. Now we interpret them as extra advance values, the last of which is repeated for all missing glyphs. Again, these are tables that are invalid according to OpenType, and the advances are for glyph indices beyond maxp table's num-glyphs.
The combined effect is that the font can have shapes and advances for gid's beyond the maxp limit of 64k. In fact, maxp table becomes optional.
|
|
cfa8cd7f
|
2022-02-16T11:42:36
|
|
[autotools] Fix make distcheck
The test-draw.c can now optionally uses hb-ft, but automake file was not
passing FreeType cflags or libs to it.
|
|
a396543a
|
2022-02-15T18:47:55
|
|
Merge pull request #3411 from harfbuzz/draw
[draw] Finish and release draw API
|
|
67eb9acf
|
2022-02-15T17:17:49
|
|
[config] Add HB_NO_BORING_EXPANSION
|
|
1bf588e2
|
2022-02-15T16:57:23
|
|
[test/shape] Internal rename
Residual from e0d7060f80f8c4b9b8241c3a4d8faa33f48da86d
|
|
197ed8f5
|
2022-02-15T14:30:12
|
|
[test/api] Fix leaks
|
|
531c27d1
|
2022-02-15T14:20:54
|
|
Fix build
|
|
8b7ccc41
|
2022-02-15T14:15:12
|
|
[hmtx] Implement [boring-expansion] >64k expansion
This implements https://github.com/be-fonts/boring-expansion-spec/issues/7
|
|
379e526a
|
2022-02-14T15:02:31
|
|
[test] Add test for current hmtx logic
|
|
ed6d287d
|
2022-02-02T14:10:16
|
|
[ot-face] Load num-glyphs from `loca` table before `maxp`
Implements [boring-expansion] [maxp] Relax
https://github.com/be-fonts/boring-expansion-spec/issues/6
|
|
6b75a30a
|
2022-02-14T01:38:06
|
|
[draw/test] Swap a freetype test case with a simpler one
As CI failure, apparently the my local freetype and CI one have different
result so let's switch the case with a simpler one just to test quadratic command
is emitted correctly.
|
|
ae223764
|
2022-02-13T15:39:14
|
|
[test/draw] Typo
|