 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Kate Guest
|
Posted: Tue Jul 06, 2004 7:12 pm Post subject: Set Bold and Italic attributes for Chinese Font in Delphi |
|
|
Hello all experts:
Could anyone know how to set Bold and Italic attributes for Chinese
Font in Delphi? In my Simplifed Windows 2000, I only found non-Bold
and Italic Chinese Fonts are installed, such as SimSun. I didn't find
SimSun Bold and SimSun Italic intalled in the Chinese system. We used
the following function:
EnumFontFamilies(DC, PChar(tf), @EnumFontFamProc2,
LongInt(Point(nil)): string;
But since SimSun Bold and SimSun Italic are not installed in the
system, it will disable Bold and Italic attributes for SimSun.
But it seems MS Word is able to set Bold and Italic attributes for the
Chinese Font in the same Chinese system.
Any hint or a piece of code is appreciate it!
Fang
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|