-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
Small capitals with macron #303
Comments
Try the following for comparison:
output with |
Currently smallcaps cover only a small subset of Latin glyphs, and it is quite some work to extend them. Contributions are welcome, but I won’t be able to work on it, sorry. A workaround would be forcing the decomposed form of the characters using CGJ: \documentclass{memoir}
\usepackage{fontspec}\setmainfont{LibertinusSerif-Regular.otf}
\usepackage{unicode-math}\setmathfont{LibertinusMath-Regular.otf}
\usepackage{newunicodechar}
\def\=#1{#1^^^34f^^^304}
\newunicodechar{ā}{\=a}
\newunicodechar{ē}{\=e}
\newunicodechar{ī}{\=i}
\newunicodechar{ō}{\=o}
\newunicodechar{ū}{\=u}
\begin{document}
\textsc{AĀ aā EĒ eē IĪ iī OŌ oō UŪ uū} (does not work)
AĀ aā EĒ eē IĪ iī OŌ oō UŪ uū (for comparison)
\={\textsc{a}}\={\textsc{e}}\={\textsc{i}}\={\textsc{o}}\={\textsc{u}} \textsc{\=a\=e\=i\=o\=u} (does not work)
\textsc L$\bar{\textsc{u}}$\textsc t$\bar{\textsc{e}}$\textsc x (dirty math trick)
\textsc{Lutex}
\end{document} |
After posting the above comment, I realized I can do the decomposition in the font, so this is done now and the above workaround is no longer needed. |
Lower case small capitals with macron of vowels are replaced by lower case regular letters with macron. I have tested some but not all fonts of the typeface but I assume that this applies to all fonts of Libertinus. I have not checked all diacritics but I have only found this issue with macrons.
Therefore, I kindly would like to get my mistake pointed out or an addition of lower case small capitals to all fonts of the Libertinus typeface.
Compile
with LuaLaTeX or XeLaTeX to get
I use TeX Live 2019 (frozen) and I have manually installed Libertinus 6.11.
Thank you very much for this beautiful and versatile typeface.
The text was updated successfully, but these errors were encountered: