diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2007-10-15 19:30:02 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2007-10-15 19:30:02 +0000 |
commit | dbfb45f099464dc1eb44c23d8a0928e408f2d259 (patch) | |
tree | 12fcc05e7cfabf49b4e128697415c4f930d67069 /modules | |
parent | 2d66e2fe68468ca3a5033b715f4daff237b9dfd3 (diff) | |
download | pango-dbfb45f099464dc1eb44c23d8a0928e408f2d259.tar.gz |
Bug 486932 – Apply vkrn GPOS feature in vertical writing
2007-10-15 Behdad Esfahbod <behdad@gnome.org>
Bug 486932 – Apply vkrn GPOS feature in vertical writing
* modules/basic/basic-fc.c (basic_engine_shape): Apply vkrn
GPOS feature in vertical writing mode. Previously we had
no GPOS feature for vertical mode.
svn path=/trunk/; revision=2445
Diffstat (limited to 'modules')
-rw-r--r-- | modules/basic/basic-fc.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/modules/basic/basic-fc.c b/modules/basic/basic-fc.c index f01b28d4..7b2c2e78 100644 --- a/modules/basic/basic-fc.c +++ b/modules/basic/basic-fc.c @@ -114,6 +114,11 @@ static const PangoOTFeatureMap vertical_gsub_features[] = {"vert", PANGO_OT_ALL_GLYPHS} }; +static const PangoOTFeatureMap vertical_gpos_features[] = +{ + {"vkrn", PANGO_OT_ALL_GLYPHS} +}; + static void basic_engine_shape (PangoEngineShape *engine, PangoFont *font, @@ -186,8 +191,8 @@ basic_engine_shape (PangoEngineShape *engine, { desc.n_static_gsub_features = G_N_ELEMENTS (vertical_gsub_features); desc.static_gsub_features = vertical_gsub_features; - desc.n_static_gpos_features = 0; - desc.static_gpos_features = NULL; + desc.n_static_gpos_features = G_N_ELEMENTS (vertical_gpos_features); + desc.static_gpos_features = vertical_gpos_features; } else { |