Angular-cli: ng 1.7.0-rc.0 can't parse fontawesome fonts

Created on 8 Feb 2018  Â·  6Comments  Â·  Source: angular/angular-cli

Versions

_                      _                 ____ _     ___
/ \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
/ â–³ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
/ ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
/_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
|___/

Angular CLI: 1.7.0-rc.0
Node: 8.9.1
OS: win32 x64
Angular: 5.2.4
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

@angular/cli: 1.7.0-rc.0
@angular-devkit/build-optimizer: 0.3.1
@angular-devkit/core: 0.3.1
@angular-devkit/schematics: 0.3.1
@ngtools/json-schema: 1.2.0
@ngtools/webpack: 1.10.0-rc.0
@schematics/angular: 0.3.1
@schematics/package-update: 0.3.1
typescript: 2.5.3
webpack: 3.10.0

Repro steps

  • ng serve

Observed behavior

Browser console log

Failed to decode downloaded font: http://localhost:4200/fontawesome-webfont.68560c510686599ffbc9.woff2?v=4.7.0
localhost/:1 OTS parsing error: Failed to convert WOFF 2.0 font to SFNT
localhost/:1 Failed to decode downloaded font: http://localhost:4200/fontawesome-webfont.a7bbeb589ae63e018872.woff?v=4.7.0
localhost/:1 OTS parsing error: incorrect file size in WOFF header
localhost/:1 Failed to decode downloaded font: http://localhost:4200/fontawesome-webfont.e1dd9adb4f69bb9a0bdc.ttf?v=4.7.0
localhost/:1 OTS parsing error: incorrect entrySelector for table directory
localhost/:1 Failed to decode downloaded font: http://localhost:4200/fontawesome-webfont.912ec66d7572ff821749.svg?v=4.7.0#fontawesomeregular
localhost/:1 OTS parsing error: invalid version tag

no fontawesome icons in UI

Desired behavior

I expect to see fontawesome icons as usual

Mention any other details that might be useful (optional)

with v1.6.8 works

high regression bufix

Most helpful comment

@clydin Hi. Is it known when the next RC is going to be available? Thanks

All 6 comments

Happens with icomoon and material fonts aswell.

im using slds static ressource same behavior, get problems with fonts:
image
ps: Angular CLI: 1.7.0-rc.0
cc @filipesilva

Thank you for reporting. A fix is pending and will be available in the next RC.

@clydin Hi. Is it known when the next RC is going to be available? Thanks

@clydin Hi, is there any indication when we can expect the next RC in order to have this fixed?
Thanks

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gotschmarcel picture gotschmarcel  Â·  3Comments

IngvarKofoed picture IngvarKofoed  Â·  3Comments

5amfung picture 5amfung  Â·  3Comments

hareeshav picture hareeshav  Â·  3Comments

hartjo picture hartjo  Â·  3Comments