Closed BenjaminGalliot closed 11 months ago
With the following font setup (just to adapt the mwe to my configuration and to use Harfbuzz):
\babelfont[french]{rm}{Liberation Serif}
\babelfont[tibetan]{rm}[Renderer=Harfbuzz]{NotoSerifTibetan-Regular.ttf}
I’m getting with luatex:
And with xetex (note the tshegs are slightly displaced to the left and spacing with shads is irregular):
Also— Have a look at https://latex3.github.io/babel/news/whats-new-in-babel-3.81.html.
At first, it didn't change anything with what you said, which allowed me to see that I was still using Texlive 2021 (due to other tests). With Texlive 2023, it works fine (which is consistent with your last link, which dates from the end of 2022), and [Renderer=Harfbuzz]
option changes indeed very finely some details that I do not notice with the eye.
Thank you!
Glad it helped. If you need further help, just continue this thread.
I have many problems with line breaks (and justification) for Tibetan, especially with LuaLaTeX but not only...
From what I've noticed:
\XeTeXlinebreaklocale
has been activated, same (but lines are not justified);My goal is to keep LuaLaTeX, but I have no clue how to go about it...
MWE:
Have I missed something?
Edit 1:
For information, with Polyglossia, it works with both engines (without using CJK language nor the
XeTeXlinebreaklocale
command beforehand), but the management of justified lines (and spaces) is much less pretty with LuaLaTeX than with XeLaTeX.MWE (Polyglossia):