Today's Topics:
1. Type error in ttfautohint (Mike Sapsard)
----------------------------------------------------------------------
Message: 1
Date: Thu, 26 Jan 2023 13:53:59 +0000
Subject: Type error in ttfautohint
Message-ID:
Content-Type: text/plain; charset="utf-8"
Using Pilcrow in Linux Mint 21.1 with Python 3.10.6
File "/home/mike/pilcrow-main/DefineSources.py", line 121, in
initializePage
self.splitter.setSizes([width * 2/3, width * 1/3])
TypeError: index 0 has type 'float' but 'int' is expected
Fixed by adding int() typecasts as below:
self.splitter.setSizes([int(width * 2/3), int(width * 1/3)])
Regards Mike Sapsard