diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2016-02-25 07:41:15 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2016-02-25 07:41:15 +0000 |
commit | 05633a29317919bff9180118744fafb7aa0e5404 (patch) | |
tree | 1a1a08e2951ba6e6b238b942a2682a3383596ade /Build/source/libs/harfbuzz/harfbuzz-src/src/hb-ot-shape-fallback.cc | |
parent | 0889c64818975e24c7ccd212778597a8f1739d9f (diff) |
harfbuzz 1.2.3
git-svn-id: svn://tug.org/texlive/trunk@39855 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/harfbuzz/harfbuzz-src/src/hb-ot-shape-fallback.cc')
-rw-r--r-- | Build/source/libs/harfbuzz/harfbuzz-src/src/hb-ot-shape-fallback.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/libs/harfbuzz/harfbuzz-src/src/hb-ot-shape-fallback.cc b/Build/source/libs/harfbuzz/harfbuzz-src/src/hb-ot-shape-fallback.cc index c9cf737f486..ea8312b223b 100644 --- a/Build/source/libs/harfbuzz/harfbuzz-src/src/hb-ot-shape-fallback.cc +++ b/Build/source/libs/harfbuzz/harfbuzz-src/src/hb-ot-shape-fallback.cc @@ -526,7 +526,7 @@ _hb_ot_shape_fallback_spaces (const hb_ot_shape_plan_t *plan, case t::SPACE_FIGURE: for (char u = '0'; u <= '9'; u++) - if (font->get_glyph (u, 0, &glyph)) + if (font->get_nominal_glyph (u, &glyph)) { pos[i].x_advance = font->get_glyph_h_advance (glyph); break; @@ -534,9 +534,9 @@ _hb_ot_shape_fallback_spaces (const hb_ot_shape_plan_t *plan, break; case t::SPACE_PUNCTUATION: - if (font->get_glyph ('.', 0, &glyph)) + if (font->get_nominal_glyph ('.', &glyph)) pos[i].x_advance = font->get_glyph_h_advance (glyph); - else if (font->get_glyph (',', 0, &glyph)) + else if (font->get_nominal_glyph (',', &glyph)) pos[i].x_advance = font->get_glyph_h_advance (glyph); break; |