Commit graph

17526 commits

Author SHA1 Message Date
dependabot[bot]
48193e0286 Bump setuptools from 70.1.1 to 70.2.0 in /.ci
Bumps [setuptools](https://github.com/pypa/setuptools) from 70.1.1 to 70.2.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.1.1...v70.2.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-08 11:07:25 -06:00
dependabot[bot]
7ab9733f85 Bump fonttools from 4.53.0 to 4.53.1 in /.ci
Bumps [fonttools](https://github.com/fonttools/fonttools) from 4.53.0 to 4.53.1.
- [Release notes](https://github.com/fonttools/fonttools/releases)
- [Changelog](https://github.com/fonttools/fonttools/blob/main/NEWS.rst)
- [Commits](https://github.com/fonttools/fonttools/compare/4.53.0...4.53.1)

---
updated-dependencies:
- dependency-name: fonttools
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-08 11:07:15 -06:00
Ebrahim Byagowi
677d6646a1 [subset] Make sure the clamp is done in a int64_t space
Otherwise nags about things like this,

In member function ‘int64_t graph::graph_t::vertex_t::modified_distance(unsigned int) const’,
    inlined from ‘void graph::graph_t::sort_shortest_distance()’ at ../src/graph/graph.hh:626:24:
../src/graph/graph.hh:371:20: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=]
  371 |           hb_clamp (distance + distance_modifier (), (uint64_t) 0, (uint64_t) 0x7FFFFFFFFFF);
      |           ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

And some of the CI bots fail also like this https://github.com/harfbuzz/harfbuzz/actions/runs/9838686960/job/27159310858?pr=4793

But it probably something else also can be improved which maybe is out of scope for this particular change.
2024-07-08 11:06:53 -06:00
Ebrahim Byagowi
495937f96d [subset] Use hb_clamp instead of consequent hb_min and hb_max calls
As just a minor code tweak to clarify the intention better.
2024-07-08 11:06:53 -06:00
Qunxin Liu
e079dd2030 [instancer] remove the warning for CFF partial instancing
Don't print from the library
2024-07-01 10:54:30 -06:00
Arshia001
b8087dbdd5 Update README.md 2024-07-01 09:49:44 -06:00
dependabot[bot]
4928489478 Bump setuptools from 70.1.0 to 70.1.1 in /.ci
Bumps [setuptools](https://github.com/pypa/setuptools) from 70.1.0 to 70.1.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/v70.1.0...v70.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 09:48:02 -06:00
dependabot[bot]
c481ea51ed Bump github/codeql-action from 3.25.10 to 3.25.11
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.10 to 3.25.11.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](23acc5c183...b611370bb5)

---
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-01 09:47:49 -06:00
Behdad Esfahbod
67c301fdc7 [cmap] Fix macroman lookup
Fixes https://github.com/harfbuzz/harfbuzz/issues/4774

Untested.
2024-06-30 15:07:32 -06:00
Khaled Hosny
7b14feb42e Drop the README symlink
This was needed for autotool’s make dist.
2024-06-29 17:14:38 +03:00
Behdad Esfahbod
e1df067485 [docs] Typo 2024-06-28 22:54:09 -06:00
Khaled Hosny
1a06d3f519 [ci] Fix tarball path 2024-06-27 18:44:51 +03:00
Khaled Hosny
9c03576c49 9.0.0 2024-06-27 18:38:31 +03:00
Khaled Hosny
b461c4224a Fold the remaining Makefile.sources into CMakeLists.txt
That is the only place where they are used now.
2024-06-27 16:33:16 +03:00
Khaled Hosny
a38f853e83 Drop unused Makefile.sources files 2024-06-27 16:33:16 +03:00
Khaled Hosny
9af6902c9a Drop more remnants of autotools build 2024-06-27 16:33:16 +03:00
Khaled Hosny
b9d243ef40 Try to fix macos-aat-fonts job 2024-06-27 15:28:38 +03:00
Khaled Hosny
e2cd1be6ee Try to fix dist job 2024-06-27 15:28:38 +03:00
Khaled Hosny
fa82ecd2c7 Fix CMake build 2024-06-27 15:28:38 +03:00
Khaled Hosny
cf1fdf1632 Drop autotools build
Fixes https://github.com/harfbuzz/harfbuzz/issues/4720
2024-06-27 15:28:38 +03:00
Qunxin Liu
93930fb1c4 fix build with HB_TINY 2024-06-24 19:30:26 -06:00
Emanuel Czirai
dce8e45799 typo acsii -> ascii in hb-subset-input.cc 2024-06-24 19:29:54 -06:00
Behdad Esfahbod
59617de1bc [BUILD] Update Arch Linux instructions
Fixes https://github.com/harfbuzz/harfbuzz/issues/4765
2024-06-24 06:46:31 -07:00
dependabot[bot]
76d9905c0e Bump setuptools from 70.0.0 to 70.1.0 in /.ci
Bumps [setuptools](https://github.com/pypa/setuptools) from 70.0.0 to 70.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.0.0...v70.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-06-24 06:44:39 -07:00
Behdad Esfahbod
49c8493f5c [test] Build with HB_MINI
Also add CONFIG.md instructions for building configs with meson.

Fixes https://github.com/harfbuzz/harfbuzz/issues/4760
2024-06-20 11:17:10 -07:00
ssmid
106e4068b9 HB_SCRIPT_CANADIAN_ABORIGINAL removed, as deprecated 2024-06-20 09:11:12 -07:00
ssmid
8de7e9fdb1 deprecation cleanup: HB_BUFFER_FLAGS_DEFAULT removed 2024-06-20 09:11:12 -07:00
Garret Rieger
7946a2840a Move constant for max composite ops per glyph to hb-limits.hh 2024-06-18 17:25:09 -06:00
Garret Rieger
6289e475d9 In _fill_unicode_and_glyph_map add a second unicode -> gid lookup which is general. 2024-06-17 13:29:30 -07:00
dependabot[bot]
d7b3ea6442 Bump actions/checkout from 4.1.6 to 4.1.7
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.6 to 4.1.7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](a5ac7e51b4...692973e3d9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 04:40:36 -07:00
dependabot[bot]
181f6e46c5 Bump github/codeql-action from 3.25.8 to 3.25.10
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.8 to 3.25.10.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](2e230e8fe0...23acc5c183)

---
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-06-17 04:40:30 -07:00
dependabot[bot]
4a352b3a4c Bump codecov/codecov-action from 4.4.1 to 4.5.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.4.1 to 4.5.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](125fc84a9a...e28ff129e5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 04:40:23 -07:00
Behdad Esfahbod
2266d2582b Try fix fuzzer build on 32bit 2024-06-14 18:38:10 -04:00
Don Olmstead
cef1eafb77 Use find_package for ICU
ICU 75.1 requires C++17 support so use `find_package(ICU)` which determines the versioning. Sets `CMAKE_CXX_STANDARD` when that happens.

Follows along with what Meson build did in 93d58f83.
2024-06-14 13:51:14 -07:00
Behdad Esfahbod
a109d5fbc0 [BUILD] Actually build project!
Fixes https://github.com/harfbuzz/harfbuzz/issues/4754
2024-06-14 16:50:09 -04:00
Behdad Esfahbod
a1c803dfbc [limits] Increase number of glyf points
Fixes https://github.com/harfbuzz/harfbuzz/issues/4752
2024-06-12 06:29:33 -04:00
dependabot[bot]
f9b7ca8b1b Bump github/codeql-action from 3.25.6 to 3.25.8
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.6 to 3.25.8.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](9fdb3e4972...2e230e8fe0)

---
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-06-11 11:57:01 -07:00
Behdad Esfahbod
eba1add711 [hb-info] Use 128 as max glyphname / name length instead of 64 2024-06-08 19:10:39 -06:00
Behdad Esfahbod
de2a2f27fe Another try at fixing 32bit fuzzer build 2024-06-08 15:46:31 -06:00
Garret Rieger
7be12b33e3 [subset] refactor populate_unicodes_to_retain.
Pulls out commonly repeated pattern of filling the gid and unicode maps into a templated helper.
2024-06-06 18:22:27 -07:00
Behdad Esfahbod
0c2f5ecd51 [normalizer] Add c.override_decompose_and_compose 2024-06-06 14:05:56 -06:00
Behdad Esfahbod
8a9bc52303 [normalizer] Move a couple functions around 2024-06-06 13:56:33 -06:00
Behdad Esfahbod
bda5f647ce [normalizer] Allow c->plan to be nullptr
Might want it for subset closure.
2024-06-06 13:52:44 -06:00
Behdad Esfahbod
3e06b7054a [ot-map] Make shaper categorizer independent of shape planner
We might want to use it in the subset closure.
2024-06-06 12:04:59 -06:00
Behdad Esfahbod
4ec3cb0fc3 [Glyph] Don't round to int when shifting glyphs
Fixes a fuzzer issue and seems harmless.
2024-06-06 11:47:18 -06:00
Behdad Esfahbod
2db636c65e [VARC] Try fixing build failure on i386 2024-06-06 11:17:35 -06:00
Behdad Esfahbod
1e2bd4983e Another include fix
https://github.com/harfbuzz/harfbuzz/issues/4740#issuecomment-2148910890
2024-06-04 23:53:36 -06:00
Behdad Esfahbod
e9870e8d54 Add missing include
https://github.com/harfbuzz/harfbuzz/issues/4740#issuecomment-2148727072
2024-06-04 20:50:06 -06:00
dependabot[bot]
c1ca46e4eb Bump fonttools from 4.52.1 to 4.53.0 in /.ci
Bumps [fonttools](https://github.com/fonttools/fonttools) from 4.52.1 to 4.53.0.
- [Release notes](https://github.com/fonttools/fonttools/releases)
- [Changelog](https://github.com/fonttools/fonttools/blob/main/NEWS.rst)
- [Commits](https://github.com/fonttools/fonttools/compare/4.52.1...4.53.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-03 08:04:16 -07:00
dependabot[bot]
09947ae1f9 Bump meson from 1.4.0 to 1.4.1 in /.ci
Bumps [meson](https://github.com/mesonbuild/meson) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/mesonbuild/meson/releases)
- [Commits](https://github.com/mesonbuild/meson/compare/1.4.0...1.4.1)

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

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