Commit graph

18655 commits

Author SHA1 Message Date
Behdad Esfahbod
2834900d92 [test/shape] Run each test suite in one process 2025-04-06 02:34:48 -06:00
Behdad Esfahbod
e4e4d66523 [test/api] Test remaining tests to TAP 2025-04-06 02:34:48 -06:00
Behdad Esfahbod
c523f9ac13 [test/shape] Use TAP
Checkpoint.
2025-04-06 02:34:48 -06:00
Behdad Esfahbod
f69ecc9438 [test/api] Set protocol:tap 2025-04-06 02:34:48 -06:00
Behdad Esfahbod
6acb2942e8 [ft] Fix compiler warnings
Some checks failed
arm / arm-none-eabi (push) Waiting to run
configs-ci / build (push) Waiting to run
fontations / build (push) Waiting to run
linux-ci / build (push) Waiting to run
macos-ci / build (push) Waiting to run
msvc / msvc-2019-amd64 (push) Waiting to run
msvc / msvc-2019-x86 (push) Waiting to run
msys2 / CLANG64 (push) Waiting to run
msys2 / MINGW32 (push) Waiting to run
msys2 / MINGW64 (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Failing after 5s
2025-04-06 02:34:34 -06:00
Behdad Esfahbod
bee08cf290 [hb-test] Don't convert _ in test names to /
Some checks failed
msys2 / MINGW64 (push) Waiting to run
arm / arm-none-eabi (push) Waiting to run
configs-ci / build (push) Waiting to run
fontations / build (push) Waiting to run
linux-ci / build (push) Waiting to run
macos-ci / build (push) Waiting to run
msvc / msvc-2019-amd64 (push) Waiting to run
msvc / msvc-2019-x86 (push) Waiting to run
msys2 / CLANG64 (push) Waiting to run
msys2 / MINGW32 (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1s
Slash is used for grouping...
2025-04-05 23:27:26 -06:00
Behdad Esfahbod
a46b93208a [subset] Remove printf from library! 2025-04-05 23:27:15 -06:00
Behdad Esfahbod
3cf48234b9 [hb-test.h] Remove unsed functions 2025-04-05 23:26:59 -06:00
Behdad Esfahbod
112b599826 [test] Minor use hb_test_init 2025-04-05 22:37:10 -06:00
Behdad Esfahbod
6c98519c7e [test/api] Simplify deps 2025-04-05 21:41:01 -06:00
Khaled Hosny
0a5cc89e00 Improve OSS-Fuzz build log URL [ci skip] 2025-04-06 04:08:22 +02:00
Behdad Esfahbod
d9304b69e0 [subset] Fix i686 oss-fuzz build hopefully 2025-04-05 20:04:10 -06:00
Khaled Hosny
58170206a1 Typo [ci skip] 2025-04-06 03:55:56 +02:00
Khaled Hosny
a24c40dfb4 [test/ot-math] Do away with global variables 2025-04-06 03:22:20 +02:00
Khaled Hosny
d74606bbff [test/ot-math] Port to use hb_test_open_font_file()
Avoids the unnecessary dependency on FreeType.
2025-04-06 03:22:20 +02:00
Khaled Hosny
2d8e5255f3 [test/ot-math] Add a test for the Cambria Math workaround 2025-04-06 02:48:49 +02:00
Khaled Hosny
f57b43c980 [ot-math] Workaround bad displayOperatorMinHeight in Cambria Math
See https://github.com/harfbuzz/harfbuzz/issues/4653 for details
2025-04-06 02:48:49 +02:00
Behdad Esfahbod
52a4bea109
Merge pull request #5255 from harfbuzz/subset-test-less
Reduce tested combinations of subset & threads tests
2025-04-05 17:26:09 -06:00
Behdad Esfahbod
b53000403e [run-fuzzer-tests] Remove duplicate chunksize 2025-04-05 17:15:50 -06:00
Behdad Esfahbod
7dcd69544b [test/shape/threads] Reduce number of tested combinations 2025-04-05 17:08:31 -06:00
Behdad Esfahbod
c42b6ea829 [test] Adjust subdir order 2025-04-05 17:04:56 -06:00
Behdad Esfahbod
e5541a0b63 [subset/test/cmap14] Reduce tested combinations
Fixes https://github.com/harfbuzz/harfbuzz/issues/5254
2025-04-05 17:02:31 -06:00
Behdad Esfahbod
d65fa93440 [subset/test/basics.tests] Reduce tested combinations 2025-04-05 16:58:06 -06:00
Behdad Esfahbod
00b4f86e5f [hb-subset] In batch mode preprocess font once
Speeds up cmap.tests from 3s to under .5s.
2025-04-05 16:20:05 -06:00
Behdad Esfahbod
267de2bb90 [hb-view] Report success/failure in --batch mode
Otherwise client can't know when the job is done.
2025-04-05 16:14:24 -06:00
Behdad Esfahbod
5194ec4758 [test/subset] Use --preprocess instead of --preprocess-face
The latter is obsolete and alias to the former.
2025-04-05 16:08:18 -06:00
Behdad Esfahbod
fa737da022 [hb-subset] Speed up parsing glyphs-file
Cache the font used to load glyph names.
2025-04-05 16:02:09 -06:00
Behdad Esfahbod
54295ccf45 [hb-subset] Speed up parsing glyphs-file
Some checks failed
arm / arm-none-eabi (push) Waiting to run
configs-ci / build (push) Waiting to run
fontations / build (push) Waiting to run
linux-ci / build (push) Waiting to run
macos-ci / build (push) Waiting to run
msvc / msvc-2019-amd64 (push) Waiting to run
msvc / msvc-2019-x86 (push) Waiting to run
msys2 / CLANG64 (push) Waiting to run
msys2 / MINGW32 (push) Waiting to run
msys2 / MINGW64 (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1s
Cache the font used to load glyph names.
2025-04-05 15:26:07 -06:00
Behdad Esfahbod
0fecd2ecc3 [hb-subset] Accept gidXXX-style glyph names 2025-04-05 15:20:49 -06:00
Behdad Esfahbod
a637c08d5a [hb-subset] Fix leak 2025-04-05 15:02:28 -06:00
Khaled Hosny
866096d04a [ci] Install help2man on the linux-ci workflow
Some checks failed
arm / arm-none-eabi (push) Waiting to run
configs-ci / build (push) Waiting to run
msvc / msvc-2019-amd64 (push) Waiting to run
msvc / msvc-2019-x86 (push) Waiting to run
msys2 / CLANG64 (push) Waiting to run
msys2 / MINGW64 (push) Waiting to run
fontations / build (push) Waiting to run
linux-ci / build (push) Waiting to run
macos-ci / build (push) Waiting to run
msys2 / MINGW32 (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1s
Generating manpages is not tested on any CI jobs otherwise.
2025-04-05 13:43:04 +02:00
Behdad Esfahbod
b6cbd6a0fc [README] Add another link
Some checks failed
linux-ci / build (push) Waiting to run
macos-ci / build (push) Waiting to run
msvc / msvc-2019-amd64 (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1s
arm / arm-none-eabi (push) Waiting to run
configs-ci / build (push) Waiting to run
fontations / build (push) Waiting to run
msvc / msvc-2019-x86 (push) Waiting to run
msys2 / CLANG64 (push) Waiting to run
msys2 / MINGW32 (push) Waiting to run
msys2 / MINGW64 (push) Waiting to run
2025-04-04 19:07:04 -06:00
Behdad Esfahbod
2f86ab8d47 [README] Cosmetic 2025-04-04 18:29:33 -06:00
Behdad Esfahbod
9971d84ea7 [README] Cosmetic 2025-04-04 18:28:14 -06:00
Behdad Esfahbod
bf3ce2cb6b [README] Cosmetic 2025-04-04 18:27:01 -06:00
Behdad Esfahbod
90331b41ef [README] Cosmetic 2025-04-04 18:26:06 -06:00
Behdad Esfahbod
3207575979 [subset] Allow options before --font-file
Fixes https://github.com/harfbuzz/harfbuzz/issues/4913
2025-04-04 18:13:36 -06:00
Behdad Esfahbod
0457d3d734 [buffer-deserialize] Ignore glyph extents
Fixes https://github.com/harfbuzz/harfbuzz/issues/5169
2025-04-04 16:17:32 -06:00
Behdad Esfahbod
9ddf3da71e [benchmark-shape] Accept one variation on the cmd-line 2025-04-04 16:04:07 -06:00
Khaled Hosny
43a7784922 11.0.1
Some checks failed
arm / arm-none-eabi (push) Waiting to run
configs-ci / build (push) Waiting to run
fontations / build (push) Waiting to run
linux-ci / build (push) Waiting to run
macos-ci / build (push) Waiting to run
msvc / msvc-2019-amd64 (push) Waiting to run
msvc / msvc-2019-x86 (push) Waiting to run
msys2 / CLANG64 (push) Waiting to run
msys2 / MINGW32 (push) Waiting to run
msys2 / MINGW64 (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1s
2025-04-04 22:41:26 +02:00
Behdad Esfahbod
13752124d7 Fix compiler warnings 2025-04-04 14:00:25 -06:00
Behdad Esfahbod
623a7a4198 Whitespace 2025-04-04 13:25:06 -06:00
Behdad Esfahbod
c44f1e71d7 Cosmetic 2025-04-04 13:23:42 -06:00
Behdad Esfahbod
1337912680 Cosmetic 2025-04-04 13:00:30 -06:00
Behdad Esfahbod
cc782b5427 [RELEASING] Cosmetic 2025-04-04 12:59:43 -06:00
Behdad Esfahbod
7ba4e87934 [VarStore] Fix storage shift
Use all bits. That's what I meant.
2025-04-04 12:41:38 -06:00
Behdad Esfahbod
089a9961ad [README] Expand on API/ABI guarantee 2025-04-04 12:30:13 -06:00
Khaled Hosny
a55305038c [coretext] Fix -Wformat warning
Some checks failed
arm / arm-none-eabi (push) Waiting to run
configs-ci / build (push) Waiting to run
fontations / build (push) Waiting to run
linux-ci / build (push) Waiting to run
macos-ci / build (push) Waiting to run
msvc / msvc-2019-amd64 (push) Waiting to run
msvc / msvc-2019-x86 (push) Waiting to run
msys2 / MINGW64 (push) Waiting to run
msys2 / CLANG64 (push) Waiting to run
msys2 / MINGW32 (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1s
../src/hb-coretext.cc:202:62: warning: format specifies type 'int' but the argument has type 'unsigned int' [-Wformat]
  202 |     DEBUG_MSG (CORETEXT, blob, "TTC index %d not supported", ttc_index);
      |                                           ~~                 ^~~~~~~~~
      |                                           %u

../src/hb-coretext.cc:417:65: warning: format specifies type 'int' but the argument has type 'unsigned int' [-Wformat]
  417 |     DEBUG_MSG (CORETEXT, nullptr, "TTC index %d not supported", ttc_index);
      |                                              ~~                 ^~~~~~~~~
      |                                              %u
2025-04-04 13:27:31 +02:00
Behdad Esfahbod
8994e91487
Merge pull request #5241 from harfbuzz/font-gdef-varstore
Some checks failed
arm / arm-none-eabi (push) Waiting to run
configs-ci / build (push) Waiting to run
fontations / build (push) Waiting to run
linux-ci / build (push) Waiting to run
macos-ci / build (push) Waiting to run
msvc / msvc-2019-amd64 (push) Waiting to run
msvc / msvc-2019-x86 (push) Waiting to run
msys2 / CLANG64 (push) Waiting to run
msys2 / MINGW32 (push) Waiting to run
msys2 / MINGW64 (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1s
[shape] Use font-data for GDEF varStore cache
2025-04-03 22:50:49 -06:00
Behdad Esfahbod
d515630f6b [shape-font] Simplify logic 2025-04-03 22:31:13 -06:00