Skip to content

Support text wrapping for CJK characters #989

Description

@jamesthomasgriffin

Pass:text and Font:getLines do not wrap CJK characters, just treating text as long words.

Punctuation symbols which contain an implicit space don't break words either.

My understanding of intended behaviour is that text should wrap after characters, unless it has been prohibited (e.g. no punctuation at the start of a line) and that information is contained in the font file.

I took a sample font and sample text from Google Fonts.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions