目录

Introduction to Text Development

During application development and layout, you need to typeset, measure, draw, and display text elements and content. The font engine framework provides a series of APIs for text layout and font management.

Capabilities

Figure 1 Font engine capabilities

The font engine framework supports shaping, typography, measurement, drawing, and display of text elements such as text, emoji, and placeholder in applications.

You can implement font engine capabilities either in ArkTS or C/C++.

The text-related capabilities are described as follows:

Workflow

The following figure shows the workflow of text drawing and measurement. Use the corresponding capability APIs on the ArkTS and Native sides.

Figure 2 Workflow of text measurement and drawing