Behdad Esfahbod
ec70a3f797
[map] Include
2 years ago
Behdad Esfahbod
8b12c19573
[face] Split hb-face-builder.cc
2 years ago
Behdad Esfahbod
b0d9421b11
[docs] Remove reference to 2.x.x
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4006
2 years ago
Behdad Esfahbod
dc7b3a627d
[test-map] Another test
2 years ago
Behdad Esfahbod
a8df5cb07d
[test-map] Test keys() / values()
2 years ago
Konstantin Käfer
a349eef6a6
Disable hb_paint_extents_* functions if HB_NO_PAINT is defined
2 years ago
Behdad Esfahbod
9420966f5b
[map] Fix next()
2 years ago
Behdad Esfahbod
35f46e74d1
[map] Add hb_map_keys() and hb_map_values()
2 years ago
Behdad Esfahbod
07f2d8d538
Comment
2 years ago
Behdad Esfahbod
4f6079138d
[map] Add hb_map_update()
2 years ago
Behdad Esfahbod
c350458539
[subset-plan] Relax const return type of a few functions
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4003
2 years ago
Behdad Esfahbod
dbf0964a0f
[map] Doc
2 years ago
Behdad Esfahbod
0875a420f7
[map] Doc
2 years ago
Behdad Esfahbod
ffafcf9633
[map] Add hb_map_next()
2 years ago
Behdad Esfahbod
3e471bbc08
[vector] Better test
2 years ago
Behdad Esfahbod
45fc919a10
[bit-set] Minor setting length on allocation failure
2 years ago
Behdad Esfahbod
d8509061e6
[vector] It's okay if shrinking fails
2 years ago
Behdad Esfahbod
6c272b920d
[set] Don't discard allocation in operator=
...
That had caused memory thrashing.
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=54789
2 years ago
Behdad Esfahbod
e6bbf112ea
[buffer] Better document set_content_type
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4000
2 years ago
Behdad Esfahbod
8f2345ca36
Use more vector resize_exact
2 years ago
Behdad Esfahbod
b6be455020
[vector] Add resize_exact()
2 years ago
Behdad Esfahbod
a516ce97e0
[subset-cff] Add a few exact-allocation calls
2 years ago
Behdad Esfahbod
4a435dc024
[subset-cff] Remove an unlikely
2 years ago
Behdad Esfahbod
f8c578fd93
[subset-cff] Remove commented-out line
2 years ago
Behdad Esfahbod
d5e1748f31
[cff] Simplify add_op()
2 years ago
Behdad Esfahbod
27531d853e
[subset-cff] Move code around
2 years ago
Behdad Esfahbod
9afe5f973e
[vector] Fix leak
...
Discovered by https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=54767
2 years ago
Behdad Esfahbod
4f013c42f0
[subset-cff] Always compact charstrings
...
Reduces non-preprocessed subsetting memory footprint significantly.
2 years ago
Behdad Esfahbod
d3ed6eed43
[cff] Initialize a member variable
...
For good hygiene.
2 years ago
Khaled Hosny
8ccc704c9a
[ci/win32] Disable Cairo tests as well
2 years ago
Khaled Hosny
5d81fc0f1c
[meson] Update Cairo subproject
...
Update to the latest master to get color fonts working. Disable dwrite
on Windows builds as it does not compile and we don’t need it.
2 years ago
Behdad Esfahbod
55a7d81740
[vector] Allocate exact size in operator=
2 years ago
Behdad Esfahbod
449910d431
[vector] Allocate exact size in constructor
2 years ago
Behdad Esfahbod
4dda1f7881
[cff-subset] Compact charstrings just after parsing
...
Massive peak-memory saving when processing face.
2 years ago
Behdad Esfahbod
a7617c3cf1
[cff-subset] Drop hints just after parsing charstring
...
In prep for next commit.
2 years ago
Behdad Esfahbod
b1c4cb0cae
[cff2] Use a shrink instead of resize
...
Such that we can free the allocation.
2 years ago
Behdad Esfahbod
b87360763e
[vector] Support shrinking storage if exact size provided
...
Only do it if requested size is less than quarter of allocated size.
This has massive benefit during CFF subset preprocessing.
2 years ago
Behdad Esfahbod
1119e60296
[subset-cff] Tweak another storage allocation
2 years ago
Behdad Esfahbod
85e8f2b53f
[hb-subset] Initialize preprocess variable
2 years ago
Behdad Esfahbod
f0b5286b36
[features] Sort
2 years ago
Behdad Esfahbod
4a5bd7a926
[subset] Add hb_subset_input_keep_everything()
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3998
New API:
+ hb_subset_input_keep_everything()
2 years ago
Behdad Esfahbod
d87add41b3
[hb-subset] Rename --preprocess-face to --preprocess
...
Keep old name working but hidden.
2 years ago
Behdad Esfahbod
52110f13b0
[subset-input] Refactor copy-pasta code
2 years ago
Matthias Clasen
4adc748b13
Move Color tables to src/OT/Color/
2 years ago
Behdad Esfahbod
a5f1f3a05c
[ft] Conditionalize all COLOR code on >= 2.11.1
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3994
2 years ago
Matthias Clasen
dc5179d465
Drop hb-ot-color-colr-table.cc
...
Move everything into the .hh file.
2 years ago
Khaled Hosny
27684f14be
[introspection] Skip sources not usable with GObject Introspection
...
There is no point in generating GIR for code interfacing with libraries
without introspection integration. This fixes spurious warnings on macOS
when g-ir-scanner mistakenly tries to scan system headers.
2 years ago
Matthias Clasen
2bd09a99c1
Merge pull request #3996 from harfbuzz/drop-unused-file
...
Drop an unused file
2 years ago
Matthias Clasen
f60e7e3f8c
Drop an unused file
2 years ago
Behdad Esfahbod
3ff91c449f
[paint] Optimize transform operations again
2 years ago