Skip to main content

Font Palette

Color

To anduse Fontspecific asfonts Templatein

Eacheach TextNode (the text brush), hasyou need to beconfigure configured for using:

    a specific Color a specific Font

    It is possible to define some color templates orthe font templates by using "Color Palette..." or "Font Palette..." that can be foundsettings in Solutionadvance. Options menu ("File" > "Solution Options").


    Color Palette

    By using the Color Palette many color templates can be saved and kept for future projects. The color templates can be used later to create other solutions and scenes without defining again the properties of a new color.

    drawing-4-1725599583.png


    Font Palette

    By using the Font Palette manyavailable in the Solution Options menu, you can create and manage font templates that define the font type, size, scale, face, and other font properties to be used.

    The created font templates can be savedapplied forto futureeach projects.TextNode Anythrough fontthe templatesText Style Editor and can be used lateracross to create otherall solutions and scenes during project development. This allows you to apply consistent font settings efficiently across multiple text elements without defining again the propertiesneed to specify the fonts individually each time.

    Font Palette UI

    drawing-4-1751006308.png
    1 Font Select the font to use. Choose from the fonts available in the system or within the project from the dropdown list. 2 Size Specify the font size in points. The larger the number, the larger the text will appear. 3 Scale X/Y

    Specify the scaling ratio for the horizontal (X) and vertical (Y) directions of athe newtext. font.

    The

    Fontdefault templatesvalue canis be1 customized(original withsize), followingand settings:

    setting
    it
    to
    2
    will
      Font: definesdouble the Canderawidth/height. pathThis option provides the optimal way to scale text without pixelating the glyphs.
      4 Face

      Select the style included in the font (typeface)such

      Size:as representsRegular, Bold, Italic). This can be used when the size of the glyphs expressed in points (a point is 1/72 of an inch) Face: defines the index (zero-based) of theselected font face.contains Allmultiple supportedstyles. font types (exceptFor TTC - True Type Font Container) have only one face so this field should be set to 0.
      Note: For the TTC fontsfonts, it is recommended to create aindividual distinct stylestyles for each face storedincluded inwithin the font. ScaleX and5 ScaleY:Blur representEffect the scaling factor on the X and respectively Y axis for the glyphs.
      Note: 

      The usageBlur of ScaleX and ScaleY factorsEffect is thea optimumfunction waythat to scale the glyphs without pixelation.

      drawing-4-1676338920.png




      Color Preview

      Selectingadds a colorglow from the Properties panel will apply the selected coloreffect to the elementsfont. asIt previewcan beforebe closingused to enhance visibility or to add design accents by applying a soft glow around the editor.text. 

      • TheGlow: elementEnables the glow effect when checked.
      Width: Specifies the width of the objectglow shouldeffect. be selected on the Scene Tree. All its material colors propertiesIt can be set byin five levels, with higher values creating a wider glow. Opacity: Specifies the opacity of the glow effect. 100% is fully opaque, while 0% is fully transparent.

      For details about this option, please refer to here.

      /6 Import fonts Import external font files into the project. Supports formats such as *.ttf and *.otf. 7 Save Save the current settings as a new font definition. It will be registered under a different name from existing definitions. 8 Update Overwrite and update the selected font definition with the current settings. 9 Delete Delete the selected font definition. Note that deletion is irreversible. 10 Rename Rename the selected font definition. The name will serve as the identifier when using the Colorfont palette. The Color palette opens when any type of color - Ambient/Diffuse/Emissive/Specular - is selectedsettings in the PropertiesText panel.Style Editor and other areas.

       

      Procedure to Enable the Blur Effect

      This option can only be configured when CANDERA_FONTENGINE is set to MonoType. If any other setting is used, this option will not be displayed and cannot be utilized.

      Configuring the CGI Studio Build Environment (CMake)

        Open the CMake configuration for your CGI Studio project.

          Please refer to this page for information on the source directory to specify when using CMake.

          Any modification of

          Set the colorCANDERA_FONTENGINE CMake flag to MonoType.

            Please refer to this page for instructions on how to configure MonoType using CMake.

            Use CMake to “Configure” the changes and then “Generate” the solution files.

            Building SCHost.dll

              Open the generated Visual Studio solution (e.g., Player.sln).

              Build the SCHost project.

              Ensure that Scene Composer is not running before starting the build.

                Copy the built SCHost.dll to the directory where the Scene Composer executable resides.

                If the CMake variable CGIAPP_SCENE_COMPOSER_PATH is properly configured, the DLL will be previewedautomatically beforecopied closingto the editor.directory containing the Scene Composer executable.

                If it is not configured, you will need to copy the DLL manually.

                drawing-5-1716561570.png

                If thereyou are some color templates previously created, they can be used on any object by selecting them fromusing the Color64-bit Paletteversion comboof boxScene Composer, ensure that SCHost.dll is also built as a 64-bit DLL.

                After completing the above steps, launch Scene Composer and confirm that the Blur Effect option is displayed in the Material'sSolution sectionOptions on> Properties.Font Palette dialog box.

                drawing-5-1716561673.png