带有 latin-ext 字符的 wordpress 网站在移动浏览器上显示空框而不是 latin-ext 字符
wordpress site with latin-ext characters shows empty boxes instead of latin-ext chars on mobile browsers
桌面显示器一切正常。然而,我只是从我的手机上检查了它,我得到了类似于 U+2599
的东西,而不是到处都是 š、đ、ć、č 和 ž!为什么?
这就是我在mz中调用字体的方式functions.php
<?php
// Add your custom functions here excluded: |Roboto+Slab:400,300,700&subset=latin,latin-ext
function sparkling_google_fonts() {
wp_deregister_style( 'sparkling-fonts' );
wp_register_style( 'sparkling-googele-fonts', '//fonts.googleapis.com/css?family=Open+Sans:400,600|Oswald:700|Roboto+Slab:400,300,700&subset=latin,latin-ext');
}
add_action( 'wp_enqueue_scripts', 'sparkling_google_fonts' );
?>
非常感谢任何帮助。
问题是许多移动设备没有安装完整的字体集。除了避免这些字符,您无能为力。
桌面显示器一切正常。然而,我只是从我的手机上检查了它,我得到了类似于 U+2599
的东西,而不是到处都是 š、đ、ć、č 和 ž!为什么?
这就是我在mz中调用字体的方式functions.php
<?php
// Add your custom functions here excluded: |Roboto+Slab:400,300,700&subset=latin,latin-ext
function sparkling_google_fonts() {
wp_deregister_style( 'sparkling-fonts' );
wp_register_style( 'sparkling-googele-fonts', '//fonts.googleapis.com/css?family=Open+Sans:400,600|Oswald:700|Roboto+Slab:400,300,700&subset=latin,latin-ext');
}
add_action( 'wp_enqueue_scripts', 'sparkling_google_fonts' );
?>
非常感谢任何帮助。
问题是许多移动设备没有安装完整的字体集。除了避免这些字符,您无能为力。