diff --git a/test.py b/test.py deleted file mode 100644 index be213a4..0000000 --- a/test.py +++ /dev/null @@ -1,15 +0,0 @@ -import os - -from reportlab.pdfbase import pdfmetrics -from reportlab.pdfbase.ttfonts import TTFont - -from chordsheet.document import Document, Style -from chordsheet.render import Renderer - -pdfmetrics.registerFont(TTFont('FreeSans', os.path.join('fonts', 'FreeSans.ttf'))) - -doc = Document.newFromXML('examples/test.xml') -style = Style(unitWidth=10) -ren = Renderer(doc, style) - -ren.savePDF('/Users/ivan/Desktop/test.pdf') \ No newline at end of file diff --git a/version.rc.template b/version.rc.template index ddefa4d..885e4e8 100644 --- a/version.rc.template +++ b/version.rc.template @@ -31,12 +31,12 @@ StringFileInfo( u'040904B0', [StringStruct(u'CompanyName', u'Ivan Holmes'), StringStruct(u'FileDescription', u'%APPNAME%'), - StringStruct(u'FileVersion', %VERSION%), + StringStruct(u'FileVersion', u'%VERSION%'), StringStruct(u'InternalName', u'%APPNAME%'), StringStruct(u'LegalCopyright', u'Copyright (c) Ivan Holmes, 2020. Some rights reserved.'), StringStruct(u'OriginalFilename', u'chordsheet.exe'), StringStruct(u'ProductName', u'%APPNAME%'), - StringStruct(u'ProductVersion', %VERSION%)]) + StringStruct(u'ProductVersion', u'%VERSION%')]) ]), VarFileInfo([VarStruct(u'Translation', [1033, 1200])]) ]