Qunxin Liu
8b0c7b9554
[instance] Add struct definition for cvar table
...
Also add functions to add cvt tables with cvar deltas applied
2023-02-27 17:05:23 -07:00
Qunxin Liu
22cc73f3e9
Move common structs for TupleVariation from gvar to var-common.hh
...
Also added a table_base in the iterator and related function to handle
different start address for dataoffset in cvar and gvar
2023-02-27 17:05:23 -07:00
Garret Rieger
c0fac016dc
[subset] update the subset fuzzer to be able to reach instancing code.
2023-02-27 15:07:04 -07:00
Behdad Esfahbod
62fc27f372
[ft] Enlarge glyph-cache value-size again
...
8bits just doesn't do it. It has caused cache-hammering and high
CPU usage when the font is hinted.
Fixes https://github.com/harfbuzz/harfbuzz/issues/4139
2023-02-27 11:21:32 -07:00
Behdad Esfahbod
921eca3e79
[autotools] Fix hb-info chafa build
2023-02-24 17:07:01 -07:00
Behdad Esfahbod
209f63b785
[TINY] Fix config issue
2023-02-24 16:03:40 -07:00
Qunxin Liu
605aed0544
[instancer] bug fix in post table applying mvar deltas
2023-02-24 13:19:37 -07:00
Garret Rieger
918193ebf9
[subset] fix a class of fuzzer timeouts caused by large shared coverage tables.
...
More acurately estimates the op count for CoverageFormat2 tables as the population size instead of the size in bytes.
2023-02-22 16:57:39 -07:00
Garret Rieger
ddd0f7f40b
[subset] Add a test for CFF2 instancing.
...
Adds option to disable the fonttools comparison check in the test. This is needed since CFF2 instancing is not yet supported in fonttools.
2023-02-22 14:12:55 -07:00
Behdad Esfahbod
33cc3121d4
Comment
2023-02-22 12:03:30 -07:00
Behdad Esfahbod
5bc6ab006d
Use __has_builtin for builtin checks instead of compiler versions
...
https://github.com/harfbuzz/harfbuzz/issues/4066#issuecomment-1439510188
2023-02-22 08:54:18 -07:00
Behdad Esfahbod
6b286cfabf
[cubic-glyf] Remove stale comment
2023-02-21 16:15:45 -07:00
Behdad Esfahbod
22b9315628
[cubic-glyf] Handle wrap-around cubic off-curves
2023-02-21 15:50:55 -07:00
Behdad Esfahbod
050f5a58fe
[cubic-glyf] Handle contour-initial cubic offcurves
2023-02-21 15:26:27 -07:00
Khaled Hosny
9c27fe625f
Revert "[doc] Fix a couple of gtk-doc warnings"
...
This reverts commit ed42b2fcb5
.
2023-02-21 23:25:14 +02:00
Khaled Hosny
ed42b2fcb5
[doc] Fix a couple of gtk-doc warnings
2023-02-21 23:08:15 +02:00
Khaled Hosny
0575229477
[blob] Typo in documentation
2023-02-21 18:07:53 +02:00
Khaled Hosny
424f5f2c0d
[ci] Don’t build docs while building Windows binaries
2023-02-20 16:05:53 +02:00
Khaled Hosny
1d1f93a612
7.0.1
2023-02-20 15:54:12 +02:00
Behdad Esfahbod
6db871eb3a
Merge pull request #4126 from harfbuzz/cff2-instancer
...
CFF2 instancer make ots-sanitize happy
2023-02-19 21:08:14 -07:00
Behdad Esfahbod
5b50b07717
[subset-cff] Make BCD writing locale-independent
2023-02-19 20:39:01 -07:00
Behdad Esfahbod
4a735b30c4
[cff2-subset] Update test
2023-02-19 20:39:01 -07:00
Behdad Esfahbod
21ff66cbd4
[subset-cff2] Round blended Private values when instancing
...
Hopefully no one blends BlueScale...
2023-02-19 20:39:01 -07:00
Behdad Esfahbod
a4b7033d01
[cff2-subset] Blend Private values when instancing
2023-02-19 20:39:01 -07:00
Behdad Esfahbod
f10a4c9d6a
[cff] Rename encode_num to encode_num_cs
2023-02-19 20:39:01 -07:00
Behdad Esfahbod
c65eb5a82e
[cff] Specialize cff_private_dict_op_serializer_t for CFF1/2
2023-02-19 20:39:01 -07:00
Behdad Esfahbod
bf4b34e87e
[subset-cff2] Don't encode vsindex in Private dict
2023-02-19 20:39:01 -07:00
Behdad Esfahbod
220caa7e09
[subset-cff2] Only encode VarStore link if any varstore
2023-02-19 20:39:01 -07:00
Behdad Esfahbod
82d9940a93
[subset-cff2] Don't encode vsindex if pinned
2023-02-19 20:39:01 -07:00
Behdad Esfahbod
a88f3e8d37
[subset-cff2] Don't serialize VarStore if pinned
2023-02-19 20:39:01 -07:00
Behdad Esfahbod
8c1b47d7e2
[font] Fix compiler warnings
2023-02-19 20:38:43 -07:00
Behdad Esfahbod
7c74fc9631
[CFF] Remove unused member single_val
2023-02-19 14:43:31 -07:00
Behdad Esfahbod
2746597b69
[subset-cff2] Add flush_hintmask
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4125
2023-02-19 12:15:22 -07:00
Behdad Esfahbod
adccc5355b
[MarkBase] Adjust base-finding logic
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4124
2023-02-17 12:29:42 -07:00
Behdad Esfahbod
946477fa54
[font] Fix a MSVC "error"
...
Oh well.
Fixes https://github.com/harfbuzz/harfbuzz/issues/4122
2023-02-16 15:04:49 -07:00
Behdad Esfahbod
b41efb6c4d
[atomic] Use no-op asm for compiler barrier
...
Fixes https://github.com/harfbuzz/harfbuzz/pull/4119
2023-02-13 21:45:20 -07:00
Khaled Hosny
2f1aa032b4
[doc] Give this section a nice URL
2023-02-13 09:50:04 +02:00
Khaled Hosny
552f0714e8
[meson] Fix test failure with experimental_api
...
Pass --experimental-api to all gen-def.py when generating all .def
files, not only harfbuzz.def.
Fixes https://github.com/harfbuzz/harfbuzz/issues/4117
2023-02-13 09:41:51 +02:00
Behdad Esfahbod
40fa046cf3
[hb-info] Declare a variable unused
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4115
2023-02-12 10:54:46 -07:00
Khaled Hosny
8bdaeddfcd
7.0.0
2023-02-11 23:52:58 +02:00
Khaled Hosny
df6324cbe7
[ci] Build with default wrap mode
...
Forcing fallback forces checking the subproject even if the option is
disabled.
2023-02-11 23:22:09 +02:00
Khaled Hosny
5b82fa91c5
[meson] Update Glib subproject
2023-02-11 23:22:09 +02:00
Khaled Hosny
31e099fd21
[meson] Update Cairo subproject
2023-02-11 23:22:09 +02:00
Khaled Hosny
8f0da5e5e6
[meson] Update FreeType subproject
2023-02-11 23:22:09 +02:00
Khaled Hosny
59cd1b17a9
[ci] Don’t build docs on macos-aat-fonts job
...
It fails ninja test, but superfluous anyway.
2023-02-11 20:59:44 +02:00
Khaled Hosny
7188c5643a
[doc] Enable gtkdoc-check
...
Should catch the most blatant issues.
2023-02-11 20:59:44 +02:00
Khaled Hosny
0ea8bbd91a
[doc] Use XSince for REPLACEME/EXPERIMENTAL
...
To hide them from gtk-doc so that we can finally enable gtkdoc-check.
2023-02-11 20:59:44 +02:00
Khaled Hosny
16dfd263b1
[subset] Remove docs for unimplemented flags
...
GTK-Doc does not like this.
2023-02-11 20:59:44 +02:00
Khaled Hosny
4d25941315
[doc] Fix hb_ot_name_[id|predefined]_t
...
Shuffle the docs around, so that the enum values appear in documentation
as they now belong to hb_ot_name_predefined_t. The Since field will be
misleading now, though.
2023-02-11 20:59:44 +02:00
Khaled Hosny
13741e68f8
[doc] Minor
2023-02-11 20:59:44 +02:00