Behdad Esfahbod
749df4ee84
[PairPosFormat1] One more
2 years ago
Behdad Esfahbod
b648ceb72f
[PairSet] Optimize last commit
2 years ago
Behdad Esfahbod
891623243c
[PairSet] Unify get_size()
2 years ago
Behdad Esfahbod
b63159e8bf
[PairPosFormat1] Fix stride
...
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=55287
and generally the lookup with MediumTypes.
2 years ago
Behdad Esfahbod
be8a87c453
Move TRACE_DISPATCH after may_recurse()
...
Such that we don't get memory access issues if DEBUG_SANITIZE is
on and may_recurse() returns false.
2 years ago
Behdad Esfahbod
84b9a632ed
[debug] Fix printf signness warnings
2 years ago
Behdad Esfahbod
c54a7022fe
[hb-view] Require cairo 1.17.5 for HB_DRAW=1 default again
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4051
2 years ago
Khaled Hosny
67e652cd5d
[meson] Update Cairo subproject
2 years ago
Khaled Hosny
ed68db2c01
[util] Fix MSVC warning
...
Apparently \e is non-standard extension not supported by MSVC. Use \033
instead.
Fixes:
warning C4129: 'e': unrecognized character escape sequence
2 years ago
Khaled Hosny
c08e5d094a
[hb-draw] Fix MSVC warning
...
warning C4305: 'initializing': truncation from 'double' to 'float'
2 years ago
Khaled Hosny
e1a0705128
[meson] Enabled needlessly disabled MSVC warnings
...
We don’t seem to hot any of these warnings currently.
2 years ago
Khaled Hosny
f96e32a0aa
[meson] Try to make MSVC build less spammy
...
Enable exceptions in ragel subproject, and revert the exceptions part of:
commit 22cbd038d3
Author: Khaled Hosny <khaled@aliftype.com>
Date: Tue Sep 14 12:34:25 2021 +0200
[meson] Add ragel subproject
To get ride of the following warnings:
cl : Command line warning D9025 : overriding '/EHs' with '/EHs-'
2 years ago
Matthias Clasen
32f9b467d6
Merge pull request #4045 from harfbuzz/custom-palette-cairo
...
Custom palette cairo
2 years ago
Matthias Clasen
179c93c5c2
Merge pull request #4054 from harfbuzz/hb-info-color-format
...
[hb-info] Fix output for CPAL
2 years ago
Matthias Clasen
54d5321d13
Merge pull request #4056 from harfbuzz/fix-sweep-gradient-hang
...
[hb-cairo] Fixes for sweep gradients
2 years ago
Matthias Clasen
47baa1da6b
[hb-cairo] Fixes for sweep gradients
...
Make reversed angles not infloop, and
cap the number of interval repetitions
at 1000.
Fixes: https://github.com/harfbuzz/harfbuzz/issues/4055
2 years ago
Matthias Clasen
c574eda74b
[hb-info] Fix output for CPAL
...
The output for palette names was mangled.
This commit makes things come out ok.
For flags, we use "Both" when both LIGHT
and DARK are set.
2 years ago
Behdad Esfahbod
7f59bed528
[hb-cairo] Round foreground color
2 years ago
Behdad Esfahbod
76b059cadb
[hb-cairo] Simplify foreground color fetching
2 years ago
Behdad Esfahbod
f70f7194de
[hb-cairo] Remove unused prototype
2 years ago
Behdad Esfahbod
61719a8350
[hb-view] Support specifying color indices again
2 years ago
Qunxin Liu
89d332559e
[instancer] add tests
2 years ago
Qunxin Liu
30058f489a
[instancer] trim .notdef outline data after recalc bounds
...
If outline data present, we use it to recalc bounds and then trim it
accordingly
2 years ago
Qunxin Liu
0de7f83a9f
[instancer] update maxp table
2 years ago
Qunxin Liu
94c390d078
[instancer] update head table
2 years ago
Qunxin Liu
2ecb1c31e9
[instancer] always recalculate bounds when --instance option enabled
...
But don't recompile glyph bytes if pinned at default
2 years ago
Qunxin Liu
1f948e7fd5
[instancer] store recalculated head/maxp info in subset plan
2 years ago
Qunxin Liu
92122421c9
[instancer] update vhea/hhea tables
2 years ago
Behdad Esfahbod
ab7c914425
[hb-cairo] Macro shuffle again
2 years ago
Behdad Esfahbod
4759932bcf
[hb-cairo] Round colors
2 years ago
Behdad Esfahbod
876675e090
[hb-cairo] Macro shuffling
2 years ago
Behdad Esfahbod
68a73e436a
[hb-cairo] Macro hygiene
2 years ago
Khaled Hosny
fcb5111cc6
[doc] Fix gtk-doc warning
2 years ago
Behdad Esfahbod
574d9344dc
[hb-cairo] Fix build with old cairo
2 years ago
Behdad Esfahbod
4f19c3b3be
[hb-cairo] Move color-cache to scaled-font
2 years ago
Behdad Esfahbod
beba43eebe
[hb-cairo] Fix color cache on not-found
2 years ago
Behdad Esfahbod
cc9b55c794
[hb-cairo] Add a color cache
2 years ago
Behdad Esfahbod
10def9b3df
meson fix
2 years ago
Behdad Esfahbod
eb00088bcf
[paint] Docs
2 years ago
Behdad Esfahbod
f21b15dcc3
[hb-view] Update to alternative cairo custom-palette API
2 years ago
Behdad Esfahbod
638e0ed4fd
[paint] Overlay custom-palette on top of chosen palette
...
Got to agree this is more ergonomic.
2 years ago
Behdad Esfahbod
03e2e58642
[hb-view] Improve color parsing
...
Now supports 3, 4, 6, 8 digit colors.
2 years ago
Behdad Esfahbod
dc4af478d1
[hb-view] Default background to white when parsing
2 years ago
Matthias Clasen
b81db8d3d8
Avoid a compiler warning
2 years ago
Behdad Esfahbod
e998cec1d9
[hb-view] Move palette options to --help-view
2 years ago
Behdad Esfahbod
253b4cecae
[hb-view] Simplify palette format
2 years ago
Behdad Esfahbod
52b78d526b
[hb-view] Fix leak
2 years ago
Behdad Esfahbod
5847ec24ff
Fix bots
2 years ago
Behdad Esfahbod
4fe6ece425
[cairo] Don't fallback to CPAL if cairo doesn't support custom palette
2 years ago
Behdad Esfahbod
0bff570491
[hb-view] Use custom palette if any set
2 years ago