1# OH_Drawing_FontDescriptor
2
3
4## 概述
5
6描述系统字体详细信息的结构体。
7
8**起始版本:** 12
9
10**相关模块:**[Drawing](_drawing.md)
11
12
13## 汇总
14
15
16### 成员变量
17
18| 名称 | 描述 |
19| -------- | -------- |
20| char \* [path](#path) | 系统字体的文件路径。 |
21| char \* [postScriptName](#postscriptname) | 唯一标识字体的名称。 |
22| char \* [fullName](#fullname) | 系统字体的名称。 |
23| char \* [fontFamily](#fontfamily) | 系统字体的字体家族。 |
24| char \* [fontSubfamily](#fontsubfamily) | 系统字体的子字体家族。 |
25| int [weight](#weight) | 系统字体的粗细程度。 |
26| int [width](#width) | 系统字体的宽窄风格属性。 |
27| int [italic](#italic) | 系统字体倾斜度。 |
28| bool [monoSpace](#monospace) | 系统字体是否紧凑,true表示字体紧凑,false表示字体非紧凑。 |
29| bool [symbolic](#symbolic) | 系统字体是否支持符号字体,true表示支持符号字体,false表示不支持符号字体。 |
30
31
32## 结构体成员变量说明
33
34
35### fontFamily
36
37```
38char* OH_Drawing_FontDescriptor::fontFamily
39```
40
41**描述**
42
43系统字体的字体家族
44
45
46### fontSubfamily
47
48```
49char* OH_Drawing_FontDescriptor::fontSubfamily
50```
51
52**描述**
53
54系统字体的子字体家族
55
56
57### fullName
58
59```
60char* OH_Drawing_FontDescriptor::fullName
61```
62
63**描述**
64
65系统字体的名称
66
67
68### italic
69
70```
71int OH_Drawing_FontDescriptor::italic
72```
73
74**描述**
75
76系统字体倾斜度
77
78
79### monoSpace
80
81```
82bool OH_Drawing_FontDescriptor::monoSpace
83```
84
85**描述**
86
87系统字体是否紧凑,true表示字体紧凑,false表示字体非紧凑
88
89
90### path
91
92```
93char* OH_Drawing_FontDescriptor::path
94```
95
96**描述**
97
98系统字体的文件路径
99
100
101### postScriptName
102
103```
104char* OH_Drawing_FontDescriptor::postScriptName
105```
106
107**描述**
108
109唯一标识字体的名称
110
111
112### symbolic
113
114```
115bool OH_Drawing_FontDescriptor::symbolic
116```
117
118**描述**
119
120系统字体是否支持符号字体,true表示支持符号字体,false表示不支持符号字体
121
122
123### weight
124
125```
126int OH_Drawing_FontDescriptor::weight
127```
128
129**描述**
130
131系统字体的粗细程度
132
133
134### width
135
136```
137int OH_Drawing_FontDescriptor::width
138```
139
140**描述**
141
142系统字体的宽窄风格属性
143