|
|
#1 |
|
Senior Member
Join Date: Oct 2007
Location: Shanghai, China
Posts: 207
|
Get locale font name of a TTF file
I have tried the FontName plugin, but the name it got is not what I want. It got the English name of the font. If I copy a ttf file to the Fonts folder, first I will see the Chinese name of the font in Fonts of Control Pannel, and also in the registry key "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" I can find that the Chinese name, such as "微软雅黑 (TrueType)", of the font. But when using the FontName plugin I will only got the name "Microsoft Yahei".
If I inst the ttf file to fonts directory, I just need to copy the ttf file to there and using: PHP Code:
PHP Code:
Last edited by jiake; 5th May 2010 at 09:43. |
|
|
|
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|