Behdad Esfahbod
|
48db1c9583
|
[font] Add serial API
New API:
+ hb_font_get_serial()
+ hb_font_changed()
Fixes https://github.com/harfbuzz/harfbuzz/issues/2426
Unused internally as of now.
|
3 years ago |
Behdad Esfahbod
|
0fe1869228
|
[benchmark-set] Pause timing around set copy initialization
|
3 years ago |
Behdad Esfahbod
|
ce5435a862
|
[benchmark-set] Remove use of rand() inside benchmark
|
3 years ago |
Behdad Esfahbod
|
efa2a5796e
|
[map] Add hb_map_copy()
New API:
+ hb_map_copy()
|
3 years ago |
Behdad Esfahbod
|
3b28cff9c0
|
[cff1] Fix null dereference on memory alloc failure
|
3 years ago |
Behdad Esfahbod
|
8df9aba997
|
Actually try to fix null-size undefined behavior
Related to:
https://github.com/harfbuzz/harfbuzz/pull/2067
https://bugzilla.mozilla.org/show_bug.cgi?id=1577584
|
3 years ago |
Garret Rieger
|
e00c7358a0
|
[subset] special case table presence check for hb_face_create_from_tables faces.
|
3 years ago |
Garret Rieger
|
6a149a09e7
|
[subset] fix use of lazy static constructor.
|
3 years ago |
Garret Rieger
|
d4c7939eb7
|
[subset] use a list of known tables instead of handled tables.
|
3 years ago |
Garret Rieger
|
3472f73b79
|
[subset] also include no subset tables when guessing which tables are present.
|
3 years ago |
Garret Rieger
|
9564d98739
|
[subset] fix subsetting of faces created via hb_face_create_for_tables.
Fixes #3609.
|
3 years ago |
Behdad Esfahbod
|
6010feeeb5
|
[varStore] Rename variable as per review
https://github.com/harfbuzz/harfbuzz/pull/3605
|
3 years ago |
Khaled Hosny
|
89939c9cc3
|
[ci] Fix fedora-valgrind job
Fedora 33 is EOL since 2021-11-30, try the latest Fedora release (36).
|
3 years ago |
Behdad Esfahbod
|
8a7cfe1787
|
[perf/benchmark-shape] Test ft font backend as well
|
3 years ago |
Behdad Esfahbod
|
d473397831
|
Merge pull request #3605 from harfbuzz/cache-varstore
Cache varstore
https://github.com/harfbuzz/harfbuzz/pull/3605
|
3 years ago |
Behdad Esfahbod
|
3eb7eff487
|
Remove varstore cache use if HB_NO_VAR
|
3 years ago |
Behdad Esfahbod
|
099482a37a
|
[ot-font] Cache v_advance varstore as well
|
3 years ago |
Behdad Esfahbod
|
d9acc045f1
|
[VarStore] Sprinkle cache_t type around
It's available so no need to use void*.
|
3 years ago |
Behdad Esfahbod
|
da38312e42
|
[VarStore] Pepper cache with likely()
|
3 years ago |
Behdad Esfahbod
|
cf8f00e354
|
[VarStore] Don't use NAN
Is faster.
With this, I'm seeing 25 to 28% speedup in glyph_h_advances benchmark
of benchmark-font for var/hb tests.
|
3 years ago |
Behdad Esfahbod
|
5336ba70f6
|
[HVAR] Cache VarStore region scalars
|
3 years ago |
Behdad Esfahbod
|
880f50f7e4
|
Refactor varstore cache
|
3 years ago |
Behdad Esfahbod
|
f2a2fb91a3
|
[GPOS] Cache VarStore region scalars
|
3 years ago |
Behdad Esfahbod
|
5fbc70c59b
|
[VarStore] Add cache API
|
3 years ago |
Behdad Esfahbod
|
e1f4445dff
|
[benchmark-shape] Allow taking multiple tests from cmdline
|
3 years ago |
Behdad Esfahbod
|
1bf2d5f885
|
[perf/benchmark-shape] Allow taking text-file/font-file args from cmdline
|
3 years ago |
Behdad Esfahbod
|
852a8f04eb
|
[perf/benchmark-font] Allow benchmarking fonts specified on cmdline
|
3 years ago |
Behdad Esfahbod
|
05e82aa12e
|
[ft] Add missing lock to kerning function
|
3 years ago |
Behdad Esfahbod
|
da4b6f1527
|
[benchmark-shape] Add variable fonts
|
3 years ago |
Behdad Esfahbod
|
4ea2725704
|
[set/map] Expose hash API publicly
New API:
+ hb_set_hash()
+ hb_map_hash()
|
3 years ago |
Behdad Esfahbod
|
2e186d9f24
|
[buffer] Improve hash function of segment_properties_t
|
3 years ago |
Khaled Hosny
|
aee123fc83
|
4.3.0
|
3 years ago |
Behdad Esfahbod
|
975a5f9194
|
[array] Use hb_memcmp instead of memcmp
Fixes ubsan error.
|
3 years ago |
Behdad Esfahbod
|
55804e8d68
|
[hb-ft] Minor rearrange of struct members
To make clear what members the lock protects.
|
3 years ago |
Garret Rieger
|
4e11da054d
|
[repacker] update repacker test golden file.
Changed due to removal of Kahn sorting.
|
3 years ago |
Garret Rieger
|
cbf8f44c9b
|
[subset-perf] swap instead of copying vertice's when reordering during sort.
|
3 years ago |
Garret Rieger
|
b32ca2a292
|
[subset-perf] remove sort_kahn from repacker.
Without an optimized FIFO queue implementation it's nearly as slow as the now optimized sort_shortest_distance.
|
3 years ago |
Behdad Esfahbod
|
4266cf3be2
|
[array] Specialize operator== for bytes_t and ubytes_t
|
3 years ago |
Behdad Esfahbod
|
6eaa22e9d7
|
[serialize] Reduce link_t size from 16 to 12
|
3 years ago |
Behdad Esfahbod
|
30ba9a39e2
|
[vector] Add emplacing push implementation
|
3 years ago |
Behdad Esfahbod
|
25393288f0
|
[test] Fix compiler warning
|
3 years ago |
Garret Rieger
|
73b8360dcf
|
[subset] fix fuzzer found underflow when heap push fails.
Fixes https://oss-fuzz.com/testcase-detail/5148625505746944.
|
3 years ago |
Behdad Esfahbod
|
f1bf14ea89
|
Revert "[set] Cache hash value"
This reverts commit 44952bcc25 .
While we investivate https://github.com/harfbuzz/harfbuzz/issues/3599
|
3 years ago |
Behdad Esfahbod
|
b4d1ec310c
|
[algs] Declare coerce() as constexpr
|
3 years ago |
Behdad Esfahbod
|
2fdb7616f5
|
[map Further adjust hash function
|
3 years ago |
Behdad Esfahbod
|
01fc90b68c
|
[map] Adjust hash function
|
3 years ago |
Behdad Esfahbod
|
a47b0aebf5
|
[vector] Fix remove() implementation
test-vector under valgrind happy now.
|
3 years ago |
Behdad Esfahbod
|
3bd755c32d
|
[test-vector] Test remove()
Currently buggy. Valgrind confirms.
|
3 years ago |
Behdad Esfahbod
|
58f848daa8
|
[set/map] Adjust hash function return type
|
3 years ago |
Behdad Esfahbod
|
6544fc284f
|
[vector] Add further copy implementation
|
3 years ago |