Behdad Esfahbod
7698962911
[arabic-fallback] Disable PUA shaping under HB_NO_OT_SHAPER_ARABIC_FALLBACK
2 years ago
Behdad Esfahbod
4520911429
[arabic-fallback] Fix warning
2 years ago
Behdad Esfahbod
55350377b0
[cmap/ft] Only map 0xF000 range if font_page is NONE
2 years ago
Behdad Esfahbod
41a079bdec
[arabic-fallback] Make win1256 code build again
...
Humm. Untested.
2 years ago
Behdad Esfahbod
1db6fddb24
[arabic-fallback.hh] Hook up 3-letter ligatures
2 years ago
Behdad Esfahbod
20e9f0b1d2
[arabic-fallback] Add the component loop
...
Should be able to support 3-letter ligatures now. Hooking up next.
2 years ago
Behdad Esfahbod
9684d2d8aa
[arabic-fallback] More baby steps
2 years ago
Behdad Esfahbod
08715d75e0
[arabic-fallback] Another baby-step
2 years ago
Behdad Esfahbod
15dd34b515
[arabic-fallback] Another minor rename towards supporting 3-letter ligatures
2 years ago
Behdad Esfahbod
d86effa4a6
[arabic-fallback] Rename; towards supporting 3-letter ligatures
2 years ago
Behdad Esfahbod
8978a18f31
[arabick-fallback] Apply mark ligatures
2 years ago
Behdad Esfahbod
16c2371352
[arabick-fallback] Apply mark ligatures
2 years ago
Khaled Hosny
7f362196c5
[arabic] Split ligature array
...
Generate marks and 3-component ligatures in separate arrays. The new
arrays are unused currently.
2 years ago
Khaled Hosny
6e29060af2
[arabic] Add mapping files for the PUA encoding
...
Unused right now.
2 years ago
Khaled Hosny
dfc5e5a27d
[test] Skip glyph positions for test failing on CI
...
We are not interested in glyph positioning for this test, and the
FreeType version on some CI machines is giving some different glyph
advances here.
2 years ago
Khaled Hosny
189e8c326e
[ft] Remap legacy Arabic PUA codepoints
...
Similar to what ot font finctions does, to support Support legacy
pre-OpenType Windows 3.1-era fonts.
2 years ago
Khaled Hosny
69cbd365cc
WIP: manually add data entries for PUA ligatures
...
Just a test, I’m not entirely convinced we should do this.
2 years ago
Khaled Hosny
c3f590bb1e
[arabic] Support legacy PUA shaping
...
Support legacy pre-OpenType Windows 3.1-era fonts, by remapping PUA code
points in cmap table and letting our fallback shaper build the GSUB
table.
Uniscribe applies also mset-like substitution, but our fallback mark
positioning gives better results, so this is not implemented.
2 years ago
Behdad Esfahbod
b172f88c7d
Fix a warning
...
D:\a\harfbuzz\harfbuzz\src\hb-bit-set-invertible.hh(83): warning C4805: '^': unsafe mix of type 'uint32_t' and type 'const bool' in operation
[870/1075] Compiling C++ object src/harfbuzz.dll.p/hb-face.cc.obj
cl : Command line warning D9025 : overriding '/EHs' with '/EHs-'
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
2 years ago
Garret Rieger
af74ab452f
[repack] always run the sort in repack.
...
This is needed to ensure virtual link ordering constraints are respected when repack is being called from fontTools. For subset usage, repack won't be called if the graph doesn't already overflow so this change doesn't cause any extra work.
2 years ago
Behdad Esfahbod
29811a720c
Fix typo
2 years ago
Behdad Esfahbod
c859cbfb88
Mark an array as static
...
Not sure how this wasn't flagged before.
2 years ago
Behdad Esfahbod
19802dfdf0
Minor rename of static symbols to namespace them
2 years ago
Behdad Esfahbod
e0a5231657
[draw] Lazy-allocate user-data/destroy callback vector
2 years ago
Garret Rieger
823f32a0e2
[subset] Fix potential out of bounds write setting overlap flag on composite glyphs.
2 years ago
Behdad Esfahbod
3f9226da37
[meta] Fix typo
2 years ago
Ryan VanderMeulen
1c0eeb7cb3
Don't try to set _USE_MATH_DEFINES if already defined
2 years ago
Ryan VanderMeulen
25917c780f
Fix build warning when __GNUG__ isn't defined
2 years ago
Behdad Esfahbod
e9c0a74063
Fix clang -Wcomma warnings
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3656
2 years ago
Behdad Esfahbod
d9c18cc2f0
[indic-table] Update
2 years ago
Behdad Esfahbod
99a26bc19d
[indic-generator] Fix typo
2 years ago
Behdad Esfahbod
2cbb775866
[myanmar] Fold category P into GB
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3649
This actually now allows Asat after the Myanmar punctuation marks;
something I see in Wikipedia data.
2 years ago
Behdad Esfahbod
b350e30186
[myanmar] Remove category D completely
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3651
2 years ago
Behdad Esfahbod
8533214ac5
[khmer] Fold category Coeng completely into category H
2 years ago
Behdad Esfahbod
607a9fe793
[indic-like] Remove category duplication
2 years ago
Behdad Esfahbod
0485192195
[indic-like] Remove dependence on ot_category_t
2 years ago
Behdad Esfahbod
14049003ac
[indic-like] Reduce indic-dependency of khmer/myanmar even more
2 years ago
dependabot[bot]
a1c299da13
Bump actions/setup-python from 3 to 4
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Garret Rieger
f9f0969cb6
[subset] switch to hb_memcpy.
2 years ago
Garret Rieger
1e34852f07
[subset] Fix undefined behaviour.
...
Don't memcpy if there's nothing to copy.
2 years ago
Garret Rieger
311413f16b
[subset] Fix fuzzer issue.
...
Fixes https://oss-fuzz.com/testcase-detail/5693568490012672 . new_index should be set from new_index2 when the entry is present in the map.
2 years ago
Matthias Clasen
4ba7980b8e
Fix the generated gobject headers
...
These headers are not acceptable to modern compilers.
gcc says things like:
/usr/include/harfbuzz/hb-gobject-enums.h💯 1: warning:
function declaration isn’t a prototype [-Wstrict-prototypes]
100 | hb_gobject_ot_metrics_tag_get_type () G_GNUC_CONST;
2 years ago
Ali Chraghi
79bb3b5278
[docs] fix typo
2 years ago
Behdad Esfahbod
b5bdb9f955
Merge pull request #3648 from harfbuzz/indic-cleanup
...
Indic cleanup
2 years ago
Behdad Esfahbod
98116e5cf5
[myanmar] Fix comments on categories
...
https://github.com/harfbuzz/harfbuzz/pull/3648#discussion_r894955430
2 years ago
Behdad Esfahbod
02016914b3
[indic-generator] Remove unnecessary Myanmar category=D overrides
...
https://github.com/harfbuzz/harfbuzz/pull/3648#discussion_r894685106
2 years ago
Behdad Esfahbod
937c878078
[indic-generator] Remove unnecessary override for Myanmar U+1039
...
https://github.com/harfbuzz/harfbuzz/pull/3648#discussion_r894762535
2 years ago
Behdad Esfahbod
9504037ccb
[indic-generator] Remove three unneeded Myanmar overrides U+AA74-6
...
These three characters have Indic_Syllabic_Category=Consonant_Placeholder. The
original evidence that prompted these overrides says they can take tone marks.
They are not subjoined: Khamti Shan apparently does not use subjoined
characters at all. Therefore, PLACEHOLDER is good enough and these need not be
overridden to C.
https://www.unicode.org/L2/L2008/08276-khamti-proposal.pdf
https://github.com/harfbuzz/harfbuzz/pull/3648#discussion_r894640713
2 years ago
Behdad Esfahbod
02eb6606d7
[indic-generator] Remove redundant PLACEHODER characters overrides
...
https://github.com/harfbuzz/harfbuzz/pull/3648#discussion_r894631922
2 years ago
Behdad Esfahbod
e16669ceac
[indic-generator] Remove redundant override of U+2010 / U+2011
...
https://github.com/harfbuzz/harfbuzz/pull/3648#discussion_r894630596
2 years ago