From 9c43707f40ec5af8063564401cdef4c7b5de3af5 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 22 Apr 2018 20:34:00 +0530 Subject: [PATCH] Make the hinting defaults zero when missing --- kitty/freetype.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kitty/freetype.c b/kitty/freetype.c index 38337ddf5..6197b45df 100644 --- a/kitty/freetype.c +++ b/kitty/freetype.c @@ -227,8 +227,8 @@ face_from_descriptor(PyObject *descriptor) { long hint_style; D(path, PyUnicode_AsUTF8, false, ""); D(index, PyLong_AsLong, true, 0); - D(hinting, PyObject_IsTrue, true, 1); - D(hint_style, PyLong_AsLong, true, 1); + D(hinting, PyObject_IsTrue, true, 0); + D(hint_style, PyLong_AsLong, true, 0); #undef D Face *self = (Face *)Face_Type.tp_alloc(&Face_Type, 0); if (self != NULL) {