cyrealtype / Lora-Cyrillic

Lora fonts — serif family for text. Variable Open Source Font
http://www.cyreal.org/fonts/lora/
SIL Open Font License 1.1
413 stars 34 forks source link

Variable font CSS integration #25

Closed o-t-w closed 5 years ago

o-t-w commented 6 years ago

Safari is the first browser to have fully implemented variable fonts. In that browser using the CSS property font-weight works to control the "wght" axis of any variable font. I've tried it with a few different fonts (Source Sans Pro, for instance). Unfortunately Lora doesn't work in conjunction with the CSS font-weight property, it only works with font-variation-settings. This is expected in Chrome, which hasn't fully supported variable font integration with CSS yet. However, it should work in Safari but doesn't.

alexeiva commented 5 years ago

this is fixed in https://github.com/cyrealtype/Lora-Cyrillic/releases/tag/v2.210