Announcements
Autodesk Community will be read-only between April 26 and April 27 as we complete essential maintenance. We will remove this banner once completed. Thanks for your understanding

Sketch Text Tool doesn't properly display Unicode symbols or Symbol fonts

markusbarnes
Advocate

Sketch Text Tool doesn't properly display Unicode symbols or Symbol fonts

markusbarnes
Advocate
Advocate

The Sketch Text Tool doesn't properly display Unicode or Symbol characters. If I copy a character from the  Font Book page on MacOS, for instance, it shows up as a question mark inside a diamond symbol even when I set it to the same font in the dialog. If I type a Unicode character using the key combination, it immediately starts outputting characters rather than pausing until the code is completely entered. Copying a single Unicode character from another program and pasting it into the dialog results in even stranger behavior, for instance:

 

  • U+23FB POWER SYMBOL (IEC 60417-5009 stand-by symbol, IEEE 1621 power symbol)

The symbol will show up as a box symbol in the dialog and as a "?" in the model. In other cases, the pasted symbols and their color and font attributes are copied in the dialog but a question mark appears in the model.

 

Some Unicode characters correctly appear in both the dialog and model such as "→". In other cases, the symbol only appears correctly if the correct font is used. There's one case, however, when the symbol doesn't show up at all such as"⎗", making it impossible to bring up the dialog box to change it unless you undo to a previous state.

 

This problem stems from using a 2D graphics engine, QT, that uses a least common denominator cross-platform approach. Unfortunately, MacOS doesn't make exposing its API simple.

 

0 Likes
Reply
229 Views
0 Replies
Replies (0)