Sublime Forum

Can ignored words affect fonts[Solved]

#1

Can ignored words like otf, ttf, eotf affect the css importation of fonts?

I have been trying to import some fonts with @font-face

for example
@font-face { font-family: still time; src: url ('../fonts/still time.ttf'); }
but then I noticed in my settings

"ignored_words":
[
    "",
    "d1",
    "jpg",
    "otf",
    "ttf"
],

will those ignored words affect the importation fonts? I have been having trouble importing them for a couple days not beforehand though

please help

0 Likes

#2

The words listed in ignored_words are words that are to be ignored by the spell checking mechanism in Sublime; they don’t control e.g. what your web browser does when it reads the text that you’ve written with Sublime, because it has no way of knowing.

It’s been a while since I did anything CSS related but your problem might be that CSS is (if I recall correctly) very persnickety when it comes to spaces between a function and the following open parenthesis, so you may want to modify your CSS to be:

@font-face { font-family: still time; src: url('../fonts/still time.ttf'); }

i.e., no space between url and (.

0 Likes

#3

Thank you I will try that out, and I also apologize I am very novice just got sublime text 3 i used to be notepad ++ just went from gmod lua to htm/css always looking to learn thank you so much.

0 Likes