Diacritics in Wordpress working but not showing the specific font one`s

余生颓废 提交于 2019-12-11 07:14:08

问题


So I have a problem with diacritics in wordpress.This is the website http://colectia-harnau.ro This is the div for first category:

<div style="font-family: 'Sancreek', cursive;font-size:110%;">
<a href="http://colectia-harnau.ro/?page_id=1949">SUPORTURI PREZENTARE</a>
</div>

As you can see on google fonts, this font have diacritics like ă,ș,ț etc. Here is the font URL: https://www.google.com/fonts/specimen/Sancreek As you can see here the diacritics are loaded but showed with different font

Any ideas? Thanks


回答1:


Make sure you are using the extended latin character sets. Like this:

<link href='http://fonts.googleapis.com/css?family=Sancreek&subset=latin,latin-ext' rel='stylesheet' type='text/css'>. 

Note the latin-ext




回答2:


Ok , problem solved! For those who will occur this issue. You need to select the Larin extended option from 2nd selector!

Latin Extended (latin-ext)



来源:https://stackoverflow.com/questions/22973771/diacritics-in-wordpress-working-but-not-showing-the-specific-font-ones

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!