Skip to content Skip to sidebar Skip to footer

Problems Displaying Custom Cyrillic Font With Font-face

I used fontsquirrel generator to generate font-face contents for Thonburi and Thonburi bold fonts. They display fine in English, but not in Cyrillic (Russian). Instead the site dis

Solution 1:

The Thonburi and Thonburi Bold font as specified on the page have no Cyrillic letters (I checked this using OTMaster Light). This explains why Cyrillic letters are displayed using a fallback font, which is typically Times New Roman by default.

To generate adequate font files using the FontSquirrel generator, select “EXPERT...” and then in “Subsetting”, select either “Custom Subsetting” and required languages or “No Subsetting”. The default there in “Basic Subsetting”, which includes “Western languages” only!

P.S. The question was first asked as Font not displaying correctly in cyrillic on some occasions, which was closed as “too localized”. So I have copied my answer and an added comment.

P.S.2. The reason why it works for you at home is that the CSS code contains src: local(Thonburi), url("fonts/thonburi-webfont.ttf"), giving preference to a locally installed font, which apparently contains Cyrillic letters too.

Post a Comment for "Problems Displaying Custom Cyrillic Font With Font-face"