在网站上重音字母的问题 [英] Problems with accented letters on website

查看:162
本文介绍了在网站上重音字母的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,谁在看这个问题。



我最近推出了一个网站。它有2种语言版本:英文和捷克文。



由于某些原因,我在使用捷克语重音字母时遇到了问题 - 它们在网站上显示为粗体。 Mozilla Firefox只使用重音字母,谷歌浏览器使大胆连续几个字。



字符集是UTF-8。
CMS:Wordpress
URL:


Hello everyone who is reading this question.

I have recently launched a website. It has 2 language versions: English and Czech.

For some reason i am having problems with Czech accented letters - they appear bold on the website. Mozilla Firefox makes bold only accented letters, Google Chrome makes bold a few words in a row.

Charset is UTF-8. CMS: Wordpress URL: http://www.languageatelier.eu/cs/

What could be the problem? Does anybody know?

Thank you very much in advance!

Best regards, Anastasia

解决方案

Your Roboto 300 font has only latin glyphs. The latin extended subset is missing.

Your fonts get's loaded here:

<link rel="stylesheet" id="googlefonts_heading-css" href="http://fonts.googleapis.com/css?family=Roboto%3A300%2C400%2C400italic%2C700&amp;ver=3.8.1" type="text/css" media="all">

And should be loaded like:

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

Notice the get parameters subset=latin,latin-ext.

See: https://www.google.com/fonts#UsePlace:use/Collection:Roboto

这篇关于在网站上重音字母的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆