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
Behdad Esfahbod
ab191d9dc7
[ot-font] Minor division rounding
2023-02-11 09:31:21 -07:00
Behdad Esfahbod
c6c1c6ddf1
Merge pull request #4107 from harfbuzz/cubic-glyf
...
[glyf] Support cubic curves
2023-02-11 09:20:51 -07:00
Behdad Esfahbod
6ddd490191
[path-builder] Comment re cubic
2023-02-10 14:24:03 -07:00
Behdad Esfahbod
91c2f098d0
[cubic-glyf] Add HB_NO_CUBIC_GLYF
2023-02-10 14:15:16 -07:00
Qunxin Liu
af1e605be2
[instancer] bug fix
...
It's possible that length of all_points equals to 4 for non-empty
glyphs: a composite glyph which contains only one child glyph that is
empty.
2023-02-10 12:51:27 -07:00
Behdad Esfahbod
8302da8630
Merge pull request #4097 from harfbuzz/embolden
...
Embolden
2023-02-10 12:50:45 -07:00
Jens Kutilek
219e2f12f0
Clarify that those two test fonts are CC0-licensed
2023-02-10 10:06:28 -07:00
Pedro J. Estébanez
b1680e9143
Use proper preprocessor checks for UWP
2023-02-10 09:39:40 -07:00
Behdad Esfahbod
96d9e8624c
[docs] Improve cluster-level docs
2023-02-09 12:53:17 -07:00
Behdad Esfahbod
737b15c5a0
[embolden] Docs
2023-02-08 17:45:59 -07:00
Khaled Hosny
00a6f8945c
[meson] Minor
...
alias_target() is variadic function.
2023-02-08 22:43:39 +02:00
Behdad Esfahbod
1d9dafbfd5
[glyf] Support cubic curves
...
https://github.com/harfbuzz/boring-expansion-spec/issues/41
2023-02-07 22:19:45 -07:00
Behdad Esfahbod
64fa5cd482
[GPOS] Fix assert fail introduced recently
...
Was introduced in 8708b9e081
.
If these lookups are recursed to from (Chain)Context out-of-order,
it was possible that last_base > buffer->idx, in which case we
were attaching marks to a base after them... and an assertion
was failing fortunately.
Fixes https://oss-fuzz.com/testcase-detail/6377756666757120
2023-02-07 15:52:53 -07:00
Qunxin Liu
840e1b6b84
[instancer] bug fix
2023-02-07 15:49:12 -07:00
Behdad Esfahbod
3fd9311649
[indic] Use a hb_swap()
2023-02-07 14:16:24 -07:00
Behdad Esfahbod
be1c14ee0a
[embolden] Adjust font_h_extents
2023-02-07 13:52:53 -07:00
Behdad Esfahbod
b350122fb3
[embolden] Fix glyph_extents in hb-ft
2023-02-07 13:49:16 -07:00
Behdad Esfahbod
61a1a88940
[hb-ft] Fix --font-grade
2023-02-07 13:47:04 -07:00
Behdad Esfahbod
560a65e456
[embolden] Update glyph_extents in hb-ot-font
2023-02-07 13:46:13 -07:00