Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to apply tracking to certain strings when using junicode #39

Closed
fr-peter opened this issue Aug 6, 2024 · 2 comments
Closed
Assignees
Labels
report elsewhere Not our fault

Comments

@fr-peter
Copy link

fr-peter commented Aug 6, 2024

Description

I am using junicodevf in the latest TeX Live distribution. When using small capitals, I have found that words containing the string "ectio" do not have the desired tracking applied. This only happens when the option Renderer=Harfbuzz is present in the fontspec command that sets the font (which is done by the junicodevf package). When the font is loaded without this option, all words receive the desired tracking.

The engine used is lualatex.

I brought the issue to the junicode github. It was suggested that it should be reported to microtype and luaotfload.

Minimal example demonstrating the issue

% !TEX TS-program = lualatex
\documentclass{article}
\usepackage{junicodevf}
% behaviour also happens when using the non-variable version. does not happen if either junicode package is not used.
\usepackage[tracking=true]{microtype}


\begin{document}
\scshape I found that the word “section” does not have proper tracking. After some testing, it's not just section, but any word with the string “ectio” in it will fail to have proper tracking.

electioneering deflection: in these examples, “lection” does not have proper tracking, but the other characters do.

Interestingly, putting a hyphen, en-dash, or em-dash immediately before or after the affected word will cause it to appear properly: section-electioneering---selection

\end{document}

Output

image

@fr-peter
Copy link
Author

fr-peter commented Aug 6, 2024

I’ve been told this is a luaotfload bug, so I’m closing this issue.

@fr-peter fr-peter closed this as completed Aug 6, 2024
@schlcht
Copy link
Owner

schlcht commented Aug 6, 2024

Fascinating... Looking forward to learning what causes this issue.

@schlcht schlcht added the report elsewhere Not our fault label Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
report elsewhere Not our fault
Projects
None yet
Development

No branches or pull requests

2 participants