From 1d6eb7b2c8d3a8a1beb5a7b6664830785d8e9c9e Mon Sep 17 00:00:00 2001 From: minjaesong Date: Tue, 24 Feb 2026 07:25:55 +0900 Subject: [PATCH] otf wip5 --- OTFbuild/opentype_features.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OTFbuild/opentype_features.py b/OTFbuild/opentype_features.py index d1c9bc8..d947f64 100644 --- a/OTFbuild/opentype_features.py +++ b/OTFbuild/opentype_features.py @@ -789,7 +789,7 @@ def _generate_mark(glyphs, has): for mark_type, mark_list in sorted(mark_classes.items()): class_name = f"@mark_type{mark_type}" for cp, g in mark_list: - mark_x = (g.props.width * SC.SCALE) // 2 + mark_x = ((g.props.width + 1) // 2) * SC.SCALE mark_y = SC.ASCENT lines.append( f"markClass {glyph_name(cp)} {class_name};"