You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem here is Unicode normalization which reorders marks in a way the font doesn't expect. The manual of the font (https://www.sbl-site.org/Fonts/SBLHebrewUserManual1.5x.pdf) recommends to disable normalization which can be done with the -normalize font feature:
\documentclass{article}
\parindent0pt
\usepackage{fontspec}
\setmainfont[Script=Hebrew,RawFeature=-normalize]{SBL_Hbrw.ttf}
\begin{document}
{\textdir TRT בְּשְׂ}
\end{document}
As Jonathan mentioned in the related discussion for HarfBuzz a decade ago this is something which should be resolved on the font level, but we can consider doing similar adjustments to the ones done by HarfBuzz.
From latex3/babel#313, by @LupinoTech. A new MWE without babel is:
The following MEW yields different output with TeXlive (2021 or earlier) versus newer TeXlive (2022 and later, including a freshly updated one):
The used font file
SBL_Hbrw.ttf
can be found here.Older TeXLive renders the code as
while newer TeXLive renders
Note the positions of the "dots" above
ש
and insideב
.If it helps, here are the log files for both tex runs:
tl2021.log
newest.log
The text was updated successfully, but these errors were encountered: