Skip to content
This repository has been archived by the owner on May 29, 2020. It is now read-only.

IE11 shows missing-glyph-sign along with each line break #333

Open
loominade opened this issue May 9, 2016 · 1 comment
Open

IE11 shows missing-glyph-sign along with each line break #333

loominade opened this issue May 9, 2016 · 1 comment

Comments

@loominade
Copy link

When applying the generated font to anything that contains line breaks. for instance

<div class="icon">foo<br />bar</div>

or

<pre class="icon">foo
bar</pre>

it will render a small rectangle in front of the break

square-break

@loominade
Copy link
Author

loominade commented May 9, 2016

it turns out that fontcustom had the same problem.

They had to include a space 0x20 character into their font to solve this issue.

I was able to do the same in grunt-webfont by mapping an empty svg on 0x20.

Like this:

  grunt.initConfig
    webfont:
      icons:
        options:
          codepoints:
            'empty-svg': 0x20

@loominade loominade changed the title IE11 shows black triangle along with each line break IE11 shows Missing-glyph-sign triangle along with each line break May 9, 2016
@loominade loominade changed the title IE11 shows Missing-glyph-sign triangle along with each line break IE11 shows missing-glyph-sign triangle along with each line break May 9, 2016
@loominade loominade changed the title IE11 shows missing-glyph-sign triangle along with each line break IE11 shows missing-glyph-sign along with each line break May 9, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant