Behdad Esfahbod
d6bdbbca30
[var] Remove HB_OT_TAG_fvar/avar
...
We're not going to define public macros for tags for tables.
There's little use to those and they are implementation detail.
8 years ago
Behdad Esfahbod
a11d9a0466
Minor
8 years ago
Behdad Esfahbod
7a860f656e
[var] Add macros for standard axes
8 years ago
Behdad Esfahbod
a484e237b1
[var] Implement 'avar' table mapping
...
Untested!
8 years ago
Behdad Esfahbod
a429090572
[var] Flesh out --variations documentation
8 years ago
Behdad Esfahbod
5ec96d30ca
[var] Adjust API in prep for 'avar' implementation
...
The 'avar' table does not allow random access to axis maps,
so change API to avoid quadratic-time implementation.
Removed -hb_ot_var_normalize_axis_value(), added
+hb_ot_var_normalize_variations() and
+hb_ot_var_normalize_coords() instead.
8 years ago
Behdad Esfahbod
8a577aaa0d
[var] Stub implementation of avar table
8 years ago
Behdad Esfahbod
7647a05a0b
Minor
8 years ago
Behdad Esfahbod
d2f249e745
Stub out doc comments for new symbols
8 years ago
Behdad Esfahbod
5dfd341f51
Minor
8 years ago
Behdad Esfahbod
825e40407d
[hb-ft] Remove use of variable-length array
...
Hopefully also fixes build failure on msvc.
8 years ago
Behdad Esfahbod
47ee34e847
[var] Hook up variations to FreeType face
...
hb-view correctly renders variations with ft font-funcs now.
hb-ot-font needs HVAR implementation.
8 years ago
Behdad Esfahbod
111f3e5517
[util] Add --variations
...
Is hooked up to the font, but not to FreeType, so raster doesn't show yet.
Documentation needs to be done.
8 years ago
Behdad Esfahbod
bb1e19268f
[var] Rename var_coord to variation
...
Looks much better.
8 years ago
Behdad Esfahbod
64fe92bf2d
[var] Remove use of variable-length arrays
8 years ago
Behdad Esfahbod
2491134b38
[var] Add hb_font_set_var_coords()
8 years ago
Behdad Esfahbod
113393efec
Remove a few unused includes
8 years ago
Behdad Esfahbod
2d40923ca9
Minor
8 years ago
Behdad Esfahbod
8b2a580470
[var] Add hb_font_set_var_coords_design()
8 years ago
Behdad Esfahbod
0dcc7b49a8
[var] Minor lifecycle adjustment
8 years ago
Behdad Esfahbod
bf0d3a665b
[var] Add hb_font_get_var_coords_normalized()
8 years ago
Behdad Esfahbod
b3c0714b4b
[var] Add hb_var_coord_t and parsing routines
8 years ago
Behdad Esfahbod
72364103bc
Move code around
8 years ago
Behdad Esfahbod
785982bf83
[var] Flesh out some more
8 years ago
Behdad Esfahbod
422c0c36c8
[var] Flesh out a bit
8 years ago
Behdad Esfahbod
b8376b1090
Minor
8 years ago
Behdad Esfahbod
f2e73d37e7
[var] Remove over-optimization
8 years ago
Behdad Esfahbod
469926cc45
[var] Change double to float in API
8 years ago
Behdad Esfahbod
55d42fd667
Start adding hb-ot-var.h and implementation
...
Supports enumerating variation axes, normalizing values, etc.
8 years ago
Behdad Esfahbod
272b511532
Minor
8 years ago
Behdad Esfahbod
a8a5e81a52
[test-ot-math] Add test with nil face/font
8 years ago
Behdad Esfahbod
331d07bd40
Minor
8 years ago
Behdad Esfahbod
b5ecf1bfa4
Fix warnings
8 years ago
Behdad Esfahbod
2f2ceee185
Minor
8 years ago
Khaled Hosny
2452543fdd
[ot] Fix automatic fraction for RTL scripts ( #405 )
...
The numbers for right-to-left scripts are processed also from right to
left, so the order of applying “numr” and “dnom” features should be
reversed in such case.
Fixes https://github.com/behdad/harfbuzz/issues/395
8 years ago
Sascha Brawer
1337428e4f
Update language tags to OpenType 1.8.1 ( #403 )
...
Resolves https://github.com/behdad/harfbuzz/issues/324
8 years ago
Behdad Esfahbod
784d1180de
Fix build with clang
8 years ago
Behdad Esfahbod
1f810daf16
Port math table to hb_lazy_table_loader_t
8 years ago
Behdad Esfahbod
ebbcc11122
Add hb_lazy_table_loader_t
8 years ago
Behdad Esfahbod
1af9d924a4
Move lazy-loader to more generic place
8 years ago
Behdad Esfahbod
ac274331c2
In lazy-loading, remember allocation failure
8 years ago
Behdad Esfahbod
29fb0cb727
Minor
8 years ago
Behdad Esfahbod
93ef684b9b
Rename hb-ot-layout-math-table.hh to hb-ot-math-table.hh
8 years ago
Behdad Esfahbod
3b5263b0e9
Typo
8 years ago
ebraminio
ebf927d3d4
Make UCDN default enabled ( fixes #389 ) ( #391 )
8 years ago
Behdad Esfahbod
00adf9c8a4
Minor
...
Should be enough to get -hangul.cc out of SOURCES in Firefox build:
https://dxr.mozilla.org/mozilla-central/source/gfx/harfbuzz/src/moz.build
No one else should care!
8 years ago
Behdad Esfahbod
7cf9952e7f
[USE] Remove non-canonical decompositions
...
We have had added this in Indic shaper to assist shaping these scripts.
In Universal Shaping Engine however, it is up to font designer to
decompose them. Hence moving them from Indic shaper to USE was
wrong.
Fixup for f6ba63b2e8
Part of fixing https://github.com/behdad/harfbuzz/issues/387
8 years ago
Khaled Hosny
b435c7c46a
[graphite] Stop creating unused gr_face
...
It is unused after previous commit, hb_graphite2_font_get_gr_font()
makes no sense now so deprecating it.
8 years ago
Khaled Hosny
1b00a3b048
[graphite] Fix shaping with varying font sizes
...
Shape using design units and scale the output.
See https://bugs.documentfoundation.org/show_bug.cgi?id=103403#c7
8 years ago
Behdad Esfahbod
af596a5655
1.4.1
8 years ago