Print Page | Close Window

Symbolic font are not set to Report control.

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=22198
Printed Date: 12 June 2025 at 3:35am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Symbolic font are not set to Report control.
Posted By: Makarand
Subject: Symbolic font are not set to Report control.
Date Posted: 10 February 2014 at 12:49am
Hello,

We have report control which is Virtual mode implementation. We have customize setting for columns where user can set any font to any column. For this we have following code in GetItemMetrics(..) to set the font to the records of respective column (Fonts are saved in our DB).

pDrawArgs->pItem->SetFont(..) 

We create CFont pointer object for each column, in this way we could set the customized fount for the columns.

Recently one of our customer reported issue with Symbolic font such as (Bookshelf Symbol 7, Marlett, MS Reference Specialty, Wingdings) are not set to the report control.

Some how report control is not setting Symbolic font. We tried markup string but it open another issues such as Tooltip, special char beaks markup format etc.

Any Suggestion?

Regards,
-Mak



Replies:
Posted By: Makarand
Date Posted: 11 February 2014 at 7:34am
Hello, 

I am able to fix the issue. Problem with the LPLOGFONT structure where lfCharSet is not set.
lfCharSet is zero that menace ANSI_CHARSET: Specifies the English character set.
By setting lfCharSet = DEFAULT_CHARSET able to see the Wingdings font to the records.

Regards,
-Mak



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