Behdad Esfahbod
8e53c7c125
[coretext] Fix more CGFloat double-promotion warnings
...
The warning is:
warning: implicit conversion increases floating-point precision: 'CGFloat' (aka 'float') to
'double' [-Wdouble-promotion]
4 years ago
Behdad Esfahbod
cd08c2528c
Fix typo
4 years ago
Khaled Hosny
9c8032cb4b
[meson] Don’t build FontConfig subproject from master
...
Pin it to a known working tag instead.
4 years ago
Garret Rieger
5ca353a2d0
[subset] fix heap buffer overflow found by fuzzer.
4 years ago
Behdad Esfahbod
ae860db893
Merge pull request #2859 from harfbuzz/override-0b55
...
[indic] Fix shaping of U+0B55 ORIYA SIGN OVERLINE
4 years ago
David Corbett
751ed68fee
[indic] Fix shaping of U+0B55 ORIYA SIGN OVERLINE
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/2849
4 years ago
Behdad Esfahbod
7a60f4e3a4
[subset] Remove debug burden
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/2360
4 years ago
Garret Rieger
00d9276343
Add gpos9 expected files to Makefile.am
4 years ago
Garret Rieger
08a4997fde
[subset] Add subset support for Extension lookups (GPOS 9, GSUB 7).
4 years ago
Behdad Esfahbod
bbbea3dbd8
[minor] Rewrite set operation in OS/2 subsetting
...
This patch could be nicer:
https://github.com/harfbuzz/harfbuzz/pull/2572/files
Just tiny touchup now.
4 years ago
Behdad Esfahbod
cdb9197b41
[khmer] Remove more unused code
...
Prodded by https://github.com/harfbuzz/harfbuzz/pull/2583
These are leftovers from when we forked Khmer shaper from the Indic shaper.
4 years ago
Behdad Esfahbod
dfa9d7acdc
[minor] Use serializer->propagate_error() to simplify code
4 years ago
Behdad Esfahbod
5faae8260a
[post] Remove unneeded error check
4 years ago
Behdad Esfahbod
d7e2a51de2
[minor] Add unlikely() when checking for error
4 years ago
Behdad Esfahbod
eb069f3948
[tests] Update expected output of recently-merged gpos5
...
The merged PR was from before landing this:
commit 7a72b20aa2
Author: Garret Rieger <grieger@google.com>
Date: Thu Sep 24 15:58:48 2020 -0700
[subset] Subset GDEF during layout subsetting tests.
4 years ago
Behdad Esfahbod
c7d232ce4e
Merge pull request #2701 from googlefonts/Mark-To-Ligature_grieger
...
[subset] GPOS 5 MarkToLigature subsetting support
4 years ago
Behdad Esfahbod
68d576224f
Merge pull request #2853 from harfbuzz/fix-g-ir-scanner
...
[introspection] Fix g-ir-scanner syntax errors
4 years ago
Khaled Hosny
7b9e23f28b
[introspection] Fix g-ir-scanner syntax errors
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/2851
4 years ago
Khaled Hosny
094406b67b
[ci] Disable failing Arch Linux job
...
Some g-ir-scanner failure that does not seem to be related to us. The
job does not seem to be testing anything interesting anyway.
4 years ago
Khaled Hosny
554aaa0c5d
[build] Fix make distcheck
...
A regression from 7b77ce0507
.
It was caught by the CI build in the PR, but apparently we are now used
to CI failures that they are effectively ignored.
Also, yay for multiple build systems.
4 years ago
Behdad Esfahbod
1da75afbe8
[minor] Add unlikely()
4 years ago
Behdad Esfahbod
6e1afac64b
[minor] Rename internal variable
...
To address review comment:
https://github.com/harfbuzz/harfbuzz/pull/2699#discussion_r573370781
4 years ago
Behdad Esfahbod
836814a571
[array] Swap order of args to hb_equal()
...
Prioritizes Key::cmp() over table's cmp.
4 years ago
Behdad Esfahbod
98374cebe1
Conditionalize IntType::cmp() so it never fails to compile
...
Useful with lfind() since that calls hb_equal() which SFINAEs which
cmp() to use.
4 years ago
Behdad Esfahbod
ed04174a64
Whitespace
4 years ago
Behdad Esfahbod
6a3fd94f3b
Merge pull request #2699 from googlefonts/gpos_8
...
[subset] Add a more complex layout subsetting test case and fix the issues it exposed.
4 years ago
Garret Rieger
8f47dd5779
[subset] don't set lookup visited in closure_lookups_context_t::recurse.
...
- Lookup::closure_lookups also checks if the lookups visited and sets the lookup to visited. If we set visited in 'recurse' then Lookup::closure_lookups will fail to recurse into the children of the lookup.
- Also when copying ChainRule's skip LookupRecord's that point to lookups which aren't retained. This matches FontTool's behaviour.
4 years ago
Behdad Esfahbod
feeff5928b
[docs] Add destroy() call to sample
4 years ago
Khaled Hosny
319e5b3200
[manual] Fix font functions section
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/2731
4 years ago
Khaled Hosny
3583fce86d
[manual] Give all chapters & sections pretty links
4 years ago
Khaled Hosny
84d4d9fc4d
[manual] We don’t use ucdn library anymore
4 years ago
Khaled Hosny
68d2e1b221
[meson] Disable benchmark feature by default
...
It downloads a dependency from the internet, and in the same time not
used anywhere (one needs to explicitly call ninja benchmark), not even
on the CI (not sure if it that would make much sense since it does not
seem to ever fail).
4 years ago
Khaled Hosny
b6f47af555
[meson] Report more options in the summary
4 years ago
Behdad Esfahbod
33a0f0b686
[test] Remove fuzzed test font that triggers virus alert
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/2750
4 years ago
Khaled Hosny
99184fbe2b
[ci] Add top level directory to win32 zip file
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/2840
4 years ago
josephshen
d9e0244cdf
remove duplicate file names
4 years ago
Behdad Esfahbod
dad41c07e4
[use] Typo
4 years ago
Behdad Esfahbod
63a716c540
[indic] Use lfind()
4 years ago
Behdad Esfahbod
921b4e46b0
[algs] Add hb_equal()
...
Use in hb_array_t::lfind()
4 years ago
Behdad Esfahbod
f4ed3bf20b
[indic] Remove categorization of Khmer Ra
...
Khmer goes through its own shaper these days.
4 years ago
Behdad Esfahbod
676d1e6adf
[indic] Spell out INDIC_TABLE_ELEMENT_TYPE
4 years ago
Behdad Esfahbod
769c2b19a3
[indic/khmer/myanmar/use] Minor shuffling of found_syllable() macros
4 years ago
Behdad Esfahbod
59721c2f37
[use] Move data table into same compilation unit
4 years ago
Behdad Esfahbod
d9b167da3d
[use] Remove hb-ot-shape-complex-use.hh
...
Inline into ragel machine.
4 years ago
Behdad Esfahbod
3bb2653a5e
[use] Reuse category numbers exported from ragel machine
...
Part of https://github.com/harfbuzz/harfbuzz/pull/2726
4 years ago
Behdad Esfahbod
c417e0d2f9
[indic/khmer/myanmar/use] Move enum category around
...
Such that the generated -machine.hh headers are independent.
4 years ago
Behdad Esfahbod
675b6c2994
[indic/khmer/myanmar/use] Remove unused dump-*-data programs
...
In prep for streamlining tables.
4 years ago
Behdad Esfahbod
0a5c631140
[use] Rename internal enum joinint_form_t members
...
To ease upcoming change.
4 years ago
Behdad Esfahbod
880fdb7460
[indic/khmer/myanmar/use] Export categories from Ragel source
...
Not hooked up yet.
Part of alternative approach to
https://github.com/harfbuzz/harfbuzz/pull/2726
4 years ago
Garret Rieger
f94bf9f06f
[set fuzzer] limit the total number of set members in a fuzzing input.
...
Currently the fuzzer can create arbitarily long inputs which once big enough will trigger a timeout.
4 years ago