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
Behdad Esfahbod
1a0dd49f1e
Merge pull request #3991 from harfbuzz/paint-optimize-transform
...
Paint optimize transform
2 years ago
Matthias Clasen
9f3b59fe6b
Update expected test results
...
These need updates, because they record
every callback, and we've changed what
callbacks are happening.
2 years ago
Behdad Esfahbod
edb812345a
[subset-cff] Another exact allocation
2 years ago
Behdad Esfahbod
54dd01b865
[set] Use exact-allocation in copying
...
Significantly reduces memory consumption.
2 years ago
Behdad Esfahbod
2c64048bc4
[subset] Another exact-allocation
2 years ago
Behdad Esfahbod
0ec0214f10
[cff-subset] Adjust pre-allocation
...
Reduces memory use significantly.
2 years ago
Behdad Esfahbod
b88ca81814
[paint-extents] Minor reorder
2 years ago
Behdad Esfahbod
0c6a721337
[set] Another exact-size allocation
2 years ago
Behdad Esfahbod
b803024caf
[cff2] Another exact-size allocation
2 years ago
Behdad Esfahbod
3d4659beaa
[cff2] Use exact-size vector allocation for blends
2 years ago
Behdad Esfahbod
92e5933ee6
[vector] A couple more exact-size allocations
2 years ago
Behdad Esfahbod
2eacc37e08
[vector] Add internal API for exact-size allocation
...
Use it from a couple of places.
2 years ago
Behdad Esfahbod
a0b46f3f6b
[machinery] Refactor shared code into a macro
2 years ago
Behdad Esfahbod
ebb475bae7
[multimap] Add consts
2 years ago
Behdad Esfahbod
9e3ff0e9f0
[paint] Fixup
2 years ago
Behdad Esfahbod
6b47fcb17a
[paint] Add internal push_skew/pop_skew API
2 years ago
Behdad Esfahbod
46adf31b4c
[paint] Add internal push_rotate/pop_rotate API
2 years ago
Behdad Esfahbod
ce7835124a
[paint] Add internal push_scale/pop_scale API
2 years ago
Behdad Esfahbod
7363eb373a
[paint] Add internal push_translate/pop_translate
2 years ago
Behdad Esfahbod
df91677997
[paint] Call internal API internally
2 years ago
Behdad Esfahbod
99da0e6cc3
[paint] Avoid div-by-zero
2 years ago
Behdad Esfahbod
4e94b65cff
[paint-extents] Const-correctness
2 years ago
Behdad Esfahbod
f6dc4698ef
[paint-extents] Minor move variable
2 years ago
Behdad Esfahbod
4e7807a090
[paint-extents] Rename variable
2 years ago
Behdad Esfahbod
c86d1892ad
[paint-extents] Move code around
2 years ago
Behdad Esfahbod
d9a9bd8fa8
[paint-extents] Add HB_UNUSED
2 years ago
Matthias Clasen
956ccb11a8
[docs] Add a section about rendering
2 years ago
Matthias Clasen
63cd1cce67
[docs] Drop stale commented-out section
...
Freetype integration is documented elsewhere now.
2 years ago
Matthias Clasen
a390590451
Mention named instances in the var-fonts section
2 years ago
Behdad Esfahbod
37e90c64c1
[cairo] Fix warnings
2 years ago
Behdad Esfahbod
04464c55b2
[pool] Change chunk-len from 16 to 32
2 years ago
Behdad Esfahbod
d7941e04df
[paint-extents] Unlikely
2 years ago
Behdad Esfahbod
ca844b6975
[paint-extents] Whitespace
2 years ago
Behdad Esfahbod
62ca2be39d
[paint-extents] Implement quadratic callback
2 years ago
Behdad Esfahbod
7389efd8e0
[post] Pre-alloc name index array
2 years ago
Behdad Esfahbod
36bef5dccf
[gsubgpos] Prealloc subtables vector
2 years ago
Khaled Hosny
00060d99f3
[hb-cairo] Silence warning when building with FreeType
...
In file included from ../util/hb-view.cc:33:
In file included from ../util/view-cairo.hh:32:
../util/helper-cairo.hh:102:7: warning: variable 'cairo_face' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
if (use_hb_draw)
^~~~~~~~~~~
../util/helper-cairo.hh:129:64: note: uninitialized use occurs here
cairo_scaled_font_t *scaled_font = cairo_scaled_font_create (cairo_face,
^~~~~~~~~~
../util/helper-cairo.hh:102:3: note: remove the 'if' if its condition is always true
if (use_hb_draw)
^~~~~~~~~~~~~~~~
../util/helper-cairo.hh:101:32: note: initialize the variable 'cairo_face' to silence this warning
cairo_font_face_t *cairo_face;
^
= nullptr
We know that cairo_face will always be assigned since use_hb_draw will
always be true, but the compiler does not know that.
2 years ago
Behdad Esfahbod
a45bf5b04c
[ft-colr] Require FreeType >= 2.11.1
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3989
2 years ago
Behdad Esfahbod
ceba6c9a90
[config] Sort
2 years ago
Behdad Esfahbod
0d98c79b10
[util] Centralize includes again
2 years ago
Behdad Esfahbod
d90ccc1c5c
[view] More includes
2 years ago