luaotfload icon indicating copy to clipboard operation
luaotfload copied to clipboard

Diacritics rendering with Graphite renderer and LuaLaTeX for Kashmiri

Open niruvt opened this issue 1 year ago • 1 comments
trafficstars

Have a look at this example:

\documentclass[border=1cm]{standalone}
\usepackage[%
  english,%
  bidi              = {bidi-r}%
]{babel}
\usepackage{fontspec}
\newfontfamily\ksfnt[%
  IgnoreFontspecFile,%
  Extension         = {.ttf},%
  Renderer          = {Graphite}%
]{AwamiNastaliq-Regular}

\begin{document}
\ksfnt
یِہ (کوٗر) چھَےٚ اَم کھؠوَان۔
\end{document}

image

The diacritics are misplaced in this. LibreOffice produces an output with correct placement:

image

What can be the reason?

niruvt avatar Mar 19 '24 13:03 niruvt

I have an old output with the same text, I have used bidi=basicthere. It had the correct rendering of diacritics:

image

The text here just lacks the parentheses.

Note that now even with bidi=basic this fails! Should I report this to babel?

niruvt avatar Mar 20 '24 05:03 niruvt