Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

User created reports and font charset

edited November 2006 in General
I'm trying to determine if the current end user report designer allows the
user to specify the FontCharSet with the font. The project I'm working on is
currently using version 7 of RB. The only font options are the basics.

It is able to work on design-time reports where the font property is
exposed.

The issue is that we need to support the Thai language (for certain columns
only) and have all the Delphi needs identified but cannot find a solution
for user defined RB reports.

Any help is appreciated,
-Mark E.

Comments

  • edited November 2006

    Check out the TppFontList class defined in ppUtils.pas. This class is used
    by RB to get a list of fonts installed on the machine. TppFontList builds a
    list of available fonts by calling the Windows API which return a list of
    the fonts installed on the machine. TppFontList contains a list of
    TppFontInfo objects that contain properties for FontName and CharSet. These
    objects are used to assign the TFont properties to RB's text components.


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited November 2006
    Nard,

    Thanks for the response. I'm not sure that it really addresses my issue.
    Please correct me if I'm wrong.

    I know how to make it work programmatically when in Delphi. My issue is the
    that the end-user report designer. When the user creates their own custom
    report that we never see, is it possible to make a specific DBText control
    (not all controls) support the THAI_CHARSET? I haven't found a way to do
    that. If it *is* possible, which version of RB is needed?

    Thank you,
    -Mark E.

  • edited November 2006


    Perhaps if you explaing main about what/how you do this in Delphi I can
    understand what you are trying to do.


    How do you know which DBText components need to support Thai? You mean you
    want the Thai Font to appear in the list of font names on the format toolbar
    drop down list? Or you want to programmatically assign a font?

    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.