![]() ![]() If the font is not available, Embedded Wizard will use an alternative, as far as possible similar font and report the corresponding warning in the Log window. The TrueType font, you intent to choice, has to be installed on your Microsoft Windows system. This may differ when using other language version of Microsoft Windows. For example, when running Embedded Wizard on a German version of Microsoft Windows we can select the italic version of the Arial font by specifying the name Arial Kursiv in the attribute FontName. With this approach please note, that TrueType font names are often localized. For example, to configure the font resource as containing the font Arial italic, you have to specify the name Arial in the attribute FontName and set the attribute Italic to the value true.Īlternatively, instead of setting the attributes Italic or Bold you can specify the desired style together with the font name in the attribute FontName. The desired font style, in turn, is determined by the both attributes Bold and Italic. The TrueType fonts to include by the font resource are specified in its attribute FontName. Moreover, font resources are stored statically and can not be modified at the runtime. Also please note, a font resource member can exist only within a unit member. You have to explicitly specify also the range of glyphs (the characters) you want to display at the runtime with the font. This approach is optimal for embedded systems without a TrueType engine.įor every font resource you have to configure the desired font size, the font family name and its optional style (bold and/or italic). It includes the glyph rasterization and compression. The temporarily installed fonts are available for Embedded Wizard only and have no impact on other Windows applications running on your system.ĭuring code generation the fonts are automatically converted in a format optimized for the particular target system. As soon as you close the project, the fonts are removed again. Just in the moment when you open the project in Embedded Wizard, the found font files will be installed automatically. OTF) within the folder of your Embedded Wizard project or within a folder containing one of your units. For this purpose, store the TrueType font files (. OTF) in Windows file explorer and in the context menu you activate the command Install.Īn alternative approach permits you to install the necessary TrueType fonts temporarily just for the while when you are working on your project with Embedded Wizard. For this purpose, you select the affected font file (. Usually you will install the necessary TrueType fonts permanently by using Microsoft Windows own functionality. ![]() Font resource members are represented in Composer by following bricks:Įmbedded Wizard can use TrueType fonts only if these have been installed previously on your development computer. Thereupon views like the text view or the attributed text view can use the fonts to render the text. With the font resource member you can add new fonts to your project. ![]()
0 Comments
Leave a Reply. |