• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# OH_Drawing_FontGenericInfo
2
3
4## Overview
5
6The OH_Drawing_FontGenericInfo struct describes the information about generic fonts supported by the system.
7
8**Since**: 12
9
10**Related module**: [Drawing](_drawing.md)
11
12**Header file**: [drawing_text_typography.h](drawing__text__typography_8h.md)
13
14## Summary
15
16
17### Member Variables
18
19| Name| Description|
20| -------- | -------- |
21| char \* [familyName](#familyname) | Pointer to the name of a font family. |
22| size_t [aliasInfoSize](#aliasinfosize) | Number of font aliases. |
23| size_t [adjustInfoSize](#adjustinfosize) | Number of font weight mappings. |
24| [OH_Drawing_FontAliasInfo](_o_h___drawing___font_alias_info.md) \* [aliasInfoSet](#aliasinfoset) | Pointer to a set of font aliases. |
25| [OH_Drawing_FontAdjustInfo](_o_h___drawing___font_adjust_info.md) \* [adjustInfoSet](#adjustinfoset) | Pointer to a set of font weight mappings. |
26
27
28## Member Variable Description
29
30
31### adjustInfoSet
32
33```
34OH_Drawing_FontAdjustInfo* OH_Drawing_FontGenericInfo::adjustInfoSet
35```
36**Description**
37
38Pointer to a set of font weight mappings.
39
40
41### adjustInfoSize
42
43```
44size_t OH_Drawing_FontGenericInfo::adjustInfoSize
45```
46**Description**
47
48Number of font weight mappings.
49
50
51### aliasInfoSet
52
53```
54OH_Drawing_FontAliasInfo* OH_Drawing_FontGenericInfo::aliasInfoSet
55```
56**Description**
57
58Pointer to a set of font aliases.
59
60
61### aliasInfoSize
62
63```
64size_t OH_Drawing_FontGenericInfo::aliasInfoSize
65```
66**Description**
67
68Number of font aliases.
69
70
71### familyName
72
73```
74char* OH_Drawing_FontGenericInfo::familyName
75```
76**Description**
77
78Pointer to the name of a font family.
79