AndiLeni / fonts

REDAXO Fonts Addon
MIT License
12 stars 4 forks source link

Auch .woff installieren lassen #2

Closed iceman-fx closed 1 year ago

iceman-fx commented 1 year ago

Wenn möglich, als 2. Font auch die .woff installieren lassen.

Beispiel:

@font-face { font-family: 'Open Sans'; src: url('fonts/OpenSans-Light.woff2') format('woff2'), url('fonts/OpenSans-Light.woff') format('woff'); font-weight: 300; font-style: normal; font-display: swap; }

alxndr-w commented 1 year ago

Halte ich für unnötig, siehe https://caniuse.com/woff2

iceman-fx commented 1 year ago

Für ältere Browser ist es aktuell schon noch notwendig. Und der Aufwand sollte minimal sein, dies zu integrieren.

AndiLeni commented 1 year ago

Ich schließe das Issue hier mal. Aktuell werden neben auch woff/woff2 auch noch andere Formate gespeichert. Der Browser lädt sich dann ja die passendste herunter.