Commit Graph

15723 Commits

Author SHA1 Message Date
Behdad Esfahbod 0c7d386748
Merge pull request #4044 from harfbuzz/custom-palette
Custom palette
2023-01-18 21:50:10 -07:00
Behdad Esfahbod 0b32cf9023 [COLR] Rename a variable 2023-01-18 21:16:38 -07:00
Behdad Esfahbod 1d58c8fb0e [paint] Typo 2023-01-18 21:14:24 -07:00
Behdad Esfahbod 7aca3b5090 [COLRv1] Hook up custom palette colors 2023-01-18 21:01:44 -07:00
Behdad Esfahbod d695cc8735 [paint] Docs 2023-01-18 20:45:19 -07:00
Behdad Esfahbod 53bd9039e7 [paint] Doc 2023-01-18 20:44:05 -07:00
Behdad Esfahbod 8afd3ccb10 [paint] Add HB_PAINT_PALETTE_INDEX_CUSTOM 2023-01-18 20:43:10 -07:00
Behdad Esfahbod 9a2f2b593e [font] Rename palette to palette_index 2023-01-18 20:39:36 -07:00
Behdad Esfahbod bd73314616 [paint] Add API for custom palettes 2023-01-18 20:37:21 -07:00
Behdad Esfahbod ea291493d2 [hb-shape/view] List variation sequences in --list-unicodes 2023-01-18 19:51:22 -07:00
Behdad Esfahbod 8564d2266b [hb-shape/view] Add --list-glyphs 2023-01-18 19:43:33 -07:00
Behdad Esfahbod bf8bb9fb83 [hb-shape/view] Add --list-unicodes 2023-01-18 19:40:09 -07:00
Behdad Esfahbod 13c70066de Shut up gcc 13 -Wdangling-reference
Fixes https://github.com/harfbuzz/harfbuzz/issues/4043
2023-01-18 17:29:26 -07:00
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