---
title: "Discussion on \"Import fonts in an Angular App - THE EASY / RIGHT WAY!\" | Hashnode"
description: "Discussion on \"Import fonts in an Angular App - THE EASY / RIGHT WAY!\". One of the hot debates/discussions that I have with fellow developers is about the right and the most effective way of importing FONTS in an Angular application.  \nSee, there are a number of blogs out there which outline the pros and cons and probabl..."
url: "https://hashnode.com/posts/import-fonts-in-an-angular-app-the-easy-right-way/5d9587be2486a4cb58836cbf"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Import fonts in an Angular App - THE EASY / RIGHT WAY!](https://adityatyagi.com/import-fonts-in-an-angular-app-the-easy-right-way?utm_source=hashnode&utm_medium=feed)

One of the hot debates/discussions that I have with fellow developers is about the right and the most effective way of importing FONTS in an Angular application. See, there are a number of blogs out there which outline the pros and cons and probabl...

Oct 3, 2019 · adityatyagi.com  
Read the article

-   [#angularjs](https://hashnode.com/tag/angularjs)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#fonts](https://hashnode.com/tag/fonts)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[Aditya Tyagi](https://hashnode.com/@adityatyagi)

@adityatyagi · India

  
[View profile](https://hashnode.com/@adityatyagi)

Programmer and a voracious reader

## Responses 2

Markdown supported · ⌘↵ to post

[Z.A Jafari](https://hashnode.com/@zaj)

[Nov 30, 2021](https://hashnode.com/posts/import-fonts-in-an-angular-app-the-easy-right-way/5d9587be2486a4cb58836cbf/comment/61a5db852be89f3d0aba1079)

Hi there, Thanks for your article to use fonts offline. I followed your blog but for some reason the Lato font is not getting displayed for my application. What am I missing, can you please help me as to how I can debug the issue.Thanks

[Saurabh Sharma](https://hashnode.com/@itsjzt)

[Oct 5, 2019](https://hashnode.com/posts/import-fonts-in-an-angular-app-the-easy-right-way/5d9587be2486a4cb58836cbf/comment/5d9863a67f48328240761dbf)

It's a well written post Aditiya. Through here are some things that are still unclear to me.

-   isn't loading from popular CDN usually faster in practical world because user probably have that font already cached in their browser?
    
-   shouldn't you give a fallback font in-case the browser can't fetch the font for any reason.
    
-   shouldn't you use font display property read why [here](https://css-tricks.com/almanac/properties/f/font-display/)
    

[Aditya Tyagi](https://hashnode.com/@adityatyagi)

[Oct 10, 2019](https://hashnode.com/posts/import-fonts-in-an-angular-app-the-easy-right-way/5d9587be2486a4cb58836cbf/comment/5d9863a67f48328240761dbf#reply-5d9f64cbd680977212683006)

Hey [Saurabh Sharma](https://hashnode.com/@itsjzt) Thanks for the appreciation and apologies for the delay in reply.

1.  99% of the time I am working on custom designed products/projects and hence every one of the projects has a different font than the other and the majority of them don't have the common fonts like Montserrat. Therefore, I face this difficulty and hence adopted this solution. You are absolutely on the point that the user "probably" would have the font cached, but I won't take chances :)
    
2.  On the fallback font - We all should. I'll update the blog soon.
    
3.  Went through the article and found it useful. Was unaware of the font-display property. Thanks for highlighting it.
