Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b802d15

Browse files
committed
fix wrong numerical value for ft2font.VERTICAL
Signed-off-by: Thomas Hisch <[email protected]>
1 parent 3eb8653 commit b802d15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ft2font_wrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1665,7 +1665,7 @@ PyMODINIT_FUNC initft2font(void)
16651665
add_dict_int(d, "FIXED_WIDTH", FT_FACE_FLAG_FIXED_WIDTH) ||
16661666
add_dict_int(d, "SFNT", FT_FACE_FLAG_SFNT) ||
16671667
add_dict_int(d, "HORIZONTAL", FT_FACE_FLAG_HORIZONTAL) ||
1668-
add_dict_int(d, "VERTICAL", FT_FACE_FLAG_SCALABLE) ||
1668+
add_dict_int(d, "VERTICAL", FT_FACE_FLAG_VERTICAL) ||
16691669
add_dict_int(d, "KERNING", FT_FACE_FLAG_KERNING) ||
16701670
add_dict_int(d, "FAST_GLYPHS", FT_FACE_FLAG_FAST_GLYPHS) ||
16711671
add_dict_int(d, "MULTIPLE_MASTERS", FT_FACE_FLAG_MULTIPLE_MASTERS) ||

0 commit comments

Comments
 (0)