Check if font is installed
(font)
| 130 | |
| 131 | |
| 132 | def font_is_installed(font): |
| 133 | """Check if font is installed""" |
| 134 | return [fam for fam in QtGui.QFontDatabase().families() |
| 135 | if str(fam) == font] |
| 136 | |
| 137 | |
| 138 | def tuple_to_qfont(tup): |
no outgoing calls
no test coverage detected
searching dependent graphs…