Symbolic font are not set to Report control. |
Post Reply |
Author | |
Makarand
Senior Member Joined: 27 February 2007 Location: India Status: Offline Points: 140 |
Post Options
Thanks(0)
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
|
|
Makarand
Senior Member Joined: 27 February 2007 Location: India Status: Offline Points: 140 |
Post Options
Thanks(0)
|
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
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |