Failed to decode downloaded font, OTS parsing error: invalid version tag + rails 4

ots parsing error: invalid version tag vue
failed to decode downloaded font icomoon
failed to decode downloaded font jquery
woff2 viewer
font generator transformers
font-face
webfonter
otf webfont

I am doing assets pre-compile, and running the application in production mode. After compilation when I load the my index page I got followings warnings in the chrome console:

Failed to decode downloaded font: http://localhost:3000/fonts/ionicons.ttf?v=2.0.0
prospects:1 OTS parsing error: invalid version tag
Failed to decode downloaded font: http://localhost:3000/fonts/ionicons.woff?v=2.0.0
prospects:1 OTS parsing error: invalid version tag

The issue is its not loading icons instead of that its showing squares.

we used the custom fonts and the code is:

@font-face {
  font-family: 'icomoon';
  src: font-url('icomoon.eot');
  src: font-url('icomoon.eot?#iefix') format('embedded-opentype'),
       font-url('icomoon.ttf') format('truetype'),
       font-url('icomoon.woff') format('woff'),
       font-url('icomoon.svg#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

I don't know what is missing from my end . I searched a lot and also tried solution but not got any success.In development mode its working fine but don't know why its showing square in the production mode.

I got the exact same error, and in my case it turned out to be because of a wrong path for the @font-face declaration. The web inspector never complained with a 404 since the dev server we're using (live-server) was configured to serve up the default index.html on any 404:s. Without knowing any details about your setup, this could be a likely culprit.

[loader] Failed to decode downloaded font. OTS parsing error , downloaded font. OTS parsing error: invalid version tag #1468 Failed to decode downloaded font: data:application/font-woff2;base64 Please verify on awesome-fonts .css file if the url path for fonts are ok. It works for me  Hello Everyone, I know so many issues were reported for font, but after looking through all of them still i am not able to find solution for this issue. I am creating an .NET application. have moved all the font files in font folder and

If running on IIS as the server and .net 4/4.5 it might be missing mime / file extension definitions in Web.config - like this:

<system.webServer>
	<staticContent>
      <remove fileExtension=".eot" />
      <mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" />
      <remove fileExtension=".ttf" />
      <mimeMap fileExtension=".ttf" mimeType="application/octet-stream" />
      <remove fileExtension=".svg" />
      <mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
      <remove fileExtension=".woff" />
      <mimeMap fileExtension=".woff" mimeType="application/font-woff" />
    </staticContent>
</system.webServer>

Webpack: Failed to decode downloaded font: OTS parsing error , Failed to decode downloaded font: OTS parsing error: invalid version tag Expected behavior The font should be We serve index.html as fallback for unrecognised paths cause it usually makes sense in single page apps. I am creating an mvc .NET application. have moved all the font . Failed to decode downloaded font OTS parsing error: invalid version tag UI Grid version : 4.0

I was having the same issue., OTS parsing error: Failed to convert WOFF 2.0 font to SFNT (index):1 Failed to decode downloaded font: http://dev.xyz/themes/custom/xyz_theme/fonts/xyz_rock/rocksansbold/Rock-SansBold.woff2

If you got this error message while trying to commit your font then it is an issue with .gitattributes "warning: CRLF will be replaced by LF"

The solution for this is adding whichever font you are getting the issue with in .gitattributes

*.ttf     -text diff
*.eot     -text diff
*.woff    -text diff
*.woff2   -text diff

Then I deleted corrupt font files and reapplied the new font files and is working great.

Custom fonts returns "Failed to decode downloaded font", I have been trying to crack this nut for a while now with no luck so i come here with my (index):1 OTS parsing error: Failed to convert WOFF 2.0 font to SFNT (index):1 OTS parsing error: incorrect file size in WOFF header GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together. Failed to decode downloaded

try

@font-face {
  font-family: 'icomoon';
  src: asset-url('icomoon.eot');
  src: asset-url('icomoon.eot?#iefix') format('embedded-opentype'),
       asset-url('icomoon.ttf') format('truetype'),
       asset-url('icomoon.woff') format('woff'),
       asset-url('icomoon.svg#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

and rename your file to application.css.scss

OTS parsing error: invalid version tag, Failed to decode downloaded font, OTS parsing error: invalid version tag + rails 4​. 919 Views. 1. Votes. name Winter. Asked: Sep 14,2018 In:  Dismiss Join GitHub today. GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.

I had a corrupted font, although it appeared to be loading without problem and under Sources in Chrome devtools appeared to display, the byte count wasn't correct, so I downloaded again and it resolved it.

Failed to decode downloaded font: (proprietary_font.woff) OTS , OTS parsing error: invalid version tag. Resolved Firt of all I see that every single page of my blog returns the following error: OTS The problem still there and I don't see other reasons for it. May be it is Failed to decode downloaded font:  Dismiss Join GitHub today. GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.

Failed to decode downloaded font / OTS parsing error – D Ness Car , gmail.com. on Wed, Oct 21, 2015, 4:00 AM PDT. link. Code. ‹ Prev OTS parsing error: invalid version tag. Failed to decode file size in WOFF header localhost/:​1 Failed to decode downloaded font: data:font-woff;base64  "Failed to decode downloaded font" means the font is corrupt, or is incomplete (missing metrics, necessary tables, naming records, a million possible things). Sometimes this problem is caused by the font itself. Google font provides the correct font you need but if font face is necessary i use Transfonter to generate all font format.

Failed to decode downloaded font: <URL> OTS parsing error: invalid version tag. I've updated Thanks for your help, I got it working 🙂. Author. Dismiss Join GitHub today. GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.

html - Failed to decode downloaded font and OTS parsing error: invalid version tag asset pipeline - Failed to decode the downloaded font glyphicons-halflings-regular.woff2 - Rails, Production css - Custom Font not working in Rails Asset Pipeline

Comments
  • It could be a number of things: the character encoding could be incorrect or the font itself might be corrupted. Can you open the font in Font Book or similar? A quick Google reveals a bug in the Chromium browser version 45: code.google.com/p/chromium/issues/detail?id=545924
  • were you able to solve the issue?
  • In my case, I have to purge cloudflare cache and wait some minutes to let the time fix the issue !
  • I had the same problem and found that I need to have woff2 font before woff for chrome.
  • If this is reason of redirect you can filter it by file extension RewriteRule !\.(js|gif|css|jpg|otf|eot|png)$ /redirect [R=301,L]
  • In my case, ASP.NET MVC bundling & minification essentially changed the location of the CSS without changing the relative paths therein. Had to delete the already-minified file and use a CssRewriteUrlTransform in BundleConfig.
  • where does that file live? will the browser even know it exists? How?
  • It'd be great if you can say, for which file you've to add these?
  • Edit the web.config
  • I couldn't file a web.config file in the angular-cli project. Using the version 1.3.0. Any clue?
  • Web.config is only used when you host your client app on IIS (incl. Azure Web Services).