Consecutive ligatures in a string aren't displayed correctly

Report issues, odd behaviors or submit a detailed bug report.
Post Reply
User avatar
pjj
Posts: 2242
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

Consecutive ligatures in a string aren't displayed correctly

Post by pjj »

I use a font with ligatures (Fira Code) and those ligatures are very well supported by RJ TE, however there are edge cases when they aren't. Ijust found one such case, in PHP object notation:
consecutive ligatures.png
consecutive ligatures.png (12.79 KiB) Viewed 1487 times
They are displayed correctly in an object notation, but not all of them )only the first) if the same ligatures are present in a string. I would think it is by design, if no ligature were accounted for in the string, but since the first is, I must assume it's a (tiny, but still) glitch.
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
User avatar
Rickard Johansson
Site Admin
Posts: 6799
Joined: 19 Jul 2006 14:29

Re: Consecutive ligatures in a string aren't displayed correctly

Post by Rickard Johansson »

It seems to work at my end. Maybe you need some specific setting for it to happen? (Or maybe you've made some change in the syntax file?).

2025-03-05_141210.png
2025-03-05_141210.png (9.27 KiB) Viewed 1395 times
Post Reply