From Dmitry Shachnev, 9 Months ago, written in Plain Text.
This paste will explode in 1 Month.
This paste is a reply to fonttest.py from The Compiler
- view diff
Embed
  1. > font2 = QFont()
  2. > font2.setStyleHint(QFont.TypeWriter)
  3. > fam2 = font2.defaultFamily()
  4. > font2.setFamily(fam1)
  5.  
  6. This should be probably fam2 instead of fam1.