Skip to content

protrusion of the soft hyphen #56

@u-fischer

Description

@u-fischer

Description

The tagging code replaces with luatex hyphens from hyphenation by soft hyphens. This disables the protrusion of these hyphens.

It would be nice if microtype could add for open type fonts also protrusion values for the softhyphen.

Minimal example demonstrating the issue

\DocumentMetadata{tagging=on}
\documentclass{article}
\usepackage[ngerman]{babel}
\usepackage{kantlipsum}
\usepackage{microtype}
\textwidth=5cm

%\LoadMicrotypeFile{LatinModernRoman}
%\SetProtrusion[load=LMR-default]
%  {encoding =TU,family= Latin Modern Roman } 
%  {"AD= {400,500}}

\begin{document}
%no protrusion
\kant[1][1]

\tagpdfsetup{activate/softhyphen=false}
%protrusion
\kant[1][1]
\end{document}

output without the manual setting

Image

output with the manual setting

Image

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions