Skip to content

Commit

Permalink
Reproduction for issue 2106
Browse files Browse the repository at this point in the history
  • Loading branch information
bobmonsour committed May 2, 2014
0 parents commit 955d4ab
Show file tree
Hide file tree
Showing 12 changed files with 496 additions and 0 deletions.
1 change: 1 addition & 0 deletions .meteor/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
local
8 changes: 8 additions & 0 deletions .meteor/packages
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Meteor packages used by this project, one per line.
#
# 'meteor add' and 'meteor remove' will edit this file for you,
# but you can also edit it by hand.

standard-app-packages
autopublish
insecure
1 change: 1 addition & 0 deletions .meteor/release
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.8.1.1
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
## Reproduction for Meteor issue 2106

- https://github.com/meteor/meteor/issues/2106

1. Clone the repository

1. Open the javascript console

2. Start the app in Meteor 0.8.1 or 0.8.1.1

3. Observe the app display squares in place of the proper Font Awesome icons

4. Note the console display of the following:

"Resource interpreted as Font but transferred with MIME type text/html..."

For 3 of the 5 font files in the client/fonts directory:
- fontawesome-webfont.woff?v=4.0.3
- fontawesome-webfont.ttf?v=4.0.3
- fontawesome-webfont.svg?v=4.0.3

The other two files generate no such message:
- fontawesome-webfont.eot
- FontAwesome.otf

Expected: to see the heart icon display

Actual: square is displayed
7 changes: 7 additions & 0 deletions client/css/bootstrap.min.css

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions client/css/font-awesome.min.css

Large diffs are not rendered by default.

Binary file added client/fonts/FontAwesome.otf
Binary file not shown.
Binary file added client/fonts/fontawesome-webfont.eot
Binary file not shown.
414 changes: 414 additions & 0 deletions client/fonts/fontawesome-webfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/fonts/fontawesome-webfont.ttf
Binary file not shown.
Binary file added client/fonts/fontawesome-webfont.woff
Binary file not shown.
33 changes: 33 additions & 0 deletions repro-fa-bug.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<head>
<title>Repro for Meteor issue #xxxx, Font Awesome display failire</title>
</head>

<body>
{{> hello}}
</body>

<template name="hello">
<h1>Hello World!</h1>

<p>Font Awesome heart is supposed to be right below this...</p>

<p class="favorites"><i class="fa fa-heart fa-2x"></i></p>

<p>And this is a rendering of the location arrow...</p>

<p class="favorites"><i class="fa fa-location-arrow fa-2x"></i></p>

<p>...but it renders as a square.</p>

<p>Note that the "fa-2x" class works to double the size of the rendered square.</p>

<p>Here it is without the "fa-2x"</p>

<p class="favorites"><i class="fa fa-heart"></i></p>

<p>Still a square...yet smaller...not 2x.</p>

<p>Here's the link to the fa heart code example...</p>

<p><a href="http://fontawesome.io/icon/heart/">http://fontawesome.io/icon/heart/</a></p>
</template>

0 comments on commit 955d4ab

Please sign in to comment.