HarfBuzz text shaping engine
Go to file
Behdad Esfahbod 0983601399 Add back wider cast to IntType
My local clang12 is fine, but many bots are not:

../src/hb-ot-cff1-table.hh: In instantiation of ‘bool CFF::Charset1_2<TYPE>::sanitize(hb_sanitize_context_t*, unsigned int) const [with TYPE = OT::IntType<unsigned char>]’:
../src/hb-ot-cff1-table.hh:554:13:   required from here
../src/hb-ot-cff1-table.hh:377:60: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
       if (unlikely (!ranges[i].sanitize (c) || (num_glyphs < ranges[i].nLeft + 1)))
                                                ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~

Enabling the extra cast operator mentioned in previous commit to see if
that fixes this case.

Again, I'd be happy to say "use 1u instead of 1" if this was universally
erred on.  But since some compilers happily compile this while others
err, it would be a huge headache. Let's see...

https://github.com/harfbuzz/harfbuzz/pull/2875
2021-02-22 22:33:17 -07:00
.ci [ci] Add top level directory to win32 zip file 2021-02-03 15:00:23 +02:00
.circleci [ci] Remove cmake 2021-02-22 17:14:45 -07:00
.github/workflows [atomic] Remove old Intel primitives implementation 2021-02-20 15:20:06 -07:00
docs [docs] Add destroy() call to sample 2021-02-09 14:59:40 -07:00
m4 Revert "Remove autotools build support" 2020-08-11 23:51:59 +04:30
perf [meson] Make compatbile with 0.47.0 2020-08-13 18:28:42 +04:30
src Add back wider cast to IntType 2021-02-22 22:33:17 -07:00
subprojects [meson] Don’t build FontConfig subproject from master 2021-02-16 22:20:26 +02:00
test [test] Fix unused-var warning 2021-02-22 17:11:36 -07:00
util [hb-subset] Improve error handling a bit 2020-10-13 11:18:59 -07:00
.clang-format Add an initial .clang-format config 2019-01-09 16:01:11 +03:30
.codecov.yml [ci] Add .codecov.yml 2018-11-26 18:58:39 +03:30
.editorconfig [meson] Minor, replace tabs with spaces 2020-03-24 19:06:09 +00:00
AUTHORS Update AUTHORS / COPYING 2019-04-21 12:26:07 -04:00
BUILD.md [docs] Remove packagers related part 2020-08-02 11:15:15 +04:30
CMakeLists.txt [cmake] Define HAVE_PTHREAD if not on win32 2021-02-22 17:38:53 -07:00
CONFIG.md Fix typo 2021-02-16 18:51:43 -07:00
COPYING Update COPYING 2020-01-26 00:07:28 +03:30
Makefile.am a[build] Fix distcheck 2021-02-20 15:46:17 -07:00
NEWS 2.7.4 2020-12-27 01:59:00 +02:00
README Revert "Remove autotools build support" 2020-08-11 23:51:59 +04:30
README.md [ci] Disable Travis CI 2020-08-02 11:08:12 +04:30
README.mingw.md [mingw] Reinstate win32 cross-compiling with autotools instructions 2021-01-24 12:28:04 -07:00
README.python.md [docs] Update README.python.md with meson 2020-08-03 18:41:49 +04:30
RELEASING.md Revert "Remove autotools build support" 2020-08-11 23:51:59 +04:30
TESTING.md [docs] Minor in TESTING.md 2020-08-14 10:19:33 +04:30
THANKS [THANKS] Add Ivan Kuckir <https://photopea.com/> 2019-04-24 15:08:27 -07:00
TODO [TODO] Remove BCP 47 language handling item 2018-10-20 21:13:25 +03:30
autogen.sh Revert "Remove autotools build support" 2020-08-11 23:51:59 +04:30
configure.ac [atomic] Remove Solaris intrinsics 2021-02-20 15:20:33 -07:00
git.mk Revert "Remove autotools build support" 2020-08-11 23:51:59 +04:30
harfbuzz.doap Move all references of old url to the new address (#622) 2017-11-20 14:49:22 -05:00
meson.build [atomic] Remove Solaris intrinsics 2021-02-20 15:20:33 -07:00
meson_options.txt [meson] Disable benchmark feature by default 2021-02-09 22:10:20 +02:00
mingw-configure.sh [mingw] Reinstate win32 cross-compiling with autotools instructions 2021-01-24 12:28:04 -07:00
replace-enum-strings.cmake Revert "Remove cmake build files" 2020-08-12 01:00:33 +04:30

README.md

Linux CI Status CircleCI Build Status OSS-Fuzz Status Coverity Code Health Codacy Code Health Codecov Code Coverage Coverals Code Coverage Packaging status ABI Tracker

This is HarfBuzz, a text shaping library.

For bug reports, mailing list, and other information please visit:

http://harfbuzz.org/

For license information, see COPYING.

For build information, see BUILD.md.

For custom configurations, see CONFIG.md.

For test execution, see TESTING.md.

Documentation: https://harfbuzz.github.io

Packaging status of HarfBuzz

Packaging status