Make the showcase output a little nicer

This commit is contained in:
Kovid Goyal
2017-11-09 16:55:44 +05:30
parent c8b7b49d56
commit ce0e5a893f
4 changed files with 51 additions and 4 deletions
+6
View File
@@ -308,6 +308,12 @@ repr(Face *self) {
);
}
static PyObject*
display_name(Face *self) {
#define R(x) if (self->x) { Py_INCREF(self->x); return self->x; }
R(full_name); R(postscript_name); R(family_name); R(path);
#undef R
}
// Boilerplate {{{