A
A
Anton Kudaev2016-05-10 14:18:27
css
Anton Kudaev, 2016-05-10 14:18:27

otf fonts not connected what to do?

antonkudaev.ru
Font in folder content/fonts/DINPro/..
Error in console..
ad7f0b30bf474a4b832b5dd684575c1b.png
How to solve?
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Timofeev, 2016-05-10
@antonkudaev

1. not all browsers use oft, do also ttf
2. the link should be ../fonts/DINpro/DINpro-Bold.otf or with a forward slash, it looks for the content folder in the folder with the css file and it's right.

I
Ivan Bogachev, 2016-05-10
@sfi0zy

Believe it or not, this: "content/fonts/DINpro/DINpro-Bold.ttf"
and this: " ../fonts/DIN P ro/DIN P ro -Bold. otf " are not the same . You use the first option in CSS (you simply don’t have such a file), but you need the second option - you have such a file.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question