How to add a web font (tff file)


Topic: How to add a web font (tff file)

wilmarmacosta pro premium priority asked 5 days ago

I need to add in my website a font where it is not installed in the users computer, how can I do that? I already have the tff font file. Please help.


Kamila Pieńkowska staff answered 5 days ago

You need to host it with your site, import and set it with CSS as your font.

Alternatively, and this is very common approach, you can use Google Fonts API as described here: https://developers.google.com/fonts/docs/getting_started


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 8.1.0
  • Device: desktop
  • Browser: chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: No
Tags