Print Page | Close Window

Japanese charactor error

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=18222
Printed Date: 24 November 2024 at 11:24pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Japanese charactor error
Posted By: zaozao
Subject: Japanese charactor error
Date Posted: 14 April 2011 at 7:11am
My RibbonBar doesn't display Japanese chracter correctry like this:
http://forum.codejock.com/forum_posts.asp?TID=12153&KW=japanese&title=font-error-of-ribbon-bar-when-install-office-2007 - http://forum.codejock.com/forum_posts.asp?TID=12153&KW=japanese&title=font-error-of-ribbon-bar-when-install-office-2007
 
I use ToolkitPro v13.4.2.
I can't find the line "lf.lfCharSet = ncm.lfMenuFont.lfCharSet;"
How can I fix this problem?
If I must patch  void CXTPRibbonTheme::UpdateFonts() method, Please teach me how to do.



Replies:
Posted By: kylechen
Date Posted: 17 October 2011 at 3:53am

Hey, Zaozao, have you got this solved? I'm facing the same problem... Thanks.



Posted By: kylechen
Date Posted: 18 October 2011 at 4:47am
I fixed the problem. Mark here
Call "XTPResourceManager()->SetResourceFontCharset(TRUE);" after you call "XTPResourceManager()->SetResourceFile(....japanese resource dll file name here....)"



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net