Go to file
Ebrahim Byagowi bb41b74fd1 Don't rely on undefined left shift of negative value behavior
Fixes this -fno-sanitize-recover=undefined check,

hb-ft.cc:869:27: runtime error: left shift of negative value -16384
    #0 0x7ff8f47da843 in hb_ft_font_set_funcs /home/ebrahim/Desktop/harfbuzz/src/hb-ft.cc:869:27
    #1 0x55f20a66c7d6 in font_options_t::get_font() const /home/ebrahim/Desktop/harfbuzz/util/options.cc:731:3
    #2 0x55f20a668c1f in shape_consumer_t<output_buffer_t>::init(hb_buffer_t*, font_options_t const*) /home/ebrahim/Desktop/harfbuzz/util/./shape-consumer.hh:47:42
    #3 0x55f20a668441 in main_font_text_t<shape_consumer_t<output_buffer_t>, 2147483647, 0>::main(int, char**) /home/ebrahim/Desktop/harfbuzz/util/./main-font-text.hh:75:14
    #4 0x55f20a667f91 in main /home/ebrahim/Desktop/harfbuzz/util/hb-shape.cc:180:21
    #5 0x7ff8f3df7ee2 in __libc_start_main (/usr/lib/libc.so.6+0x26ee2)
    #6 0x55f20a6427ad in _start (/home/ebrahim/Desktop/harfbuzz/util/.libs/lt-hb-shape+0xd7ad)
2019-09-18 23:16:52 +04:30
.ci [ci] Cache FreeType build on Travis 2019-03-14 23:16:26 +02:00
.circleci [ci] Run -fno-sanitize-recover=undefined checks 2019-09-18 23:16:52 +04:30
docs [doc] Update list of default features in the manual 2019-08-23 13:15:37 +02:00
m4 Remove generated files that were accidentally added by CFF2 branch 2018-11-30 22:43:22 -05:00
src Don't rely on undefined left shift of negative value behavior 2019-09-18 23:16:52 +04:30
test Remove duplicated tests from test-ot-tag (#1958) 2019-09-06 12:24:32 -04:00
util Turn 8 spaces to tab across the project 2019-08-27 02:40:41 +04:30
.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 [editorconfig] Treat Ragel files also as C sources 2019-09-01 15:13:05 +04:30
.travis.yml [ci] use trusty for its gcc 4.8 again 2019-06-08 00:40:18 +04:30
appveyor.yml [ci] Disable vcpkg thus running the test suit in Windows 2019-08-11 23:07:29 +04:30
AUTHORS Update AUTHORS / COPYING 2019-04-21 12:26:07 -04:00
autogen.sh Add Ragel-generated files to git 2018-02-20 14:36:14 -08:00
azure-pipelines.yml Set up CI with Azure Pipelines 2018-10-25 15:22:54 +00:00
BUILD.md Fix typos. 2018-10-19 19:24:05 +03:30
CMakeLists.txt Fallback if roundf didn't exist, like in dietlibc (#1953) 2019-09-02 19:32:05 -05:00
CONFIG.md [config] Add links 2019-06-27 14:48:10 -07:00
configure.ac Check roundf availibity in autotools 2019-09-04 11:16:18 +04:30
COPYING Update AUTHORS / COPYING 2019-04-21 12:26:07 -04:00
git.mk [git.mk] Update 2017-10-27 10:23:01 -06:00
harfbuzz.doap Move all references of old url to the new address (#622) 2017-11-20 14:49:22 -05:00
Makefile.am Add CONFIG.md 2019-06-17 20:10:36 -07:00
mingw32.sh [mingw] Some more tweaks 2019-05-25 12:42:38 -04:00
mingw64.sh [mingw] Some more tweaks 2019-05-25 12:42:38 -04:00
mingw-configure.sh [mingw] Some more tweaks 2019-05-25 12:42:38 -04:00
mingw-ldd.py [win] Add mingw-ldd.py 2019-05-24 17:02:52 -04:00
NEWS 2.6.1 2019-08-22 15:52:24 -07:00
README Switch README / README.md 2019-01-28 20:39:16 -05:00
README.md [readme] add oss-fuzz badge 2019-08-20 13:30:34 +04:30
README.mingw.md [ming2] Update instructions 2019-05-25 11:37:23 -04:00
README.python.md Some styling 2019-08-03 13:55:34 +02:00
RELEASING.md [mingw] Update instructions 2019-05-25 12:52:16 -04:00
replace-enum-strings.cmake CMake: Support building HarfBuzz-GObject 2017-10-18 23:48:11 +08:00
TESTING.md [docs] Tweak fuzzer doc 2019-05-20 20:45:11 -07:00
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

Travis Build Status AppVeyor Build Status CircleCI Build Status OSS-Fuzz Status Coverity Code Health Codacy Code Health Codecov Code Coverage Coverals Code Coverage 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