diff musiccutter.py @ 14:43b5d8d62df6

Just stroke the note names to make things faster.
author Daniel O'Connor <darius@dons.net.au>
date Wed, 13 Apr 2016 08:43:54 +0930
parents 5f4c21bb5140
children 20337b22977d
line wrap: on
line diff
--- a/musiccutter.py	Tue Apr 12 21:54:30 2016 +0930
+++ b/musiccutter.py	Wed Apr 13 08:43:54 2016 +0930
@@ -111,6 +111,7 @@
                 pdf.line(0, ofs, self.pagewidth * mm, ofs)
                 # Note name
                 tobj = pdf.beginText()
+                tobj.setTextRenderMode(1)
                 tobj.setTextOrigin(0 * mm, ofs + 1 * mm)
                 tobj.setFont(self.fontname, self.fontsize)
                 tobj.setFillColor(ENGRAVE_COLOUR)