8000 Crash due to unsupported operand type(s) for /: 'float' and 'NoneType' · Issue #707 · trufont/trufont · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Crash due to unsupported operand type(s) for /: 'float' and 'NoneType' #707
Open
@joshuakraemer

Description

@joshuakraemer

If I try to open the attached font (boxes.tar.gz) with TruFont, it crashes with the following message:

Traceback (most recent call last):
  File "/home/adrien/trufont/src/defconqt/Lib/defconQt/controls/glyphCellView.py", line 274, in paintEvent
  File "/home/adrien/trufont/src/defconqt/Lib/defconQt/controls/glyphCellView.py", line 87, in _getCurrentRepresentation
  File "/home/adrien/trufont/src/defcon/Lib/defcon/objects/base.py", line 337, in getRepresentation
  File "/home/adrien/trufont/Lib/trufont/representationFactories/glyphCellFactory.py", line 17, in TFGlyphCellFactory
  File "/home/adrien/trufont/Lib/trufont/representationFactories/glyphCellFactory.py", line 28, in __init__
  File "/home/adrien/trufont/src/defconqt/Lib/defconQt/representationFactories/glyphCellFactory.py", line 75, in __init__
TypeError: unsupported operand type(s) for /: 'float' and 'NoneType'

It is a font containing box drawing characters generated by Adobe's box drawing script (http://adobe-type-tools.github.io/box-drawing/) with default settings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0