Japanese option text gets cut off in Rhino 8 custom command

I’m developing a custom command for Rhino 8 and have encountered an issue when displaying Japanese text in the command-line options. The option labels appear to be cut off or truncated partway, and the full text does not show in the command-line interface.

This seems to occur when using Japanese (full-width) characters. I’m using GetOption() to define the options.

I haven’t confirmed whether this happens with English text or not, but it appears that the issue may be related to how Japanese characters are rendered or measured in the UI.

Has anyone else experienced this issue?
Is there any known reason for this behavior, or a way to prevent the truncation when using Japanese?

Any insight or workaround would be greatly appreciated.
Thank you!

Hi @mttokyo,

Do you run Rhino in Japanese or English?

When running Rhino in Japanese, do the command line options presented by native commands appear correctly?

– Dale

Sorry for the late reply.

I was running Rhino in Japanese, and after switching the font, the text started displaying correctly. Fonts like Arial seem to work well.

Thanks!