Khaled Hosny
92b85749f2
[util] Strip quotes when parsing features
...
When running in batch mode, the quotes are not stripped by the shell and
end up in the feature string. This breaks one of the AOTS tests.
Alternatively, we can remove the quotes from the test files, not sure
which is less hacky, though!
3 years ago
Qunxin Liu
71b5509c19
[subset] support option --glyph-names
3 years ago
Garret Rieger
668f2bd93e
[subset] Add hb_subset_or_fail () to public subset api.
3 years ago
Qunxin Liu
eee7b459ee
[subset] add option --no-prune-unicode-ranges
3 years ago
Qunxin Liu
d07f789ae3
[subset] support option "--notdef-outline"
3 years ago
Behdad Esfahbod
bdfed8f113
[blob] Add failing versions of create API
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/2567
New API:
+hb_blob_create_or_fail()
+hb_blob_create_from_file_or_fail()
Use these in util/ to distinguish empty file from not-found file.
Only err on the latter.
3 years ago
Behdad Esfahbod
c61ce962cf
[buffer] In hb_buffer_get_positions(), return NULL if inside message callback
...
As discussed in https://github.com/harfbuzz/harfbuzz/issues/2468#issuecomment-645666066
Part of fixing https://github.com/harfbuzz/harfbuzz/issues/2468
3 years ago
Qunxin Liu
cb5a6b5a27
[subset] support option --layout-features
4 years ago
Garret Rieger
73ff04a324
[subset] add option to have the subsetter set the mac overlaps flag on each glyph.
4 years ago
Garret Rieger
1bb00cd54b
[subset] add num-iterations flag to util/hb-subset.
4 years ago
Behdad Esfahbod
42bf8e3d49
[util] Disable chafa's truecolor mode
...
See https://github.com/harfbuzz/harfbuzz/pull/2959#issuecomment-827056111
4 years ago
Hans Petter Jansson
8298c2f93b
[hb-view] Use Chafa for terminal graphics if available
...
This produces high-quality terminal graphics using symbols or sixels
according to the detected terminal capabilities.
Fixes #2430 .
4 years ago
Behdad Esfahbod
b3159ed8d2
[util] Silence compiler warning
4 years ago
Khaled Hosny
c30349d54e
[hb-view] Support kitty inline images protocol
...
https://github.com/harfbuzz/harfbuzz/issues/2758
4 years ago
Khaled Hosny
f7d5889b3e
[hb-view] Support iTerm2 inline images protocol
...
https://github.com/harfbuzz/harfbuzz/issues/2758
4 years ago
Khaled Hosny
5091ea7e24
Merge pull request #2733 from astiob/buffer-context-doc
...
[docs] Describe buffer context applicability more explicitly
4 years ago
Ebrahim Byagowi
5193357832
Revert "Remove autotools build support"
...
This reverts commit 01ac32aab2
.
4 years ago
Ebrahim Byagowi
01ac32aab2
Remove autotools build support
4 years ago
Ebrahim Byagowi
58a5961ca1
minor spacing tweak
4 years ago
Ebrahim Byagowi
07c43b8cf6
minor spacing tweak
4 years ago
Ebrahim Byagowi
5a7cc7fd8b
minor spacing tweak
4 years ago
Ebrahim Byagowi
ba810ce83d
[tests] Replace space with colon in batch mode
4 years ago
Christoph Reiter
03bd6ead44
[meson] Only pass required dependencies to everything
...
Instead of passing dependencies as required we used one giant shared
dependency list containing all dependencies for every library/executable.
While this kinda works, the specified deps are also used for generating
the pkg-config files and this leads to lots of Requires.private and Libs.private
entries which aren't really needed.
This removes the "deps" array and replaces it with a few smaller ones and
makes sure the public libraries only get passed the dependencies actually
needed.
Fixes #2441
5 years ago
Behdad Esfahbod
069c5de9f8
[util/hb-view] Add --font-extents
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/2402
5 years ago
Qunxin Liu
b2a965df5e
[subset] Add support for "--gids" option
...
cmap subsetting now retains entries associated with any glyph ids explicitly requested
5 years ago
David Corbett
5a0936f53e
Increase the size of the serialization buffer
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
1dd3896688
[meson] Make it work on autotools dist
5 years ago
Aaron Boxer
68f982415b
meson: update to latest master
5 years ago
Tim-Philipp Müller
618584e923
meson: rename incbase to incconfig
...
Makes it clearer what it's for: config.h. See #4 .
5 years ago
Tim-Philipp Müller
49ba211a9d
meson: add options to enable/disable various features
...
And fix build without GLib. Fixes #2 .
5 years ago
Mathieu Duponchelle
484313ff36
meson: install
5 years ago
Mathieu Duponchelle
99b26789d2
meson: more windows fixes
5 years ago
Mathieu Duponchelle
920efc0ef7
Add Meson build definitions
...
Fixes #490
http://mesonbuild.com
5 years ago
Qunxin Liu
36a5c042d7
[subset] Add "--name-languages" and "--name-legacy" options
...
Make name table subsetting consistent with fontTools
5 years ago
Ebrahim Byagowi
e171beeb5f
Revert "[subset] Add "--name-languages" and "--name-legacy" options"
...
Causes tests failures, please reapply when tests are fixed, thanks.
This reverts commit fd85818b5b
.
5 years ago
Qunxin Liu
fd85818b5b
[subset] Add "--name-languages" and "--name-legacy" options
...
Make name table subsetting consistent with fontTools
5 years ago
Ebrahim Byagowi
ce114d6b27
minor, tweak spaces
5 years ago
Evgeniy Reizner
b79ceac3c6
Prefer UINT_MAX instead of uint overflow.
...
Also, prefer HB_FEATURE_GLOBAL_START and HB_FEATURE_GLOBAL_END.
5 years ago
Ebrahim Byagowi
a0b4ac4dce
Turn 8 spaces to tab across the project
...
According to the current code style of the project
5 years ago
Zero King
6d53cda1ba
[util] Fix memory leak
5 years ago
Qunxin Liu
1da1b4dc94
[subset] For option "--unicodes", add support for "*" to retain all code points
5 years ago
Bruce Mitchener
659eeddb2d
Use C++11 override keyword.
6 years ago
Bruce Mitchener
5846884f86
test: Use nullptr in C++ code. ( #1744 )
6 years ago
Qunxin Liu
993d81b9c5
[subset] Add one ttf file with fvar/STAT tables to integration test
...
Ignore gvar/MVAR/HVAR table
add support for --nameIDs=* option
6 years ago
Garret Rieger
0ff3618c2d
[subset] Use hb_subset_input_t inside of subset_options_t so that input defaults are shared between the library and cli.
6 years ago
Garret Rieger
67064294a0
[subset] Add drop-tables option to hb-subset util.
6 years ago
Qunxin Liu
e501ea143d
[subset] Subset name table step 3, add --nameids option to guide the
...
selection of which name records to keep in the subset method.
6 years ago
David Corbett
087b9a0ad0
Fix or document unsupported font-feature-settings
6 years ago