Commit Graph
17576 Commits
Author SHA1 Message Date
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
Leandro Santiago 28cc53c9ea Smalll fix on documentation
there is no `hb_ft_font_has_changed()`. Instead, it should be `hb_ft_font_changed()`.
2024-08-27 17:44:23 +03:00
dependabot[bot] 2ae90ed327 Bump github/codeql-action from 3.26.0 to 3.26.5
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.0 to 3.26.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/eb055d739abdc2e8de2e5f4ba1a8b246daa779aa...2c779ab0d087cd7fe7b826087247c2c81f27bfa6)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-26 18:15:59 -06:00
dependabot[bot] eaa97d6504 Bump setuptools from 72.1.0 to 73.0.1 in /.ci
Bumps [setuptools](https://github.com/pypa/setuptools) from 72.1.0 to 73.0.1.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v72.1.0...v73.0.1)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-26 18:15:13 -06: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
Behdad Esfahbod 39ea4cdd77 [hb-subset] Fix a resource leak
Part of https://github.com/harfbuzz/harfbuzz/issues/4832
2024-08-14 10:14:42 -07:00
dependabot[bot] e25fa0bff5 Bump github/codeql-action from 3.25.15 to 3.26.0
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.15 to 3.26.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/afb54ba388a7dca6ecae48f608c4ff05ff4cc77a...eb055d739abdc2e8de2e5f4ba1a8b246daa779aa)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-13 08:04:20 -06:00
dependabot[bot] f25d952b80 Bump actions/upload-artifact from 4.3.5 to 4.3.6
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.5 to 4.3.6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/89ef406dd8d7e03cfd12d9e0a4a378f454709029...834a144ee995460fba8ed112a2fc961b36a5ec5a)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-13 08:04:09 -06:00
Behdad Esfahbod ba114932aa Merge pull request #4830 from harfbuzz/dependabot/github_actions/hendrikmuhs/ccache-action-1.2.14
Bump hendrikmuhs/ccache-action from 1.2.13 to 1.2.14
2024-08-13 08:03:49 -06:00
Qunxin Liu 72502ef02b [instancer] dont return false when variation data is empty after partial instancing 2024-08-12 15:51:13 -06:00
dependabot[bot] c1b9f846fc Bump hendrikmuhs/ccache-action from 1.2.13 to 1.2.14
Bumps [hendrikmuhs/ccache-action](https://github.com/hendrikmuhs/ccache-action) from 1.2.13 to 1.2.14.
- [Release notes](https://github.com/hendrikmuhs/ccache-action/releases)
- [Commits](https://github.com/hendrikmuhs/ccache-action/compare/c92f40bee50034e84c763e33b317c77adaa81c92...ed74d11c0b343532753ecead8a951bb09bb34bc9)

---
updated-dependencies:
- dependency-name: hendrikmuhs/ccache-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 10:21:48 +00:00
Behdad Esfahbod f35b0a63b1 Merge pull request #4825 from harfbuzz/get-table-tags
[face] Add get_table_tags callback
2024-08-07 09:05:04 -06:00
Behdad Esfahbod 3894b1c969 [face] Update docs for get_table_tags 2024-08-07 09:04:25 -06:00
Behdad Esfahbod d5596dfb0b [hb-subset] Report "Invalid font file."
Fixes https://github.com/harfbuzz/harfbuzz/issues/4824#issuecomment-2272156543
2024-08-06 15:15:41 -06:00
Behdad Esfahbod 59a97ac02e [test] More get_table_tags test 2024-08-06 14:53:36 -06:00
Behdad Esfahbod a55b007144 [test] Add get_table_tags test for hb-coretext 2024-08-06 14:42:37 -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 bd79bfb653 [test] Add get_table_tags test for hb-ft 2024-08-06 13:40:06 -06:00
Behdad Esfahbod a459753ef9 [test] Test get_table_tags of face_builder 2024-08-06 13:31:24 -06:00
Behdad Esfahbod 8896b1d57a [test] Add test for get_table_tags
So far just tests the default implementation.
2024-08-06 12:34:15 -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 84f165646e [test] Move code around 2024-08-06 12:21:02 -06:00
Behdad Esfahbod 22e1a5a785 [test-paint] Fix warnings 2024-08-06 12:20:34 -06:00
Behdad Esfahbod 191c6eedf3 Fix Linux bot 2024-08-06 06:59:32 -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
dependabot[bot] 31f1d25e2a Bump actions/upload-artifact from 4.3.4 to 4.3.5
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.4 to 4.3.5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/0b2256b8c012f0828dc542b3febcab082c67f72b...89ef406dd8d7e03cfd12d9e0a4a378f454709029)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 09:15:22 -06:00
dependabot[bot] d6088fb465 Bump setuptools from 72.0.0 to 72.1.0 in /.ci
Bumps [setuptools](https://github.com/pypa/setuptools) from 72.0.0 to 72.1.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v72.0.0...v72.1.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 09:15:10 -06:00
dependabot[bot] 2edc371e97 Bump github/codeql-action from 3.25.13 to 3.25.15
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.13 to 3.25.15.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/2d790406f505036ef40ecba973cc774a50395aac...afb54ba388a7dca6ecae48f608c4ff05ff4cc77a)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-29 10:37:28 -06:00
dependabot[bot] c869093930 Bump ossf/scorecard-action from 2.3.3 to 2.4.0
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.3.3 to 2.4.0.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](https://github.com/ossf/scorecard-action/compare/dc50aa9510b46c811795eb24b2f1ba02a914e534...62b2cac7ed8198b15735ed49ab1e5cf35480ba46)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-29 10:36:49 -06:00
dependabot[bot] 1304587bac Bump meson from 1.4.1 to 1.5.1 in /.ci
Bumps [meson](https://github.com/mesonbuild/meson) from 1.4.1 to 1.5.1.
- [Release notes](https://github.com/mesonbuild/meson/releases)
- [Commits](https://github.com/mesonbuild/meson/compare/1.4.1...1.5.1)

---
updated-dependencies:
- dependency-name: meson
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-29 10:36:36 -06:00
dependabot[bot] ebcf5514ea Bump setuptools from 71.1.0 to 72.0.0 in /.ci
Bumps [setuptools](https://github.com/pypa/setuptools) from 71.1.0 to 72.0.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v71.1.0...v72.0.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-29 10:36:19 -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
dependabot[bot] fe7dc0c3cf Bump github/codeql-action from 3.25.12 to 3.25.13
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.12 to 3.25.13.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/4fa2a7953630fd2f3fb380f21be14ede0169dd4f...2d790406f505036ef40ecba973cc774a50395aac)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-22 10:12:06 -06:00
dependabot[bot] 354691b7aa Bump setuptools from 70.3.0 to 71.1.0 in /.ci
Bumps [setuptools](https://github.com/pypa/setuptools) from 70.3.0 to 71.1.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v70.3.0...v71.1.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-22 10:11:03 -06:00
Dirk Lemstra 1c01944e93 Added forward declaration to fix build with Visual Studio 2017. 2024-07-20 09:46:10 -06:00
Chun-wei Fan 5c7eb85405 meson: Fix builds against ICU >= 75.x on Visual Studio
Sadly, we can't just use '-std=c++17' for Visual Studio, but must use
'/std:c++17'...

That's sadly, life...
2024-07-15 23:01:46 -06:00
dependabot[bot] 8aa7db54fa Bump github/codeql-action from 3.25.11 to 3.25.12
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.11 to 3.25.12.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/b611370bb5703a7efb587f9d136a52ea24c5c38c...4fa2a7953630fd2f3fb380f21be14ede0169dd4f)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-15 10:07:43 -06:00
dependabot[bot] 0ef0a0e531 Bump actions/setup-python from 5.1.0 to 5.1.1
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/82c7e631bb3cdc910f68e0081d67478d79c6982d...39cd14951b08e74b54015e9e001cdefcf80e669f)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-15 10:07:29 -06:00
dependabot[bot] acf2febb78 Bump setuptools from 70.2.0 to 70.3.0 in /.ci
Bumps [setuptools](https://github.com/pypa/setuptools) from 70.2.0 to 70.3.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v70.2.0...v70.3.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-15 10:07:14 -06:00
Abdul Rahman Sibahi 0706f3989b Update wasm-shaper.md with link
makes jumping around easier
2024-07-11 14:39:38 +03:00
Behdad Esfahbod 7c41d91e78 Update of https://behdad.org/text2024 2024-07-08 20:17:34 -06:00
dependabot[bot] 4eb89942b2 Bump actions/upload-artifact from 4.3.3 to 4.3.4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.3 to 4.3.4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/65462800fd760344b1a7b4382951275a0abb4808...0b2256b8c012f0828dc542b3febcab082c67f72b)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-08 11:07:37 -06:00