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

Since version 0.044: U+0332 “Combining Low Line” typeset wrong after math alphanumerics by XeLaTeX and LuaLaTeX #137

Open
anderslundstedt opened this issue Mar 25, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@anderslundstedt
Copy link

\documentclass{article}
\usepackage{fontspec}
\setmainfont[Path = ./,]{JuliaMono-Regular}
\begin{document}
n̲ = 𝘮̲

x̲ = 𝛼̲
\end{document}

The above saved as test.tex and compiled with xelatex test.tex, or lualatex test.tex produces my intended output with version 0.043 and also with some earlier versions I tested:
Screen Shot 2022-03-25 at 06 16 29

With version 0.044:
Screen Shot 2022-03-25 at 06 16 43

The input for , 𝘮̲, , 𝛼̲ was, respectively:

  • n + u+0332
  • u+1D62E + u+0332
  • x + u+0332
  • u+1D6FC + u+0332

u+0332 is “Combining Low Line“:

https://www.compart.com/en/unicode/U+0332

Everything looks good in TextEdit:
Screen Shot 2022-03-25 at 06 35 46

So perhaps a problem with XeLaTex and LuaLaTeX, or with fontspec?

@stale
Copy link

stale bot commented Apr 2, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!

@stale stale bot added the stale label Apr 2, 2022
@cormullion cormullion removed the stale label Apr 2, 2022
@stale
Copy link

stale bot commented Apr 10, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!

@stale stale bot added the stale label Apr 10, 2022
@cormullion cormullion added bug Something isn't working and removed stale labels Apr 10, 2022
@anderslundstedt
Copy link
Author

I have debugged this a bit, and have a workaround (that at least worked for version 0.045). I will post more info when I have time, but on the off chance that someone else wants to look into this, let me know and I will do my best to find time to share my findings.

@anderslundstedt
Copy link
Author

\documentclass{article}
\usepackage{fontspec}
\setmainfont[Path = ./,]{JuliaMono-Regular}
\begin{document}
n̲ = 𝘮̲

x̲ = 𝛼̲
\end{document}

Just tested this MWE with the latest version (0.046) and now it is typeset correctly. During my debugging I discovered some related issues with glyphs for characters from the Combining Diacritical Marks block, so perhaps keep this issue open until I have had time to revisit all my test cases?

Copy link

github-actions bot commented Dec 7, 2023

This issue has been open for 30 days with no activity.

@github-actions github-actions bot added stale and removed stale labels Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants