Skip to content

Soft hyphen not visible #12

@mbertucci47

Description

@mbertucci47

The soft hyphen (U+00AD) in the Inria fonts (both serif and sans) is not visible. This is relevant for tagged PDF, see the discussion in latex3/tagging-project#967. Here's a LaTeX example showing the issue (compile with lualatex). Note that "never-ending" is explicitly hyphenated in the dummy text, which is why the hyphen appears there.

\DocumentMetadata
  {
    lang=en-US,
    pdfstandard=ua-2,
    tagging=on,
  }
\documentclass{article}

\usepackage{fontspec}
\usepackage{kantlipsum}
\setmainfont{Inria Serif}

\setlength\textwidth{6cm}

\begin{document}
\kant[1]
\end{document}

With Inria Serif

Image

With Latin Modern

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions