• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Font Manager
2## Introduction
3
4The font management module provides the ability to install and uninstall fonts for system applications.
5
6**Figure 1**   Architecture of the font management component
7
8![](figures/font_manager_en.png)
9
10The font management component architecture is described as follows:
11
12- Font management module, which provides third-party font installation and uninstallation interfaces for system applications.
13- Font management Napi layer (font_manager_napi) is responsible for registering and converting ArkTS interfaces to C++ interfaces.
14- The font management client (font_manager_client) interacts with the server for preliminary parameter check.
15- The font management server (font_manager_server) interacts with the client, verifies permission, and installs and uninstalls font.
16## Directory Structure
17
18The directory structure of the fontmanager module is as follows:
19
20```
21/base/global/
22├── font_manager            # Code repository for the Resmgr module
23│   ├── frameworks          # Core code
24│   │   ├── fontmgr         # Core code
25│   │   │   ├── include     # Header files
26│   │   │   ├── src         # Implementation code
27│   │   │   └── test        # Test code
28│   ├── interfaces          # APIs
29│   │   └── js/kits         # ArkTS APIs
30│   ├── sa_profile          # SystemAbility configuration files
31│   ├── service             # client,server
32│   │   └── include         # Header files
33│   │   └── src             # Implementation code
34```
35
36## Constraints
37
38**Development language**:ArkTS
39
40## Repositories Involved
41
42Globalization subsystem
43
44global\_i18n\_standard
45
46**global/font_manager**
47