Unfortunately, you'll have to make do with two separate duplicate @font-face
rules. The syntax for the font-family
descriptor, unlike the font-family
property, does not permit more than one family, so the syntax you have is invalid.
Attempting to specify it in two declarations just causes the latter to override the former like you would expect in a style rule, meaning the following:
@font-face {
font-family: 'FontA';
font-family: 'FontB';
...
Is equivalent to:
@font-face {
font-family: 'FontB';
...