Five digit unicode values ?

RoboFont Forums Help / General Five digit unicode values ?

This topic contains 1 reply, has 2 voices, and was last updated by  frederik 8 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4183

    jo
    Participant

    I “accidentally” placed the symbol for a musical note on the glyph u1D160 (unicode: 1D160) of the “Musical Symbols” unicode-set instead of the glyph “musicalnote” (unicode: 266A).
    Now that is a five digit unicode value.
    If selected in the font collection the space center does not open.

    The output window says:
    Traceback (most recent call last):
    File “lib/doodleDocument.pyc”, line 635, in openSpaceCenter_
    File “lib/doodleSpaceWindow.pyc”, line 48, in OpenSpaceCenterDocument
    File “lib/doodleSpaceWindow.pyc”, line 73, in __init__
    File “lib/UI/spaceCenter/__init__.pyc”, line 125, in __init__
    File “lib/UI/spaceCenter/__init__.pyc”, line 291, in _glyphNameToString
    ValueError: unichr() arg not in range(0x10000) (narrow Python build)
    Traceback (most recent call last):
    File “lib/doodleDelegate.pyc”, line 81, in sendEvent_
    File “lib/doodleDocument.pyc”, line 635, in openSpaceCenter_
    File “lib/doodleSpaceWindow.pyc”, line 48, in OpenSpaceCenterDocument
    File “lib/doodleSpaceWindow.pyc”, line 73, in __init__
    File “lib/UI/spaceCenter/__init__.pyc”, line 125, in __init__
    File “lib/UI/spaceCenter/__init__.pyc”, line 291, in _glyphNameToString
    ValueError: unichr() arg not in range(0x10000) (narrow Python build)

    Is Python not able to handle five digit unicode values?

    #4185

    frederik
    Keymaster

    yeah, python and unicode :)

    In the next release RoboFont will check if an unicode value is bigger then 0x10000 (65536) to open a Space Center.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.