Ebrahim Byagowi
19346524c6
minor, add an option to skip private APIs use in main.cc
5 years ago
Ebrahim Byagowi
2e3dfdcd5f
[meson] make 'tests' option enabled by default
...
Not sure what 'auto' can mean here but it makes my local test to not run properly
5 years ago
Hugo Beauzée-Luyssen
6881939f77
src: meson: Reindent after last changes
5 years ago
Hugo Beauzée-Luyssen
e18858c685
src: Don't build tests when they are disabled
5 years ago
Ebrahim Byagowi
0c65a232fa
minor, add unlikely around lookup_limit_exceeded checks
...
addresses https://github.com/harfbuzz/harfbuzz/pull/2294#issuecomment-618022488
5 years ago
Evgeniy Reizner
3e686d2459
[kern] Refactoring.
5 years ago
Behdad Esfahbod
186976ebd6
[autotools] C++11 requirement is mandatory
...
How was this not updated?
5 years ago
Behdad Esfahbod
f4cd99f28e
Reordering fails when GDEF table is absent #2140
...
Preserve glyph class if there's no GDEF and no guess.
Fixes https://github.com/harfbuzz/harfbuzz/issues/2140
5 years ago
Evgeniy Reizner
05be05eb65
[kern] Test format 3.
5 years ago
Khaled Hosny
c7afb6d7b8
[docs] Fix broken link
5 years ago
Behdad Esfahbod
bd8aa1b043
Minor
5 years ago
ckitagawa
b22f61d86a
Fix bug
5 years ago
Ebrahim Byagowi
1cd14b40e7
minor, update ragel generated hb-number-parser.hh
5 years ago
Ebrahim Byagowi
6d5e8e5ee4
minor
...
following to c37100e7d
5 years ago
Ebrahim Byagowi
5b91c52083
[ci] run experimental APIs tests
5 years ago
Ebrahim Byagowi
750bb73e32
[meson] Add an experimental-api option
5 years ago
Behdad Esfahbod
262eced2ad
[subset] FeatureVariations subsetting is wrong
...
Never drop FeatureVariationRecord for now.
Fixes https://github.com/harfbuzz/harfbuzz/issues/2334
5 years ago
Ebrahim Byagowi
2a549aadd3
minor
5 years ago
Ebrahim Byagowi
2be859d289
minor, replace nullptr checks with implicit ones
5 years ago
Ebrahim Byagowi
0181f03019
[test] Workaround Windows pipe issue by storing ttx in a file
5 years ago
Ebrahim Byagowi
4cfb6cb964
[ci] Switch msys2 bot to meson
5 years ago
Ebrahim Byagowi
2dda6dd744
minor, tweak spacing
...
turn 8 spaces to tab, add space before Null/Crap
5 years ago
Ebrahim Byagowi
ac26f19c9e
Refactor test/api/meson.build and always run test-unicode test
5 years ago
Ebrahim Byagowi
0133cb55e2
Minor, use hb_sorted_array::bsearch where possible
5 years ago
n8willis
1ed30515cb
[Docs, usernmanual] Fix with-icu=builtin explanation
5 years ago
n8willis
d6edd9a408
[Docs, usermanual] Reword hb_ft_font_create_referenced explanation
5 years ago
Christoph Reiter
fb3acdbcb6
meson: only install gobject/icu headers if the features are enabled
5 years ago
Christoph Reiter
ad5dcda0b5
meson: install hb-icu.h header
5 years ago
Behdad Esfahbod
2cc85281c2
[serializer] Make snapshot()/revert() revert current object links
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/2325
5 years ago
Behdad Esfahbod
6f6e78a26e
Fix float-to-double warnings
...
./hb-ot-glyf-table.hh:978:37: warning: implicit conversion increases floating-point precision: 'float' to 'double' [-Wdouble-promotion]
5 years ago
Behdad Esfahbod
c37100e7d9
Clean up math.h and float.h includes
5 years ago
Ebrahim Byagowi
c6b3f73b09
[meson] Make harfbuzz-icu separate module optout-able
5 years ago
Christoph Reiter
8ae06c9489
meson: build a separate library for harfbuzz-icu
...
This adds a seperate library like with autotools.
This also fixes the ico feature option which was just set to required:false
when disabled instead of really disabling it.
Disabling is still broken with msvc because it then tries to find the library
another way, but that's broken for all other deps as well so I left it as is.
For tests only test-unicode.c is using icu specific functions so split it out
into its own category which depends on harfbuzz-icu.
Fixes #2338
5 years ago
Christoph Reiter
2354a90008
tests: fix subset/run-tests.py under Windows
...
It assumed that stdout of a subprocess in binary mode was using
utf-8 which isn't the case. Instead open stdout of the subprocess
in text mode and let Python handle the decoding.
5 years ago
Christoph Reiter
c1228990b9
autotools: Add fix_get_types.py to EXTRA_DIST
...
So it ends up in the release tarball and can be used in the meson build.
Fixes #2337
5 years ago
Christoph Reiter
dced2fbee9
meson: complete introspection build config
...
Pass the same config to gobject-introspection as with cmake/autotools.
This makes sure the c-include and package name is included in the gir
and also fixes the build because of the missing HB_AAT_H* defines.
Fixes #2336
5 years ago
ariza
22f7c61acf
implement SID to glyph ID mapping with predefined Charset
...
Also fixes oss-fuzz 21769
5 years ago
Ebrahim Byagowi
f9bc373381
2.6.5
5 years ago
Ebrahim Byagowi
a8455292f4
[layout] minor on doc
5 years ago
Ebrahim Byagowi
fefaa8c835
[test] define G_APPROX_VALUE and EPSILON only when used
...
resolves -Weverything bot complain
5 years ago
Ebrahim Byagowi
29c903223b
Move hb_ot_layout_closure_{features,lookups} behind EXPERIMENTAL flag
5 years ago
Ebrahim Byagowi
9b7fb5c23f
Move hb_font_get_var_coords_design behind HB_EXPERIMENTAL_API
5 years ago
Behdad Esfahbod
41c671e701
[build] Adjust check-symbols for -flto
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/2328
5 years ago
n8willis
e7d5fa4a58
[Usermanual, utilities] - correct DocBook tags
...
Changes stray <program> DocBook tags on this page to <command>. No instances found in the other docs.
5 years ago
Ebrahim Byagowi
8f6d0f8401
[os2] minor, fix font_page_t enum naming
...
As https://github.com/harfbuzz/harfbuzz/pull/986#pullrequestreview-395052800
5 years ago
Ebrahim Byagowi
818f109bde
Use float in avar calculation instead ints and checking their overflows
5 years ago
Ebrahim Byagowi
9ffa50fe5d
Add an appropriate fallback to hb_int_mul_overflows
5 years ago
Ebrahim Byagowi
32f431406e
[docs] minor
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/2321
5 years ago
Ebrahim Byagowi
a5e5a79004
[tests] Enable the just added macOS test for older version
...
The test is added in 7035c9cd
but the same font is available in older versions of macOS
so let's run it in older versions also.
It doesn't matter much, more for consistency reasons.
5 years ago
Jonathan Kew
7035c9cdfe
Add test for #2290 .
...
This tests that we can set two separate Type=Ligature selectors at the same time,
common=off + discretionary=on.
5 years ago