Commit Graph

15560 Commits

Author SHA1 Message Date
Khaled Hosny 1abcc32137 Revert "[ci] Use sccache with msys2"
This reverts commit b9646dfd62.

For some reason using sccache re-introduces the random CI crashes that
was previously fixed in 80dd751564.
2023-01-18 23:55:17 +02:00
Behdad Esfahbod eed5d5efdd [VarComposite] Implement RESET_UNSPECIFIED_AXES
Fixes https://github.com/harfbuzz/boring-expansion-spec/issues/79
2023-01-18 14:13:12 -07:00
Behdad Esfahbod 4300a18b85 [arabic-fallback] Fix ligature code
Fixes https://github.com/harfbuzz/harfbuzz/issues/4042

This was broken in 20e9f0b.
2023-01-18 10:44:57 -07:00
Khaled Hosny b9646dfd62 [ci] Use sccache with msys2 2023-01-17 22:21:22 +02:00
Khaled Hosny 22a4fca375 [ci] Use sccache for msvc jobs
Meson will not use ccache with MSVC, so we use sccache here.
2023-01-17 22:21:22 +02:00
Khaled Hosny 582636bce0 [ci] Use ccache for linux and macos jobs 2023-01-17 22:21:22 +02:00
Khaled Hosny 99146e7609 [ci] We don’t need to install ragel on msys2 2023-01-17 22:21:22 +02:00
Khaled Hosny 842e26d32c [ci] Remove no longer needed workaround
Meson seems to take care of this itself now.
2023-01-17 22:21:22 +02:00
Behdad Esfahbod 4d86c65c7a [hb-cairo] Fix linear-gradient reduce_anchors 2023-01-17 07:35:01 -07:00
Khaled Hosny 910adc7e92 [test-paint] Update expectations 2023-01-17 15:43:09 +02:00
Khaled Hosny 4f4b6e03f4 [wrap] Add fallback source URL for zlib
Hopefully this fixes the intermittent CI failures due to download
failures.
2023-01-17 15:43:09 +02:00
Behdad Esfahbod c86bab3fb4 [test-paint] Use G_GNUC_PRINTF 2023-01-17 06:29:17 -07:00
Behdad Esfahbod 92d5ec2f16 [bit-page] Mark len() function static 2023-01-17 05:59:55 -07:00
Amir Masoud Abdol 0a3e4c12ac Replace the deprecated $<CONFIGURATION> with $<CONFIG> 2023-01-17 11:09:15 +02:00
Behdad Esfahbod f38e35ebc3 [cairo] Internal function renames 2023-01-16 18:07:39 -07:00
Behdad Esfahbod e4a41f5e16 [COLRv1] Implement recursive clip boxes
Tests need update.

hb-view test_glyphs-glyf_colr_1_variable.ttf -u f0c00
2023-01-16 16:27:04 -07:00
Behdad Esfahbod f02c4ebb40 [test-paint] Adjust condition for enabling ft backend 2023-01-16 14:17:44 -07:00
Sergei Trofimovich 7dfa672dac test/threads/hb-subset-threads.cc: add missing <cstdio> include
This week's `gcc-13` snapshot cleaned further up it's standard headers
and exposed missing declaration as a build failure:

    ../test/threads/hb-subset-threads.cc: In function 'void test_operation(operation_t, const char*, const test_input_t&)':
    ../test/threads/hb-subset-threads.cc:127:3: error: 'printf' was not declared in this scope

    ../test/threads/hb-subset-threads.cc: In function 'int main(int, char**)':
    ../test/threads/hb-subset-threads.cc:157:19: error: 'atoi' was not declared in this scope
2023-01-16 13:16:23 -07:00
Behdad Esfahbod f11271cc03 [cairo] Version-check the variations code 2023-01-16 13:14:58 -07:00
Behdad Esfahbod a180ae43ce [bit-set] Use for loop instead of memset for page clear
Produces faster code.
2023-01-16 13:06:30 -07:00
Behdad Esfahbod 8e8ca03b2a [hb-fc] Minor remove unused variable 2023-01-16 12:38:53 -07:00
Behdad Esfahbod e903397bc3 Whitespace 2023-01-16 12:33:17 -07:00
Behdad Esfahbod ca1de29e0a [set] Adjust hb_set_copy() 2023-01-16 12:08:11 -07:00
Behdad Esfahbod b7f1c30c20 [map] Adjust hb_map_copy() 2023-01-16 12:07:15 -07:00
Behdad Esfahbod e0883d60e4 Whitespace 2023-01-16 12:02:21 -07:00
Behdad Esfahbod 82a3b2dbb5 [util] Fix --named-instance 2023-01-16 11:18:22 -07:00
Behdad Esfahbod ad6b9c417d [util] Format --list-features 2023-01-16 11:07:03 -07:00
Behdad Esfahbod 0f4da85074 [util] Minor in --list-features clear feature set between GSUB/GPOS 2023-01-16 11:04:38 -07:00
Behdad Esfahbod f25e3696eb [hb-shape/hb-view] Better --list-features 2023-01-16 10:54:23 -07:00
Behdad Esfahbod 32d439596d [hb-shape/view] Print feature names in --list-features 2023-01-15 22:34:14 -07:00
Behdad Esfahbod cc6a9bfa6f [hb-shape/view] Print table length in --list-tables 2023-01-15 18:16:19 -07:00
Behdad Esfahbod 880d65c905 [hb-shape/view] Add --list-tables 2023-01-15 18:14:14 -07:00
Behdad Esfahbod 3d5a922bca Fix really 2023-01-15 16:15:52 -07:00
Behdad Esfahbod 484831be3d [util] Fix build 2023-01-15 16:14:53 -07:00
Behdad Esfahbod 8a6ecc5c89 [hb-view/shape] Add --list-features 2023-01-15 13:54:27 -07:00
Behdad Esfahbod 40a8145acc [util] Don't use hb_vector_t 2023-01-15 11:30:24 -07:00
Behdad Esfahbod d769e8ae7c [hb-shape/view] Add --named-instance 2023-01-15 10:58:15 -07:00
Behdad Esfahbod 99838770ab [font] Add hb_font_get_var_named_instance()
Two new API:
+HB_FONT_NO_VAR_NAMED_INSTANCE
+hb_font_get_var_named_instance
2023-01-15 10:54:01 -07:00
Behdad Esfahbod 40bf30bfeb [util] Print named-instance index in --list-variations 2023-01-15 10:45:47 -07:00
Behdad Esfahbod d195e077e9 [font] Remember named_instance index
Specially, in hb_font_set_variations() default to the named_instance
for unspecified axes.

Fixes https://github.com/harfbuzz/harfbuzz/issues/1883
2023-01-15 10:44:04 -07:00
Behdad Esfahbod 14a83d6cc7 [hb-shape/view] --list-variations cleanup 2023-01-15 10:11:54 -07:00
Behdad Esfahbod e1a5448306 [hb-shape/view] Print named-instances in --list-variations
Might remove the coordinates.
2023-01-15 10:00:26 -07:00
Behdad Esfahbod 9abc21072b [hb-shape/view] Add --list-variations 2023-01-15 09:46:32 -07:00
Behdad Esfahbod d015e9016c [ms-features] Comment 2023-01-15 09:46:32 -07:00
Garret Rieger ea1ee0d4b6 [instance] drop and don't collect lookups from feature variations when fully instancing.
This previously incorrectly collected lookups that could be reached via feature variations that are dropped and not activated by the current instance position.
2023-01-14 18:04:24 -07:00
Matthias Clasen d250148db0
Merge pull request #4024 from harfbuzz/test-paint-variable
test-paint: Add variable font tests
2023-01-12 21:26:24 -05:00
Behdad Esfahbod 60a4f2e6f5 [test-paint] Detect FreeType COLRv1 from struct size 2023-01-12 19:12:46 -07:00
Behdad Esfahbod b783967242 [test] Minor save glyph_count 2023-01-12 19:11:10 -07:00
Matthias Clasen cca0ed9bcd test-paint: Add variable font tests
These needs freetype master to work.
2023-01-12 21:09:50 -05:00
Behdad Esfahbod 81b942e363 [os2] Comment 2023-01-12 18:42:22 -07:00