mozilla / Fira

Mozilla's new typeface, used in Firefox OS
mozilla.github.io/Fira
Other
5.05k stars 310 forks source link

fira-sans.*: local font “Fira Sans Regular *” → “Fira Sans *” #178

Open Qeole opened 8 years ago

Qeole commented 8 years ago

At least under Linux (Ubuntu), the regular and regular italic system fonts are recognized as “Fira Sans” and “Fira Sans Italic”, while the stylesheets for CSS pre-processors call them as “Fira Sans Regular” and “Fira Sans Regular Italic”, respectively.

This commit fixes the names by removing the “Regular” part.

Note that I do not know how fonts are treated on other systems (it might be worth checking that this commit does not breaks things under Windows?)