• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Font Management Error Codes
2
3> **NOTE**
4>
5> This topic describes only module-specific error codes. For details about universal error codes, see [Universal Error Codes](../errorcode-universal.md).
6
7## 31100101 Font File Not Exist
8
9**Error Message**
10
11Font does not exist.
12
13**Symptom**
14
15This error code is reported input font file path does not exist.
16
17**Possible Causes**
18
19The font file path is incorrect.
20
21**Solution**
22
23Ensure that the input file is in **.ttf** or **.ttc** format and the path is correct.
24
25## 31100102 Failed to Install Font File
26
27**Error Message**
28
29Font is not supported.
30
31**Symptom**
32
33This error code is reported if the input file is not a font file, leading to an installation failure.
34
35**Possible Causes**
36
371. The input file is not in **.ttf** or **.ttc** format.
382. The file content does not comply with the font file specifications.
39
40**Solution**
41
42Ensure that the input file is in **.ttf** or **.ttc** format.
43
44## 31100103 Failed to Copy Font File
45
46**Error Message**
47
48Font file copy failed.
49
50**Symptom**
51
52This error code is reported if copying the font file fails during installation.
53
54**Possible Causes**
55
56An exception occurs during font file copying.
57
58**Solution**
59
60Try again, or restart the device and try again.
61
62## 31100104 Font File Already Installed
63
64**Error Message**
65
66Font file installed.
67
68**Symptom**
69
70This error code is reported if the input font file has been installed.
71
72**Possible Causes**
73
74The input font file has been installed, and the font name is duplicate.
75
76**Solution**
77
78Uninstall the existing font with the same name and reinstall the font file.
79
80## 31100105 Number of Installed Font Files Reaching the Maximum
81
82**Error Message**
83
84Exceeded maximum number of installed files.
85
86**Symptom**
87
88This error code is reported if the number of installed font files reaches the maximum.
89
90**Possible Causes**
91
92The number of installed font files reaches the maximum (200).
93
94**Solution**
95
96Uninstall unnecessary font files and try again.
97
98## 31100106 Font File Installation Failed Due to Other Errors
99
100**Error Message**
101
102Other error.
103
104**Symptom**
105
106This error code is reported if the font file installation fails because of a system error.
107
108**Possible Causes**
109
110An exception occurs during font installation.
111
112**Solution**
113
114Try again, or restart the device and try again.
115
116## 31100107 Uninstalled Font File Not Exist
117
118**Error Message**
119
120Font file does not exist.
121
122**Symptom**
123
124This error code is reported if the font file to be uninstalled does not exist.
125
126**Possible Causes**
127
128The font file to be uninstalled has not been installed, or the input font file name is incorrect.
129
130**Solution**
131
132Check whether the input font name is correct. If not, correct it and try again.
133
134## 31100108 Failed to Delete Font File
135
136**Error Message**
137
138Font file delete error.
139
140**Symptom**
141
142This error code is reported if deleting the font file fails during uninstallation.
143
144**Possible Causes**
145
146An exception occurs during uninstallation.
147
148**Solution**
149
150Try again, or restart the device and try again.
151
152## 31100109 Uninstallation Failed Due to Other Errors
153
154**Error Message**
155
156Other error.
157
158**Symptom**
159
160This error code is reported if the font file uninstallation fails because of a system error.
161
162**Possible Causes**
163
164An exception occurs during uninstallation.
165
166**Solution**
167
168Try again, or restart the device and try again.
169