enthought / pyface

pyface: traits-capable windowing framework
Other
106 stars 55 forks source link

Fix issues with converting output of QFontDialog to a Font #1065

Closed corranwebster closed 2 years ago

corranwebster commented 2 years ago

This fixes Qt font conversion functions so that the family() of a QFont is always included in the families provided to the Pyface Font. It also handles the case where the stretch is not specified; since there is no analogue of this, it is set to the default value of 100.

Fixes #1062.