mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-26 18:22:09 +02:00
...
This commit is contained in:
@@ -433,6 +433,10 @@ specialize_font_descriptor(PyObject *base_descriptor, FONTS_DATA_HANDLE fg) {
|
|||||||
if (axes) {
|
if (axes) {
|
||||||
if (PyDict_SetItemString(ans, "axes", axes) != 0) return NULL;
|
if (PyDict_SetItemString(ans, "axes", axes) != 0) return NULL;
|
||||||
}
|
}
|
||||||
|
PyObject *features = PyDict_GetItemString(base_descriptor, "features");
|
||||||
|
if (features) {
|
||||||
|
if (PyDict_SetItemString(ans, "features", features) != 0) return NULL;
|
||||||
|
}
|
||||||
Py_INCREF(ans);
|
Py_INCREF(ans);
|
||||||
return ans;
|
return ans;
|
||||||
end:
|
end:
|
||||||
|
|||||||
Reference in New Issue
Block a user