Hi there,
I guess if there is someone out is still using FontQA. Well, I used to use it a lot until I installed Maverick. Now, despite all my Python scripts are properly working FontQA can't check hinting anymore.
Traceback:
File "/Library/Application Support/FontLab/Studio 5/Macros/system/modules/fontQAlib.py", line 320, in _tryTest
result = self._testFont(TheFont)
File "/Library/Application Support/FontLab/Studio 5/Macros/system/modules/fontQA_Hints.py", line 127, in _testFont
myRange = xrange(myBBox.ll.x, myBBox.ur.x + 1)
TypeError: integer argument expected, got float
Have anyone encountered the same problem? Do you have a hint on how to solve it?
(Note: Eigi is not answering my messages)
TIA.
0
Comments
myRange = xrange(myBBox.ll.x, myBBox.ur.x + 1)
To this:
myRange = xrange(int(myBBox.ll.x), int(myBBox.ur.x + 1))
myRange = xrange(int(myBBox.ll.y), int(myBBox.ur.y + 1))
And now it works. Lots of thanks!
https://github.com/davelab6/fontqa/commit/b7ad5fbb89fb27db4b97b3e17e81693a41745555