Skip to content

ng 1.7.0-rc.0 can't parse fontawesome fonts #9557

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
zhekaus opened this issue Feb 8, 2018 · 6 comments · Fixed by #9564
Closed

ng 1.7.0-rc.0 can't parse fontawesome fonts #9557

zhekaus opened this issue Feb 8, 2018 · 6 comments · Fixed by #9564

Comments

@zhekaus
Copy link

zhekaus commented Feb 8, 2018

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

@PascalTemel
Copy link

Happens with icomoon and material fonts aswell.

@elvisbegovic
Copy link
Contributor

elvisbegovic commented Feb 8, 2018

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

@clydin
Copy link
Member

clydin commented Feb 8, 2018

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

@nikolayandr
Copy link

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

@DaneelB
Copy link

DaneelB commented Feb 12, 2018

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

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants