I had a look at different approaches discussed on SO, but they either don't apply to the Tibetan font (e.g. only CJK fonts) or they lower the whole line (not just the part inside the curly braces) or they involve a block which prevents automatic line breaks from working (like \raisebox
).
Any idea how I can lower the baseline of the Tibetan font (BabelStrone Tibetan) to make it align with the English text around it?
\documentclass{article}
\usepackage{polyglossia}
\setdefaultlanguage[variant=british]{english}
\setotherlanguage{tibetan}
\setmainfont{Charis SIL}
\newfontfamily{\tibetanfont}[Scale=1.415]{BabelStone Tibetan}
\setlength{\parindent}{0pt}
\begin{document}
the \texttibetan{རྫོང་} \textbf{dzong} ‘fortress’\\
\end{document}
I want to make it look like in the second line in the image below where I'm using a different Tibetan font that has better vertical alignment.
\tibetanfont
with the xelatex version of that command, which is\special{pdf:literal 1 0 0 1 0 -2 cm}
, but it shifts the rest of the line as well, even if I try to shift back at the end of the patch.\texttibetan
macro. But I thinkxpatch
can do it. I'll update my answer.