Commit graph

17602 commits

Author SHA1 Message Date
Behdad Esfahbod
0958929508 [post] Add a hb_barrier() 2024-09-22 13:01:18 -06:00
Behdad Esfahbod
4877405211 [GDEF] Sprinkle some hb_barrier()s 2024-09-22 13:01:14 -06:00
Behdad Esfahbod
e4e9f6a18f [gsubgpos] Add a barrier
Fixes https://github.com/harfbuzz/harfbuzz/issues/4852
2024-09-22 11:17:48 -06:00
Behdad Esfahbod
0dace9f341 [PairPos] Forgo an optimization for the sake of compatibility
Fixes https://github.com/harfbuzz/harfbuzz/issues/4797
2024-09-21 12:38:16 -06:00
Behdad Esfahbod
287046f71a [buffer] Hook up not-found-variation-selector-glyph
Fixes https://github.com/harfbuzz/harfbuzz/issues/4398
2024-09-21 12:21:56 -06:00
Behdad Esfahbod
a003890e84 [buffer] Add hb_buffer_[sg]et_not_found_variation_selector_glyph()
Unused.
2024-09-21 12:21:56 -06:00
Qunxin Liu
6fd76e1f67 [subset] offset format fix in gvar table 2024-09-17 15:23:43 -06:00
dependabot[bot]
63d09dbefc Bump github/codeql-action from 3.26.6 to 3.26.7
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.6 to 3.26.7.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](4dd16135b6...8214744c54)

---
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-09-16 04:39:42 -07:00
David Corbett
c500f2a1f4
Merge pull request #4859 from harfbuzz/unicode-16
Update to Unicode 16.0.0
2024-09-14 13:52:42 -04:00
David Corbett
e30dedbb42 [Unicode 16] Add tests 2024-09-14 12:06:08 -04:00
David Corbett
c66f25ef1d [Unicode 16] Send the new scripts to USE 2024-09-14 11:47:56 -04:00
David Corbett
85a9ec8971 [Unicode 16] Update the USE table 2024-09-14 11:44:03 -04:00
David Corbett
87c685d370 [Unicode 16] Update the vowel constraint table 2024-09-14 11:20:16 -04:00
David Corbett
7f325b6c80 [Unicode 16] Update the Indic table 2024-09-14 11:19:04 -04:00
David Corbett
554658e3ae [Unicode 16] Update the emoji table & cluster test 2024-09-14 11:08:37 -04:00
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
<0fbf022acc/USE>
and closes #4858.
2024-09-14 10:45:01 -04:00
Behdad Esfahbod
98353ecefe [test] Run shape tests with C locale as well
https://github.com/harfbuzz/harfbuzz/pull/4857
2024-09-11 11:35:15 -07:00
Alexander Grund
70334d74dc Run subset tests with C-locale
One problematic input is `--instance=wdth=112.5` which is parsed using
the users local (`strtof`).
So while in C or US locales it yields 112.5 in some European locales it
yields 112 as the dot is not valid in this position.

A European user might pass "112,5" instead but for the test the C locale
is assumed, so enforce it.

Fixes #4854
2024-09-11 12:07:04 -06: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
dependabot[bot]
a070f9ebbe Bump github/codeql-action from 3.26.5 to 3.26.6
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.5 to 3.26.6.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](2c779ab0d0...4dd16135b6)

---
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-09-02 09:33:19 -06:00
dependabot[bot]
cb6ba68714 Bump actions/setup-python from 5.1.1 to 5.2.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.1.1 to 5.2.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](39cd14951b...f677139bbe)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-02 09:33:09 -06:00
dependabot[bot]
a75d48753b Bump actions/upload-artifact from 4.3.6 to 4.4.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.6 to 4.4.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](834a144ee9...50769540e7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-02 09:33:02 -06: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
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](eb055d739a...2c779ab0d0)

---
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](afb54ba388...eb055d739a)

---
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](89ef406dd8...834a144ee9)

---
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](c92f40bee5...ed74d11c0b)

---
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