Skip to content

Hyphen copies to unclear bytes #6742

@ghost

Description

Description

Up to version 0.12.0 hyphen chars copied to a minus hyphen (char 45), since 0.13.0 it copies to some unclear byte sequence.

The following code creates a text with hyphens:

#set page(width: 2cm)
#set text(lang: "la", hyphenate: true)
#set par(justify: true)

#lorem(10)

Google Chrome and Adobe Reader could copy the text without hyphens up to 0.12.0, now Chrome copies to some ESC char and Adobe Reader to some other unclear char.

Partly related.

Reproduction URL

No response

Operating system

Windows

Typst version

  • I am using the latest version of Typst

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpdfRelated to PDF export or PDF embedding.textRelated to the text category, which is all about text handling, shaping, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions