mar*_*l87 5 android google-chrome utf-8 google-fonts
我有一个简单的页面 - http://skchbk.foxnet.pl/编码为 UTF8 并带有几个希腊字符:
?? ????????? . ??????????,信使。天使 ??????????? . ????????????,兄弟????,但是。除了 ?????????? . ???????????,男人
此页面在 Windows 上看起来不错,但在带有 google chrome 浏览器的 android 手机/平板电脑上,我看不到类似的字符
?
我发现某处关于 android 字体的信息没有处理一些 UTF8 字符,所以我使用了谷歌字体 - 和希腊字体 - https://fonts.google.com/specimen/GFS+Didot - 但仍然在 android 上我看到“[] " 而不是几个字符。
你知道为什么 android 有字体/编码问题吗?我是否缺少谷歌字体的一些配置?
编辑:
我尝试了不同的方法,并使用了 google-webfonts-helper 工具 - https://google-webfonts-helper.herokuapp.com/fonts/gfs-didot?subsets=greek - 下载 eot、woff、woff2、ttf、svg 文件,我将 CSS 代码更改为
<style>
@font-face {
font-family: 'GFS Didot';
font-style: normal;
font-weight: 400;
src: url('../fonts/gfs-didot-v7-greek-regular.eot'); /* IE9 Compat Modes */
src: local('GFS Didot Regular'), local('GFSDidot-Regular'),
url('../fonts/gfs-didot-v7-greek-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/gfs-didot-v7-greek-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/gfs-didot-v7-greek-regular.woff') format('woff'), /* Modern Browsers */
url('../fonts/gfs-didot-v7-greek-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/gfs-didot-v7-greek-regular.svg#GFSDidot') format('svg'); /* Legacy iOS */
}
body {
font-family: 'GFS Didot', serif;
}
Run Code Online (Sandbox Code Playgroud)
但结果是一样的......我仍然在移动版 chrome 上看到矩形
| 归档时间: |
|
| 查看次数: |
1272 次 |
| 最近记录: |