Skip to content

FontAwesome fonts do not render properly on macOS and Windows #7762

Open

Description

@mdinger

At MDN, the icons don't appear properly.

icons

I can't get a testcase because as soon as I save the page, the icons stop loading in firefox too. I've even manually added the font family to be sure it was still there but the icons still didn't show. I'm not sure how to minimize this.

Activity

  1. bobchao commented on Mar 18, 2016

    @bobchao

    It works for me :/ don't know why.

    2016-03-18 17 00 46

    The testcase below might work, maybe you wanna try it on your machine? @mdinger

    <style>
      @import url(http://weloveiconfonts.com/api/?family=fontawesome);
      span {font-family: FontAwesome;}
    </style>
    <span>&#xf054;</span>
  2. mdinger commented on Mar 18, 2016

    @mdinger
    Author

    I'll try it again. It might work now since it was 6 months ago.

  3. mdinger commented on Mar 19, 2016

    @mdinger
    Author

    I'm not sure if the icons work because that website doesn't load. Here is mdn in servo:

    mdn

    The testcase is odd too in both browsers. I'm not sure what to make of it:

    icon

  4. nox commented on Sep 30, 2017

    @nox
    Contributor

    I can't reproduce this locally.

  5. reopened this on Mar 13, 2022
  6. added
    P-linux
    on Mar 13, 2022
  7. removed
    P-linux
    on Oct 11, 2025
  8. arihant2math commented on Oct 11, 2025

    @arihant2math
    Contributor

    Not linux only, this essentially prevents any font icon library from working. This causes rendering issues in wikipedia, google fonts, pdf.js, etc.

  9. added
    C-has-manual-testcase
    on Oct 11, 2025
  10. mrobinson commented on Dec 19, 2025

    @mrobinson
    Member

    Updated test case:

    <html>
       <head>
          <style>
          @import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css);
          span {font-family: FontAwesome;}
         </style>
        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
       </head>
       <body>
          <h1>测试</h1>
          <span>&#xf054;</span>
       </body>
    </html>

    I tested this on all three desktop platforms. On all of them the CJK character rendering properly. Only on Linux did the Font Awesome <div> display correctly.

  11. changed the title [-]Unicode icons don't appear in servo[/-] [+]FontAwesome fonts do not render properly on macOS and Windows[/+] on Dec 19, 2025
  12. added
    P-mac
    P-windows
    on May 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-layout/uncategorizedA-platform/fontsC-has-manual-testcaseP-macP-windows

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions