summaryrefslogtreecommitdiff
path: root/src/hb-ot-layout-gpos-table.hh
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2018-01-10 04:33:08 +0100
committerBehdad Esfahbod <behdad@behdad.org>2018-01-10 04:44:33 +0100
commit7cdd6ab068500aa18de9a856bfbe730d0aac9a27 (patch)
tree4de4c9f4fd74fbad7f78ee8844342e4e9fcb951b /src/hb-ot-layout-gpos-table.hh
parent6dc6f0c9f844a006b4518ce789e319fcef6e9680 (diff)
Round, instead of floor, when applying variations
Hoping this would fix remaining text-rendering-tests failures, but so far no luck.
Diffstat (limited to 'src/hb-ot-layout-gpos-table.hh')
-rw-r--r--src/hb-ot-layout-gpos-table.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hb-ot-layout-gpos-table.hh b/src/hb-ot-layout-gpos-table.hh
index 743767a5..c8ea6e05 100644
--- a/src/hb-ot-layout-gpos-table.hh
+++ b/src/hb-ot-layout-gpos-table.hh
@@ -333,7 +333,7 @@ struct Anchor
case 1: u.format1.get_anchor (c, glyph_id, x, y); return;
case 2: u.format2.get_anchor (c, glyph_id, x, y); return;
case 3: u.format3.get_anchor (c, glyph_id, x, y); return;
- default: return;
+ default: return;
}
}