Bug 53734
webfonts.parse always replaces font-family
value to sans-serif
if lang
is specified.
For example:
Code | Result |
---|---|
|
Въ нача́лѣ бѣ̀ сло́во, и҆ сло́во бѣ̀ къ бг҃ꙋ ѹ҆ бг҃а, и҆ бг҃ъ бѣ̀ сло́во. |
|
Въ нача́лѣ бѣ̀ сло́во, и҆ сло́во бѣ̀ къ бг҃ꙋ ѹ҆ бг҃а, и҆ бг҃ъ бѣ̀ сло́во. |
I found only one workaroud for this problem:
:lang(chu) {
font-family: /* Unicode 5.1 Slavonic fonts: */ BukyVede, 'Kliment Std', 'RomanCyrillic Std', Dilyana, Menaion, 'Menaion Medieval', Lazov, Code2000, 'DejaVu Sans',
/* Unicode fallback: */ Code2001, 'Free Serif', 'TITUS Cyberbit Basic', 'Charis SIL', 'Doulos SIL', 'Chrysanthi Unicode', 'Bitstream Cyberbit', 'Bitstream CyberBase',
Thryomanes, 'Lucida Grande', 'Free Sans', 'Arial Unicode MS', 'Microsoft Sans Serif', 'Lucida Sans Unicode' !important;
}