这是indexloc提供的服务,不要输入任何密码
Skip to content

Incorrect display of character 'k' for "FantasqueSansMono" when "ss01" font feature is on #901

@Frefreak

Description

@Frefreak

🗹 Requirements

  • I have searched the issues for my issue and found nothing related and/or helpful
  • I have searched the FAQ for help
  • I have searched the Wiki for help

🎯 Subject of the issue

Experienced behavior:
If a webpage enables "ss01" font feature, and render font is chosen as "FantasqueSansMono Nerd Font", then what should be displayed as
a normal k will show like a "coffee" icon.

Expected behavior:

I see text without emoji

Example symbols:

jjjjkkkkllll

🔧 Your Setup

  • Which font are you using (e.g. Anonymice Powerline Nerd Font Complete.ttf)?
    • Please give the full filename Fantasque Sans Mono Regular Nerd Font Complete.ttf
    • Where did you get the file from (download link, self patched, source downloaded from link...) archlinux's AUR package
  • Which terminal emulator are you using (e.g. iterm2, urxvt, gnome, konsole)? alacritty (but this issue happens on webpage)
  • Are you using OS X, Linux or Windows? And which specific version or distribution? archlinux

★ Screenshots (Optional)

I initially noticed it here:
I override liberation mono and monospace with FantasqueSansMono Nerd Font using fontconfig's config file, so it's very likely what you see will be fine (because it's not rendered as this font). From the devtools image we can see my browser is rendering using "FantasqueSansMono Nerd Font".

image
image

I believe this can be easily reproduced using this html snippet:

<style>
* {
  font-feature-settings: "ss01" on;
  font-family: FantasqueSansMono Nerd Font;
}
</style>
<pre><code>
jjjjkkkkllll
</code></pre>

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions