Misaligned outline and shadow for RTL text with fonts that depend on OpenType features

Lunacy version: 11.6 latest stable version at the time of writing.


It seems the glyph outline and shadow are rendered without applying OpenType features.

I mostly tested on Arabic as I'm more familiar with it, some features like fina, init, medi, rlig/liga are respected. Other features are ignored and rendered in default positions.

Here's is what Lunacy currently rendered, the primary text in black displayed the font correctly while the in white outline, only RTL text misaligned, the Latin text (e.g. A + ̆) displayed correctly.

Here's the same text with partially Opentype features displayed in font testing website that use Harfbuzz (Crowbar)

And with the features turned on:

Font used:

IBM Plex Arabic (Google Fonts)

The Year of Camel

JAWI Diwani


Test text:

Ă Ŭ ŏ ŭ ê رَ نِيسْکَالاَ اٴيرَاهَا

چمڤدق

לוּנֶסִי لُونٚسِي

Sign In or Register to comment.