Ligatures unexpected/wrong #8164

Closed
opened 2026-01-31 01:22:24 +00:00 by claunia · 6 comments
Owner

Originally created by @xasx on GitHub (May 15, 2020).

Environment

Windows build number: 10.0.18363.0
Windows Terminal version: 0.11.1333.0

Font: Inconsolata NF

Steps to reproduce

Run a Shell. It is sufficient that it outputs the string fi somewhere. Fish seems predestined therefore 😉

Expected behavior

"fi" is rendered as readable letter combo F-I since this string is a substring of many words.

Actual behavior

"fi" becomes a telephone symbol. ☎️

Screenshots

WSL/fedoraremix/fish

image

Windows/PWSH 7

image

Originally created by @xasx on GitHub (May 15, 2020). # Environment ```none Windows build number: 10.0.18363.0 Windows Terminal version: 0.11.1333.0 Font: Inconsolata NF ``` # Steps to reproduce Run a Shell. It is sufficient that it outputs the string `fi` somewhere. Fish seems predestined therefore 😉 # Expected behavior "fi" is rendered as readable letter combo F-I since this string is a substring of many words. # Actual behavior "fi" becomes a telephone symbol. ☎️ # Screenshots ## WSL/fedoraremix/fish ![image](https://user-images.githubusercontent.com/1582730/82049809-4b9d4100-96b7-11ea-82c5-297411c979fe.png) ## Windows/PWSH 7 ![image](https://user-images.githubusercontent.com/1582730/82049877-6ec7f080-96b7-11ea-9668-82ba50e19521.png)
claunia added the Resolution-ExternalNeeds-Tag-Fix labels 2026-01-31 01:22:24 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (May 15, 2020):

Absolutely fascinating. I can't find "Inconsolata NF", I can only find LGC and Go variants. Can you share a link to the actual font you're using?

I recall seeing this before, but I can't find the issue.

@DHowett-MSFT commented on GitHub (May 15, 2020): Absolutely fascinating. I can't find "Inconsolata NF", I can only find LGC and Go variants. Can you share a link to the actual font you're using? I recall seeing this before, but I can't find the issue.
Author
Owner

@DHowett-MSFT commented on GitHub (May 15, 2020):

Er, found the font.

@DHowett-MSFT commented on GitHub (May 15, 2020): Er, found the font.
Author
Owner

@DHowett-MSFT commented on GitHub (May 15, 2020):

I've got some bad news!

This is just how that font is authored. I know that sounds crazy, but here's what an impartial open-source font editing suite suggests:

image

image

@DHowett-MSFT commented on GitHub (May 15, 2020): I've got some bad news! This is just how that font is authored. I know that sounds crazy, but here's what an impartial open-source font editing suite suggests: ![image](https://user-images.githubusercontent.com/14316954/82078177-9017e500-9695-11ea-86ee-60e9968687a8.png) ![image](https://user-images.githubusercontent.com/14316954/82078224-a2921e80-9695-11ea-954b-3b4d3adc77a1.png)
Author
Owner

@DHowett-MSFT commented on GitHub (May 15, 2020):

image

@DHowett-MSFT commented on GitHub (May 15, 2020): ![image](https://user-images.githubusercontent.com/14316954/82078275-bdfd2980-9695-11ea-9954-0e59d46ca493.png)
Author
Owner

@j4james commented on GitHub (May 18, 2020):

For the record, I think it's the Nerd Fonts patcher that is to blame. The original font probably had one or more ligatures stored in the private use area, and those glyphs got overwritten when the patcher used the same code points for the Nerd Fonts icons. See the bug report here: https://github.com/ryanoasis/nerd-fonts/issues/254#issuecomment-517526427

@j4james commented on GitHub (May 18, 2020): For the record, I think it's the Nerd Fonts patcher that is to blame. The original font probably had one or more ligatures stored in the private use area, and those glyphs got overwritten when the patcher used the same code points for the Nerd Fonts icons. See the bug report here: https://github.com/ryanoasis/nerd-fonts/issues/254#issuecomment-517526427
Author
Owner

@xasx commented on GitHub (May 19, 2020):

@DHowett-MSFT thanks for investigating.

@j4james thanks for sorting. So: Happens to all NFs with fi/fl ligatures.

@xasx commented on GitHub (May 19, 2020): @DHowett-MSFT thanks for investigating. @j4james thanks for sorting. So: Happens to all NFs with fi/fl ligatures.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#8164