There are often wordpress English themes do not show the title of the article, the reason is that the English theme designers like to use cufon font effects , resulting in Chinese can not be displayed, Cufon font effect JS code is mainly the text in the form of pictures display, But its disadvantage is: only support English characters and numbers, and other words can only and he said goodbye, Chinese is no exception, below we look at the Cufon font effect is where the sacred.
What is Cufon?
Cufon is a pure JavaScript open source Class library (cufon-yui.js) that is used to replace the SIFR framework for rendering text fonts in Web pages.
Why do you use Cufon
In web development, there is often a "clash" of fonts (font Family) conflicts. The usual conflict always breaks out between the designer and the developer (coder) of the Web page. In many cases, designers of Web pages tend to use some "special" fonts and effects in their page designs to demonstrate their superior design capabilities. For example, the design of a company's logo, some special fonts on the image from the PS font, of course, the text displayed on the image is definitely no problem, but if you want to use text in the Web page to display these effects, it will make developers crazy, because the browser does not support all fonts, This situation will cufon.
Cufon Implementation principle
The implementation strategy of CUFON technology is actually to use a certain standard, "draw" the text characters that need to be displayed in the relevant position of the webpage, and replace the text that the original area needs to display at the same time. Use the browser's proprietary page painting scheme, such as VML, Canvas, and SVG, to paint the page.
WordPress English Theme does not display Chinese solution:
Find the Cufon.replace word in the WordPress theme and delete it.
WordPress English Theme does not display the reason for Chinese: cufon font effects