Behdad Esfahbod
ad4df20dd6
[style] Fix float conversion warning
3 years ago
Behdad Esfahbod
c5cc23a9b5
[style] Change private slant tag
...
https://github.com/harfbuzz/harfbuzz/issues/3200#issuecomment-918352162
3 years ago
Khaled Hosny
d748586a18
[style] Try harder to fix MSVC build
...
https://docs.microsoft.com/en-us/cpp/c-runtime-library/math-constants?view=msvc-160
3 years ago
Khaled Hosny
e275f0d7ed
[style] Try to fix MSVC build
3 years ago
Khaled Hosny
eb4075a1ed
[style] Fix documentation
...
Message documentation a bit to get it working.
3 years ago
Khaled Hosny
4d9b7de0b6
[style] Prepare for release
3 years ago
Khaled Hosny
34ff2d3ea6
Fix build with -Dexperimental_api=true
...
../src/hb-style.cc:102:32: error: no matching function for call to 'hb_style_get_value'
return _hb_angle_to_ratio (hb_style_get_value (HB_STYLE_TAG_SLANT_ANGLE));
^~~~~~~~~~~~~~~~~~
../src/hb-style.cc:99:1: note: candidate function not viable: requires 2 arguments, but 1 was provided
hb_style_get_value (hb_font_t *font, hb_tag_t tag)
^
and
../src/hb-style.cc:80:1: error: unused function '_hb_ratio_to_angle' [-Werror,-Wunused-function]
_hb_ratio_to_angle (float r)
^
3 years ago
Behdad Esfahbod
39c20d2b9e
[style] Add HB_STYLE_TAG_SLANT_RATIO
3 years ago
Behdad Esfahbod
201cbe3c66
[style] Rename HB_STYLE_TAG_SLANT to HB_STYLE_TAG_SLANT_ANGLE
3 years ago
Behdad Esfahbod
a23ce28977
[style] Fall back to GPOS 'size' feature for optical size in style API
3 years ago
Qunxin Liu
37379f8f7d
[subset] fox for (Chain)ContextFormat3: subset lookupRecord
...
skip copying a lookupRecord if lookup referenced in the lookupRecord is
not retained after subset
3 years ago
Khaled Hosny
838d670752
[subset] Improve alignment of --help-all message
3 years ago
Khaled Hosny
9b7af950b3
[docs] Fix subset documentation
...
List the missing new APIs and unlist all the to be deleted legacy APIs.
3 years ago
Khaled Hosny
e38b873eae
[ci] Use different executer for win64 jobs
3 years ago
Khaled Hosny
48c9869bda
Typo
3 years ago
Khaled Hosny
505df5abf8
2.9.1
3 years ago
mahanstreamer
6602cbb706
dead link
3 years ago
mahanstreamer
916ffe0c85
grammer fix
3 years ago
Khaled Hosny
195c05df99
Revert "[ot-shape-normalize] Move buffer out of hb_ot_shape_normalize_context_t"
...
This reverts commit 8cdbea5580
.
For some reason this is causing several tests to crash locally for me
(on macOS), see:
8cdbea5580 (commitcomment-55898088)
3 years ago
David Corbett
f4559d2435
Update hb-ot-tag-table.hh
3 years ago
Khaled Hosny
9fddbb3e24
[test] Rename test and split into smaller subtests
3 years ago
Khaled Hosny
c6bb719e65
[test] Add tests for Arabic decomposition
...
Test that both NFC and NFD input produces identical results for fonts
that used composed fonts internally (Amiri here) and fonts that
decompose internally (Noto Nastaliq Urdu here) and that for the former
composed forms are used.
See https://github.com/harfbuzz/harfbuzz/issues/3179
3 years ago
Khaled Hosny
a9dc4fbeac
[test] Make shape test names match file names
...
No idea why test names are underscorified but it it just makes calling
meson test testname harder than it should being not able to copy file
name directly.
3 years ago
Garret Rieger
2bd911b8b4
[subset] handle cmap4 overflows.
...
If a cmap4 subtable overflows during serialization drop it and the corresponding EncodingRecord. Don't drop the corresponding cmap12 table if it would have otherwise been removed.
3 years ago
Behdad Esfahbod
bf81bbfb35
Revert "[arabic] Do not re-compose Unicode sequences"
...
This reverts commit ff34c240b0
.
https://github.com/harfbuzz/harfbuzz/issues/3179#issuecomment-911242833
3 years ago
Behdad Esfahbod
ff34c240b0
[arabic] Do not re-compose Unicode sequences
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3179
3 years ago
Alba Mendez
5fadf4c85e
Small docs improvement
...
Mention that the returned strings are always nul terminated for convenience.
3 years ago
Behdad Esfahbod
04cf6212d7
[util/hb-subset] Fix --version and --help again
...
38ad093216
3 years ago
Behdad Esfahbod
5c4c173b06
Merge pull request #3146 from googlefonts/set_api
...
[subset] proposed update to subset set apis.
3 years ago
Garret Rieger
de85636581
[subset] s/REPLACE/REPLACEME/
3 years ago
Garret Rieger
3844e58e14
[subset] remove helper functions for accessing subset input sets.
3 years ago
Behdad Esfahbod
41b9f2abcd
[set] Add TODO item
3 years ago
Behdad Esfahbod
93ac700da6
[set] Add copy-constructor/assignment again
3 years ago
Garret Rieger
b9a176e268
[subset] speedup cmap4 subsetting for large codepoint counts. ( #3178 )
...
glyphIdArray generation implementation was O(n^2). Refactored to use a hashmap to reduce complexity. After the change subset time for a 22k codepoint subset went from 7s to 0.7s.
3 years ago
Behdad Esfahbod
fdce294120
[util/hb-subset] Print error and suggest filing github issue if operation fails
...
https://github.com/harfbuzz/harfbuzz/issues/3173#issuecomment-906715780
3 years ago
Behdad Esfahbod
38ad093216
[util/hb-subset] Don't ignore errors during face parsing
...
Was ignoring file-not-found errors.
3 years ago
Garret Rieger
57d6bf8251
[subset] in sets union correctly size the pointer array.
3 years ago
Garret Rieger
102666dab7
[subset] add test for hb_subset_input_set (...).
3 years ago
Garret Rieger
7194c2a2a3
[subset] use anonymous union to hold the input sets instead of a map.
3 years ago
Garret Rieger
05204d7586
[subset] implement hb_subset_input_set (...).
...
Switch to storing the sets keyed by enum internally.
3 years ago
Garret Rieger
50193262f0
[subset] reorder set enums.
3 years ago
Garret Rieger
3282f540a9
[subset] restore legacy set api methods.
3 years ago
Garret Rieger
1457c1f080
[subset] set enum name changes.
3 years ago
Garret Rieger
1b5e159301
[subset] Remove HB_SUBSET_SETS_COUNT and flags comment.
3 years ago
Garret Rieger
4c389fd9e5
[subset] add unicode and glyph set enums.
3 years ago
Garret Rieger
e3e1ae8766
[subset] proposed update to subset set apis.
3 years ago
Garret Rieger
1e1438c4fb
[subset] fix --*-file options in hb-subset. ( #3176 )
...
The previous change to add -/+ versions of each set type broke all of the --*-file input options since all of the parse functions now default to replacing the set if the + variant is not being used. This fixes the issue by changing parse_file_for to pass '+' as the name to the parsing function. This triggers the append mode.
3 years ago
Garret Rieger
9db494f517
[subset] Update remaining subset input sets to use inversion for all. ( #3172 )
...
* [subset] Update remaining subset input sets to use inversion for all.
* [subset] Update flag help for remaining sets to mention -=.
3 years ago
Behdad Esfahbod
99356ea5f0
Merge pull request #3150 from harfbuzz/item-context-tests
...
[test] Add tests for item context
3 years ago
Behdad Esfahbod
1620698bd5
[subset-input] Minor format
3 years ago