Behdad Esfahbod
64f0becd89
[post] Fix bound checking
6 years ago
HinTak
7ec694ddf2
Use non-GRID-fitted values for metrics ( #1363 )
...
* Use non-GRID-fitted values for metrics
See freetype/src/base/ftobjs.c:ft_recompute_scaled_metrics() and
the usage of GRID_FIT_METRICS inside.
Fixes https://github.com/behdad/harfbuzz/issues/1262
* Update hb-ft.cc
6 years ago
Behdad Esfahbod
59e04e4231
[kern/kerx] Fix cursive joining
...
Tested with Waseem TTC:
$ hb-shape Waseem.ttc جحخج
[F1Jeem_R2=3@0,180+479|M1Khah_L2_R2=2@0,682+403|M1Hah_L2_R2=1@0,1184+403|I1Jeem_L2=0@0,1184+744]
6 years ago
Behdad Esfahbod
8d0f797139
[kern/kerx] Fix "reset" magic value
6 years ago
Behdad Esfahbod
0123976a0c
[kerx] Adjust CrossStream kern to match 'kern' table
6 years ago
Behdad Esfahbod
80a33b9ac3
[kern] More tweaks
...
Solves a mystery or two. I'm fairly confident this is what CoreText does now.
6 years ago
Behdad Esfahbod
564e8ac046
[kern] Adjust some more
...
Getting closer. So many open questions still...
6 years ago
Behdad Esfahbod
4d003b8503
[kern] Add TODO
6 years ago
Behdad Esfahbod
9810f0b80e
[kern] Minor
6 years ago
Behdad Esfahbod
9c04b60583
[kern] In Format1, adjust how kerning is done
...
In a series of kerns in one action, kern all but last glyph forward,
and the last one backward. Seems to better match what CoreText is doing.
Test cases, with GeezaPro Arabic:
$ ./hb-shape GeezaPro_10_10.ttc -u U+0631,U+0628
[u0628.beh=1+1415|u0631.reh=0@-202,0+700]
$ ./hb-shape GeezaPro_10_10.ttc -u U+0628,U+064F
[u064f.damma=0@0,-250+-250|u0628.beh=0@250,0+1665]
In a later change, I'll make kern machine avoid producing negative kerns.
6 years ago
Behdad Esfahbod
e8c4772463
[kern] XXX Negate CrossKerning sign
...
Not sure why, but seems to better match GeezaPro Arabic w CoreText.
Quite possibly I'm doing something very wrong...
6 years ago
Behdad Esfahbod
01bf43ac01
[kern] Implement CrossStream kerning
6 years ago
Behdad Esfahbod
b11830c09e
[kern] Improve Format 2
...
Still disabled.
6 years ago
Behdad Esfahbod
c0383c6bb7
Minor
6 years ago
Behdad Esfahbod
10e6f708f3
[kern] Minor
6 years ago
Behdad Esfahbod
164eedd918
[kern] Minor
6 years ago
Behdad Esfahbod
220a5991ba
[kern/kerx] Fix trace numbering
6 years ago
Behdad Esfahbod
bfafe208da
[kern] Switch to dispatch
6 years ago
Behdad Esfahbod
213fa3bf71
[kern] Refactor to include header in each subtable type
6 years ago
Behdad Esfahbod
b0da2cd0b9
[kern] Some more
6 years ago
Behdad Esfahbod
75b00b51c8
[kern] Renames
6 years ago
Khaled Hosny
5c3ccbc634
Another missing backlash
...
Did this ever work?
6 years ago
Khaled Hosny
d29602b962
Add missing backslash
6 years ago
Behdad Esfahbod
9bddfde25d
[util] Fix up previous commit
6 years ago
Behdad Esfahbod
3ec2e4fa7b
[util] Don't terminate string after a a 0 in -u
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1361
6 years ago
Behdad Esfahbod
8790b2740a
[fuzzing] Fix test
6 years ago
Behdad Esfahbod
3af0a7edd0
[fuzzing] Add make check-valgrind
6 years ago
Behdad Esfahbod
b062378ce6
[test] Minor
6 years ago
Behdad Esfahbod
37f421c951
Minor
6 years ago
Ebrahim Byagowi
b6112e5ea4
[test] Fix -Weverything bot complain
6 years ago
Ebrahim Byagowi
a49df419f0
[test] Test hb_ot_name_{list_names,get_utf8} on test-ot-name
6 years ago
Ebrahim Byagowi
9139cc23ea
Fix link issue of some of the bots
...
e.g. https://circleci.com/gh/harfbuzz/harfbuzz/52410
6 years ago
Ebrahim Byagowi
98b37f0c10
[mort] Fix table detection logic
...
mort really needs some initial tests at least.
6 years ago
Behdad Esfahbod
fa3ebf845f
Simplify some more
6 years ago
Behdad Esfahbod
61f52231f4
[math] Shorten names a bit
6 years ago
Behdad Esfahbod
737efbe655
[ot-layout] Simplify GSUB/GPOS access
...
This concludes simplifying table access to face->table.XXXX.
6 years ago
Behdad Esfahbod
5e68cec179
[ot-layout] Simplify GDEF access
6 years ago
Behdad Esfahbod
33b006cc51
[ot-layout] Simplify some access
6 years ago
Behdad Esfahbod
db35409f0d
[ot-layout] Remove ensures
6 years ago
Behdad Esfahbod
9198de7b9b
[ot-font] Remove ensure
6 years ago
Behdad Esfahbod
ea6d9b661f
[ot-face] Remove a few ensures
6 years ago
Behdad Esfahbod
0fe7a745c9
[ot-face] Simplify more table access
6 years ago
Behdad Esfahbod
a35c92cbe7
[ot-face] Simplify table access
...
Yoohoo!
6 years ago
Behdad Esfahbod
914b595f25
[ot-face] Include hb-ot-face directly in hb_face_t
...
Simplifying access coming next.
6 years ago
Behdad Esfahbod
56ba998cdd
[cmap] Push get_nominal_glyphs down into cmap accelerator
6 years ago
Behdad Esfahbod
36d85dce25
[cmap] Use hb_nonnullptr_t
6 years ago
Behdad Esfahbod
8be74d8553
2.1.1
6 years ago
Behdad Esfahbod
6482fda519
[fuzzing] Fuzz glyph-id etc in test-ot-face
6 years ago
Behdad Esfahbod
252632c477
[uniscribe] Fix use of deprecated API
6 years ago
Behdad Esfahbod
bb380ec183
[cmap] Make null accelerator safe
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1146
6 years ago