http://fashion.tcscope.com/index.php/20 ... 2-02-34-08The red color characters in Chinese is the custom fonts display correctly, the source code of this article:
<p>
服飾組畢展</p>
<div class="ct1">
<span style="color:#ff0000;">這是測試字體 use <div></span></div>
<p>
<span style="color:#ff0000;"><span class="ct1" style="">這是測試字體 use <span></span></span></p>
<div class="ct1">
<span style="color:#ff0000;"><span style="font-size: 30px;">這是測試字體依照參考師上輸入的</span></span></div>
so code(1) is working.
However, then I paste code(2) <div class="ct1"></div> between <body> </body> in in layouts/default.php
the Chinese font in this web should be show in custom font, but it is not working.
because the other font in webpage like menu, article title ... can not show the custom font .
here is the script get from justfont.com (the Chinese custom font service)
<script type="text/javascript">window.jfAsyncInit=function(){ctb.main({'appId':'d43748b0Tbfih8BBjb-d-IWl5kU8pnZkTCDwRgk2jT03b6oKpMX5GMrHVKl7FWHc7arbN1IAD-ZOANw85CzzULeAa3VJS1zR1_5kJI3Xb1005DxJ_YIxisxaH-Tvr8Aw1q0lvlILxTHrS4TkzYd8xggxuPGYR7Vuoq-Mj3XjevLdX55emRo='})};(function(){var c={'scriptTimeout':3000};var h=document.getElementsByTagName("html")[0];h.className+=" jf-loading";var e=setTimeout(function(){h.className=h.className.replace(/(\s|^)jf-loading(\s|$)/g," ");h.className+=" jf-inactive"},c.scriptTimeout);var jf=document.createElement("script");var d=false;jf.type="text/javascript";jf.async=true;jf.src='http://ds.justfont.com/core/js/v1.0/d43748b0Tbfih8BBjb-d-IWl5kU8pnZkTCDwRgk2jT03b6oKpMX5GMrHVKl7FWHc7arbN1IAD-ZOANw85CzzULeAa3VJS1zR1_5kJI3Xb1005DxJ_YIxisxaH-Tvr8Aw1q0lvlILxTHrS4TkzYd8xggxuPGYR7Vuoq-Mj3XjevLdX55emRo=.js';jf.onload=jf.onreadystatechange=function(){var a=this.readyState;if(d||a&&a!="complete"&&a!="loaded"){return}d=true;clearTimeout(e)};var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(jf,s)})();</script>