Problems with FontQA
Options

Ramiro Espinoza
Posts: 839
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.
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
-
I did not look at the code but from the error message it looks like you need to change this line (127 in fontQA_Hints.py):
myRange = xrange(myBBox.ll.x, myBBox.ur.x + 1)
To this:myRange = xrange(int(myBBox.ll.x), int(myBBox.ur.x + 1))
0 -
Great! I had to correct also the line 102 to:
myRange = xrange(int(myBBox.ll.y), int(myBBox.ur.y + 1))
And now it works. Lots of thanks!0 -
Thanks, I included this in my version
https://github.com/davelab6/fontqa/commit/b7ad5fbb89fb27db4b97b3e17e81693a417455550
Categories
- All Categories
- 46 Introductions
- 3.8K Typeface Design
- 476 Type Design Critiques
- 555 Type Design Software
- 1.1K Type Design Technique & Theory
- 640 Type Business
- 831 Font Technology
- 29 Punchcutting
- 508 Typography
- 120 Type Education
- 313 Type History
- 75 Type Resources
- 109 Lettering and Calligraphy
- 30 Lettering Critiques
- 79 Lettering Technique & Theory
- 533 Announcements
- 86 Events
- 110 Job Postings
- 167 Type Releases
- 169 Miscellaneous News
- 274 About TypeDrawers
- 53 TypeDrawers Announcements
- 119 Suggestions and Bug Reports