Sublime Forum

Sublime won't pick up a custom font

#1

Hi, I’ve downloaded 2 new fonts from 1001 free fonts and installed them. They both work great in 2010 Microsoft’s Word but my sublime text doesn’t seem to have registered the new fonts. I wish to use them with CSS to style headings but this isn’t working out as planned. Its doesn’t seem to highlight the name of the font when in I type it in like with other default fonts like forte for instance. Any help please?! :frowning:

0 Likes

#2

nevermind, I figured it out lol

0 Likes

#3

The fonts that ST highlights in CSS are pre-defined: https://github.com/sublimehq/Packages/blob/bb9bdefa7026e6f4d146f8e10f1bc2d8b3752b7e/CSS/CSS.sublime-syntax#L569

I don’t see forte in this list, maybe you are using a third party package for CSS syntax highlighting?

Anyway, even if a font doesn’t get highlighted in ST, doesn’t mean it won’t work in the browser…

0 Likes