I use Bold
, Medium
and Normal
font weights on my website, that's 700
, 500
and 400
respectively.
I use Helvetica Neue
font and as a fallback for systems that doesn't have it installed I want to use Open Sans
. The problem is Open Sans
doesn't have Medium
style.
I want my elements that I used to define as font-weight: 500
have font-weight: 600
if the browser uses Open Sans
. Is it possible somehow?
There's a similar question at Stack Overflow: How to set different font-weight for fallback font? but I'cant get the result I need using techniqe described in an accepted answer.
I need something like
@font-face {
font-family: 'semibold';
src: 'Helvetica Neue':500, 'Open Sans':600;
}
Not sure how to do it though.