microsoft / cascadia-code

This is a fun, new monospaced font that includes programming ligatures and is designed to enhance the modern look and feel of the Windows Terminal.
Other
25.1k stars 793 forks source link

Ligatures intermingling on RTL direction #714

Open avidseeker opened 4 months ago

avidseeker commented 4 months ago

Cascadia family version

2111.01

Cascadia family variant(s)

Cascadia Code (the version with ligatures)

Font file format(s)

.ttf (static)

Platform

Linux (freetype2 2.13.2)

Other Software

No response

What happened?

The following text is displayed correctly within a regular HTML textbox.

<!-- == مقدمة الصفحة == -->

However when setting direction: rtl; property for that textbox, this is the result

image

For comparison this is DejaVu Sans Mono: image

aaronbell commented 4 months ago

Looks like the ligatures feature is misbehaving in RTL environments. I’d suggest using the Mono version for the time being while I figure out if there is a solution