Manully select font face

This commit is contained in:
Florian Festi 2017-09-19 22:53:27 +02:00
parent 9dbc8fd98b
commit 64c980817b
1 changed files with 1 additions and 0 deletions

View File

@ -253,6 +253,7 @@ class Boxes:
self.hexHolesSettings = (5, 3, 'circle') # r, dist, style self.hexHolesSettings = (5, 3, 'circle') # r, dist, style
self.surface, self.ctx = self.formats.getSurface(self.format, self.output) self.surface, self.ctx = self.formats.getSurface(self.format, self.output)
self.ctx.set_line_width(2 * self.burn) self.ctx.set_line_width(2 * self.burn)
self.ctx.select_font_face("sans-serif")
self._buildObjects() self._buildObjects()
if self.reference: if self.reference:
self.move(10, 10, "up", before=True) self.move(10, 10, "up", before=True)