Behdad Esfahbod
e1a2354220
[atomic] More
6 years ago
Behdad Esfahbod
f1f4b45ac3
Fix lazy_loader fini()
...
Was creating object even if wasn't there.
6 years ago
Behdad Esfahbod
1f7380944d
[atomic] Add hb_atomic_ptr_t<> and port all uses
...
Found and fixed a couple bugs.
Found a couple multithreading issues. Marked them with "XXX-MT-bug".
6 years ago
Behdad Esfahbod
6e42f4c53f
[atomic] Remove hb_atomic_int_impl_t now that it's always int
6 years ago
Behdad Esfahbod
1227a9e5a5
[atomic] Unify typedef
...
Removes volatile from fallback implementation. That was handwavy
anyway.
6 years ago
Behdad Esfahbod
5cd1888c9d
[atomic] Change Mac atomic int type to int
...
If ever int is not 32bit, we'll fix this...
6 years ago
Behdad Esfahbod
e1de86eac1
[atomic] Change Windows atomic int type to int
6 years ago
Behdad Esfahbod
aee2d10b2b
[atomic] Change Solaris atomic int to signed
6 years ago
Behdad Esfahbod
b6fdcf4f8b
1.8.7
6 years ago
Behdad Esfahbod
51ffc3e65a
Fix previous commit to use atomic operations
6 years ago
Behdad Esfahbod
883957688c
Fix assertion failure
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1476334
6 years ago
Behdad Esfahbod
e49a38b20e
1.8.6
6 years ago
Behdad Esfahbod
b0ff79acd8
Add +hb_font_get_glyph_advances_for_direction
...
New API:
+hb_font_get_glyph_advances_for_direction
6 years ago
Behdad Esfahbod
28e2f467e1
Actually add hb_font_get_glyph_[hv]_advances
...
New API:
+hb_font_get_glyph_h_advances
+hb_font_get_glyph_v_advances
6 years ago
Behdad Esfahbod
996775191a
Minor
6 years ago
Behdad Esfahbod
3d7c555a19
Remove get_advances_nil and alias it to get_advances_default
6 years ago
Behdad Esfahbod
66920a6bac
[iter] Make operator bool explicit
...
We would need to write:
for (Iter<T> it (...); bool (t); t++)
instead of:
for (Iter<T> it (...); t; t++)
But I think it's an improvement in code readability in the long term.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1127
6 years ago
Behdad Esfahbod
79e21984b1
Add batch advance width callback function
...
New API:
+hb_font_funcs_set_glyph_h_advances_func
+hb_font_funcs_set_glyph_v_advances_func
+hb_font_get_glyph_h_advances
+hb_font_get_glyph_h_advances_func_t
+hb_font_get_glyph_v_advances
+hb_font_get_glyph_v_advances_func_t
6 years ago
Koji Ishii
9533364cc3
batchwidth
6 years ago
Behdad Esfahbod
b912fbea17
Remove most uses of direct comparison to Null objects
6 years ago
Behdad Esfahbod
3506672ce9
Port _nil objects to Null() machinery
...
Finally, unified!
6 years ago
Behdad Esfahbod
1abd427acf
[BASE] Rename horzi/vert to h/v
6 years ago
Behdad Esfahbod
da48aca1be
[BASE] Misc fixes
...
The code was badly broken. In better shape now, but still, needs
a full review before ever working.
6 years ago
Behdad Esfahbod
f9cfa5cb0e
Change null-pool specialization to min_size again
6 years ago
Behdad Esfahbod
25147ff808
Move Null system to hb-null.hh
6 years ago
Behdad Esfahbod
f800368df3
Remove unused macros
6 years ago
Behdad Esfahbod
19e0091299
Minor
6 years ago
Behdad Esfahbod
37be774af9
Minor
6 years ago
Behdad Esfahbod
e1acff806b
Move hb_vector_t to hb-vector-private.hh
6 years ago
Behdad Esfahbod
be336dadc0
Move some more code around
6 years ago
Behdad Esfahbod
92806ee055
Move null data definitions to hb-static.cc
...
Also remove " " null data for Tag. Just use zeroes.
6 years ago
Behdad Esfahbod
1b4d5a2402
Minor
6 years ago
Behdad Esfahbod
7df7963b46
Make lazy loader deal with OOM
6 years ago
Behdad Esfahbod
30ff8ac865
Rename
6 years ago
Behdad Esfahbod
85ba4a190f
[ot] Comment
6 years ago
Behdad Esfahbod
07afc1a213
[ot] Add misc tables to tables_t
...
Most unused.
6 years ago
Behdad Esfahbod
74b4df2cde
[ot] Move GDEF into tables_t
6 years ago
Behdad Esfahbod
0271c7ab3b
[ot] Move GSUB/GPOS into tables_t
6 years ago
Behdad Esfahbod
f73d2775cf
[ot] More shuffling
...
Misc. table loading now properly automated.
6 years ago
Behdad Esfahbod
52fbd23d86
[ot] Minor
6 years ago
Behdad Esfahbod
6a0a298aab
[ot] Move code around
6 years ago
Behdad Esfahbod
5e718a751e
[ot] Use switch for checking for blacklisted GDEF tables
...
Faster / more compact code.
6 years ago
Behdad Esfahbod
b5cdf5280d
[ot] In GDEF blacklisting logic, remove the glyph index check for Times
...
Just blacklist based on table sizes like we do for other fonts.
6 years ago
Behdad Esfahbod
c988b11999
Move code around
6 years ago
Behdad Esfahbod
574b37e933
Minor
6 years ago
Behdad Esfahbod
d4d1bf8177
Fix for recent rename
6 years ago
Behdad Esfahbod
91126aa11a
[uniscribe] Update for recent changes
6 years ago
Behdad Esfahbod
66952ec47b
Remove unused table reference
6 years ago
Behdad Esfahbod
443de26fa5
Minor
6 years ago
Behdad Esfahbod
ee35af738b
Make lazy-loader safe for nil objectification
6 years ago