I have apply the Use ANy Fonts plugin on my client web site. It was working properly, until I have adjust some code on the theme header file. I have add a PHP code to add lang attribute inside the HTML tag, then the font applied area are all return to system default font.
Any help on this situation? While the HTML tag contains LANG=”zh-hant” attribute, the Use Any font functions are all gone, no selected font applies properly any more.
I must add HTML Lang Attribute for some CSS Styling on specific pages with Chinese language. The CSS must accessing the language attribute at the HTML tag.
I have tried to delete all uploaded fonts, then rename the font file names in all lowercase. Re-uploaded all renamed fonts and tried anything again. The result is no help. While the HTML tag contains LANG attribute, the Use Any Font plugin features gone. All Chinese page font returns to default font.
I have found the critical issue of this situation. Those fonts doesn’t work properly are carries with Chinese/Kanji Full Font Name. The Chinese/Kanji may only part of their name, but it might cause the Use Any Font plug-in cannot functioning well.