David Corbett
dc3e005d15
[Unicode 16] Update the Arabic joining script list
2024-09-14 11:03:26 -04:00
David Corbett
351e20c216
[Unicode 16] Update the Arabic table
2024-09-14 11:02:54 -04:00
David Corbett
42369b8439
[Unicode 16] Update the UCD table
2024-09-14 11:00:48 -04:00
David Corbett
f279e25812
[Unicode 16] Add new hb_script_t values
2024-09-14 10:47:52 -04:00
David Corbett
a5c9cc4e22
[USE, Unicode 16] Update the data files
...
This uses the data files from
<https://github.com/microsoft/font-tools/tree/0fbf022accc7c29afcf46262600175655baf4081/USE >
and closes #4858 .
2024-09-14 10:45:01 -04:00
Behdad Esfahbod
0a82f43a61
[arabic] Remove non-sensical code
...
We were adding rclt after checking that the font doesn't have it!
2024-09-11 10:38:12 -07:00
Qunxin Liu
a141e25c42
[subset] remove unnecessary check on name IDs
...
See: https://learn.microsoft.com/en-us/typography/opentype/spec/features_ae
The spec says they are expected to be in the font-specific name ID range (256–32767),
though that is not a requirement in this Feature Parameters specification.
2024-08-30 11:19:35 -06:00
Behdad Esfahbod
2ba0b9ee94
Turn some byte data into unsigned char, from char
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4844
2024-08-29 11:44:59 -07:00
Ebrahim Byagowi
ea430c10e1
[doc] Quote the table name
2024-08-23 08:58:50 -06:00
Ebrahim Byagowi
868a75b61c
[style][doc] Mention explicitly it goes through STAT table
2024-08-23 08:58:50 -06:00
Behdad Esfahbod
16c196e0c3
Fix warnings with -fstrict-flex-arrays=2
...
Unfortunatley we cannot set it to 2 in hb.hh; but fix the
warning and add it with default value of 1 anyway.
Fixes https://github.com/harfbuzz/harfbuzz/pull/4836
2024-08-22 15:46:35 -06:00
Qunxin Liu
634778efc0
[subset] bug fix in post table
...
insert retain-gid holes when retain-gids is enabled
2024-08-21 12:06:02 -06:00
Behdad Esfahbod
cdbd966e96
[buffer-verify] Fix a compiler warning
2024-08-18 10:42:52 -07:00
Behdad Esfahbod
a411de2b3e
[cff] Try to silence static code analyzer
...
Part of https://github.com/harfbuzz/harfbuzz/issues/4832
2024-08-14 10:19:40 -07:00
Qunxin Liu
72502ef02b
[instancer] dont return false when variation data is empty after partial instancing
2024-08-12 15:51:13 -06:00
Behdad Esfahbod
3894b1c969
[face] Update docs for get_table_tags
2024-08-07 09:04:25 -06:00
Behdad Esfahbod
98355724ae
[hb-coretext] Implement get_table_tags func
...
Part of https://github.com/harfbuzz/harfbuzz/issues/4821
2024-08-06 14:42:22 -06:00
Behdad Esfahbod
a459753ef9
[test] Test get_table_tags of face_builder
2024-08-06 13:31:24 -06:00
Behdad Esfahbod
830326fe14
[hb-ft] Implement get_table_tags func
...
Part of https://github.com/harfbuzz/harfbuzz/issues/4821
2024-08-06 12:21:25 -06:00
Behdad Esfahbod
76770eb00f
[face-builder] Implement get_table_tags func
...
Part of https://github.com/harfbuzz/harfbuzz/issues/4821
2024-08-06 12:21:25 -06:00
Behdad Esfahbod
ff04f28b23
[face] Add get_table_tags callback
...
New API:
+hb_get_table_tags_func_t
+hb_face_set_get_table_tags_func()
Towards fixing https://github.com/harfbuzz/harfbuzz/issues/4821
To be implemented by face-builder, FreeType, and CoreText backends.
2024-08-06 12:21:25 -06:00
Behdad Esfahbod
e0c3cbf16c
[subset] Fail if source face has no glyphs
...
Also return nullptr if any of the input pointers are nullptr.
Before we were returning the empty face.
Fixes https://github.com/harfbuzz/harfbuzz/issues/4824
2024-08-06 06:50:54 -06:00
Behdad Esfahbod
788b469ad5
[ChainContext] Fix fast-path deviation from slow path
...
See comments. The input skippy was hitting the U+200D and NOT
seeing it skippable, whereas the context skippy would had.
Fixes https://github.com/harfbuzz/harfbuzz/issues/4813
2024-07-25 14:50:01 -06:00
Dirk Lemstra
1c01944e93
Added forward declaration to fix build with Visual Studio 2017.
2024-07-20 09:46:10 -06:00
Ebrahim Byagowi
677d6646a1
[subset] Make sure the clamp is done in a int64_t space
...
Otherwise nags about things like this,
In member function ‘int64_t graph::graph_t::vertex_t::modified_distance(unsigned int) const’,
inlined from ‘void graph::graph_t::sort_shortest_distance()’ at ../src/graph/graph.hh:626:24:
../src/graph/graph.hh:371:20: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=]
371 | hb_clamp (distance + distance_modifier (), (uint64_t) 0, (uint64_t) 0x7FFFFFFFFFF);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
And some of the CI bots fail also like this https://github.com/harfbuzz/harfbuzz/actions/runs/9838686960/job/27159310858?pr=4793
But it probably something else also can be improved which maybe is out of scope for this particular change.
2024-07-08 11:06:53 -06:00
Ebrahim Byagowi
495937f96d
[subset] Use hb_clamp instead of consequent hb_min and hb_max calls
...
As just a minor code tweak to clarify the intention better.
2024-07-08 11:06:53 -06:00
Qunxin Liu
e079dd2030
[instancer] remove the warning for CFF partial instancing
...
Don't print from the library
2024-07-01 10:54:30 -06:00
Behdad Esfahbod
67c301fdc7
[cmap] Fix macroman lookup
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4774
Untested.
2024-06-30 15:07:32 -06:00
Khaled Hosny
9c03576c49
9.0.0
2024-06-27 18:38:31 +03:00
Khaled Hosny
b461c4224a
Fold the remaining Makefile.sources into CMakeLists.txt
...
That is the only place where they are used now.
2024-06-27 16:33:16 +03:00
Khaled Hosny
cf1fdf1632
Drop autotools build
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4720
2024-06-27 15:28:38 +03:00
Qunxin Liu
93930fb1c4
fix build with HB_TINY
2024-06-24 19:30:26 -06:00
Emanuel Czirai
dce8e45799
typo acsii -> ascii in hb-subset-input.cc
2024-06-24 19:29:54 -06:00
Behdad Esfahbod
49c8493f5c
[test] Build with HB_MINI
...
Also add CONFIG.md instructions for building configs with meson.
Fixes https://github.com/harfbuzz/harfbuzz/issues/4760
2024-06-20 11:17:10 -07:00
Garret Rieger
7946a2840a
Move constant for max composite ops per glyph to hb-limits.hh
2024-06-18 17:25:09 -06:00
Garret Rieger
6289e475d9
In _fill_unicode_and_glyph_map add a second unicode -> gid lookup which is general.
2024-06-17 13:29:30 -07:00
Behdad Esfahbod
2266d2582b
Try fix fuzzer build on 32bit
2024-06-14 18:38:10 -04:00
Behdad Esfahbod
a1c803dfbc
[limits] Increase number of glyf points
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4752
2024-06-12 06:29:33 -04:00
Behdad Esfahbod
de2a2f27fe
Another try at fixing 32bit fuzzer build
2024-06-08 15:46:31 -06:00
Garret Rieger
7be12b33e3
[subset] refactor populate_unicodes_to_retain.
...
Pulls out commonly repeated pattern of filling the gid and unicode maps into a templated helper.
2024-06-06 18:22:27 -07:00
Behdad Esfahbod
0c2f5ecd51
[normalizer] Add c.override_decompose_and_compose
2024-06-06 14:05:56 -06:00
Behdad Esfahbod
8a9bc52303
[normalizer] Move a couple functions around
2024-06-06 13:56:33 -06:00
Behdad Esfahbod
bda5f647ce
[normalizer] Allow c->plan to be nullptr
...
Might want it for subset closure.
2024-06-06 13:52:44 -06:00
Behdad Esfahbod
3e06b7054a
[ot-map] Make shaper categorizer independent of shape planner
...
We might want to use it in the subset closure.
2024-06-06 12:04:59 -06:00
Behdad Esfahbod
4ec3cb0fc3
[Glyph] Don't round to int when shifting glyphs
...
Fixes a fuzzer issue and seems harmless.
2024-06-06 11:47:18 -06:00
Behdad Esfahbod
2db636c65e
[VARC] Try fixing build failure on i386
2024-06-06 11:17:35 -06:00
Behdad Esfahbod
42bf7ce7c9
Try to fix warning on 32bit system
...
Hopefully fixes
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=69281
2024-06-02 10:34:34 -06:00
David Corbett
c2b5b7b9ca
[ot-tags] Update IANA and OT language registries
2024-06-01 12:07:54 -07:00
David Corbett
86942e9afc
[ot-tags] Let Võro fall back to Estonian
2024-06-01 12:07:54 -07:00
David Corbett
88868411bf
[ot-tags] Remove obsolete overrides
2024-06-01 12:07:54 -07:00