Behdad Esfahbod
|
097fb8b8aa
|
[priority-queue] Use resize instead of shrink
To avoid reallocation of smaller array. Not desirable here.
|
2023-01-05 14:38:10 -07:00 |
Behdad Esfahbod
|
8a17cc4ecf
|
[gsubgpos] Use swap instead of move
Move is wrong when we want to reuse the object.
|
2023-01-05 14:15:38 -07:00 |
Behdad Esfahbod
|
4401dd2482
|
[gsubgpos] Minor use ->clear() directly
|
2023-01-05 14:13:57 -07:00 |
Behdad Esfahbod
|
207ae11ab9
|
[set] Allocate first page exact
|
2023-01-05 14:08:47 -07:00 |
Behdad Esfahbod
|
0b7f6d6cf0
|
[gsubgpos] Reduce hb_set_t allocations
|
2023-01-05 14:05:11 -07:00 |
Behdad Esfahbod
|
3961cc46bf
|
[gsubgpos] Cache pos_glyphs allocation in closure
Saves some 3% in Gulzar-Regular subsetting.
|
2023-01-05 13:58:57 -07:00 |
Behdad Esfahbod
|
a90f149e1b
|
[gsubgpos] Minor drop an allocation
|
2023-01-05 13:52:11 -07:00 |
Behdad Esfahbod
|
c54debc76d
|
[face] Add hb_face_collect_nominal_glyph_mapping
Fixes https://github.com/harfbuzz/harfbuzz/issues/3973
|
2023-01-05 11:57:48 -07:00 |
Behdad Esfahbod
|
ec70a3f797
|
[map] Include
|
2023-01-05 11:52:12 -07:00 |
Behdad Esfahbod
|
8b12c19573
|
[face] Split hb-face-builder.cc
|
2023-01-05 11:42:21 -07:00 |
Behdad Esfahbod
|
b0d9421b11
|
[docs] Remove reference to 2.x.x
Fixes https://github.com/harfbuzz/harfbuzz/issues/4006
|
2023-01-05 11:21:46 -07:00 |
Behdad Esfahbod
|
dc7b3a627d
|
[test-map] Another test
|
2023-01-05 10:49:10 -07:00 |
Behdad Esfahbod
|
a8df5cb07d
|
[test-map] Test keys() / values()
|
2023-01-05 10:47:47 -07:00 |
Konstantin Käfer
|
a349eef6a6
|
Disable hb_paint_extents_* functions if HB_NO_PAINT is defined
|
2023-01-05 10:18:47 -07:00 |
Behdad Esfahbod
|
9420966f5b
|
[map] Fix next()
|
2023-01-05 10:17:24 -07:00 |
Behdad Esfahbod
|
35f46e74d1
|
[map] Add hb_map_keys() and hb_map_values()
|
2023-01-04 17:12:08 -07:00 |
Behdad Esfahbod
|
07f2d8d538
|
Comment
|
2023-01-04 15:42:56 -07:00 |
Behdad Esfahbod
|
4f6079138d
|
[map] Add hb_map_update()
|
2023-01-04 13:58:46 -07:00 |
Behdad Esfahbod
|
c350458539
|
[subset-plan] Relax const return type of a few functions
Fixes https://github.com/harfbuzz/harfbuzz/issues/4003
|
2023-01-04 13:25:03 -07:00 |
Behdad Esfahbod
|
dbf0964a0f
|
[map] Doc
|
2023-01-04 13:17:14 -07:00 |
Behdad Esfahbod
|
0875a420f7
|
[map] Doc
|
2023-01-04 13:11:37 -07:00 |
Behdad Esfahbod
|
ffafcf9633
|
[map] Add hb_map_next()
|
2023-01-04 12:56:42 -07:00 |
Behdad Esfahbod
|
3e471bbc08
|
[vector] Better test
|
2023-01-04 11:53:49 -07:00 |
Behdad Esfahbod
|
45fc919a10
|
[bit-set] Minor setting length on allocation failure
|
2023-01-04 11:35:44 -07:00 |
Behdad Esfahbod
|
d8509061e6
|
[vector] It's okay if shrinking fails
|
2023-01-04 11:33:54 -07:00 |
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
|
2023-01-03 13:00:41 -07:00 |
Behdad Esfahbod
|
e6bbf112ea
|
[buffer] Better document set_content_type
Fixes https://github.com/harfbuzz/harfbuzz/issues/4000
|
2023-01-03 12:35:48 -07:00 |
Behdad Esfahbod
|
8f2345ca36
|
Use more vector resize_exact
|
2023-01-02 18:08:45 -07:00 |
Behdad Esfahbod
|
b6be455020
|
[vector] Add resize_exact()
|
2023-01-02 18:05:43 -07:00 |
Behdad Esfahbod
|
a516ce97e0
|
[subset-cff] Add a few exact-allocation calls
|
2023-01-02 17:58:51 -07:00 |
Behdad Esfahbod
|
4a435dc024
|
[subset-cff] Remove an unlikely
|
2023-01-02 17:41:31 -07:00 |
Behdad Esfahbod
|
f8c578fd93
|
[subset-cff] Remove commented-out line
|
2023-01-02 17:33:04 -07:00 |
Behdad Esfahbod
|
d5e1748f31
|
[cff] Simplify add_op()
|
2023-01-02 12:26:43 -07:00 |
Behdad Esfahbod
|
27531d853e
|
[subset-cff] Move code around
|
2023-01-02 12:05:11 -07:00 |
Behdad Esfahbod
|
9afe5f973e
|
[vector] Fix leak
Discovered by https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=54767
|
2023-01-02 11:46:45 -07:00 |
Behdad Esfahbod
|
4f013c42f0
|
[subset-cff] Always compact charstrings
Reduces non-preprocessed subsetting memory footprint significantly.
|
2023-01-02 10:39:14 -07:00 |
Behdad Esfahbod
|
d3ed6eed43
|
[cff] Initialize a member variable
For good hygiene.
|
2023-01-02 10:39:14 -07:00 |
Khaled Hosny
|
8ccc704c9a
|
[ci/win32] Disable Cairo tests as well
|
2023-01-02 18:57:54 +02:00 |
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.
|
2023-01-02 18:57:54 +02:00 |
Behdad Esfahbod
|
55a7d81740
|
[vector] Allocate exact size in operator=
|
2023-01-01 23:07:42 -07:00 |
Behdad Esfahbod
|
449910d431
|
[vector] Allocate exact size in constructor
|
2023-01-01 19:27:10 -07:00 |
Behdad Esfahbod
|
4dda1f7881
|
[cff-subset] Compact charstrings just after parsing
Massive peak-memory saving when processing face.
|
2023-01-01 19:00:04 -07:00 |
Behdad Esfahbod
|
a7617c3cf1
|
[cff-subset] Drop hints just after parsing charstring
In prep for next commit.
|
2023-01-01 18:58:08 -07:00 |
Behdad Esfahbod
|
b1c4cb0cae
|
[cff2] Use a shrink instead of resize
Such that we can free the allocation.
|
2023-01-01 18:41:19 -07:00 |
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.
|
2023-01-01 18:38:28 -07:00 |
Behdad Esfahbod
|
1119e60296
|
[subset-cff] Tweak another storage allocation
|
2023-01-01 18:31:32 -07:00 |
Behdad Esfahbod
|
85e8f2b53f
|
[hb-subset] Initialize preprocess variable
|
2023-01-01 18:26:08 -07:00 |
Behdad Esfahbod
|
f0b5286b36
|
[features] Sort
|
2023-01-01 17:04:59 -07:00 |
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()
|
2023-01-01 16:53:28 -07:00 |
Behdad Esfahbod
|
d87add41b3
|
[hb-subset] Rename --preprocess-face to --preprocess
Keep old name working but hidden.
|
2023-01-01 16:27:26 -07:00 |