BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Set Bold and Italic attributes for Chinese Font in Delphi

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internationalization
View previous topic :: View next topic  
Author Message
Kate
Guest





PostPosted: Tue Jul 06, 2004 7:12 pm    Post subject: Set Bold and Italic attributes for Chinese Font in Delphi Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internationalization All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.