complex scripts) it is required to render legible text. Not all scripts supported by Unicode need text shaping, but for others (a.k.a. Text shaping is an integral part of preparing text for display. The supported languages, text shaping features, and font file features vary depending on the chosen font engine. The text subsystem is capable of rendering text that contains characters from a variety of different writing systems at the same time. Languages and Writing SystemsĪs part of internationalization support, Qt Quick Ultralite provides input controls and text drawing methods that has built-in support for all writing systems supported by the chosen engine. It does not have any font processing overhead at run-time, because fonts are processed while building the application. It operates on a static precomputed data, with very fast lookup operations. On the other hand, the static font engine's advantage is its simplicity. Spark enables text scaling support at run-time, without compromising on performance and text quality. Moreover, an application developer need not do anything special to support dynamic text with Spark. This can be a natural requirement for internationalized applications. The advantage of Spark is its low memory requirements, especially when an application depends on a wide range of characters (for example, CJK characters). Qt for MCUs offering includes the static font engine and the Monotype Spark font engine. Read the font type documentation to learn about available APIs and font engine-specific details. These items have a font property for controlling the selected font configuration. In Qt Quick Ultralite, text is rendered to the screen using the Text and StaticText items.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |