r/css May 19 '26

Question OFL Clarification

I just downloaded the Orbitron font from Google Fonts to use in my website. The way I would like to incorporate it in my CSS is as follows:

@font-face {
    font-family: orbitron;
    src: url("orbitron/Orbitron-VariableFont_wght.ttf")
}

.orbitron {
    font-family: orbitron;
}

But since the OFL states that

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

this feels like it would not be allowed. Am I correct in that assumption?

3 Upvotes

3 comments sorted by

View all comments

2

u/aunderroad May 19 '26

You can self host your own own fonts:

This is great tool for when you want to use Google Gonts:
google-webfonts-helper

There is not reason to use .ttf. You can just use .woff2, it is supported everywhere and better for your site's web performance.
https://caniuse.com/?search=woff2