1# OH_Drawing_FontDescriptor 2 3 4## Overview 5 6The **OH_Drawing_FontDescriptor** struct describes the detailed information about a system font. 7 8**Since**: 12 9 10**Related module**: [Drawing](_drawing.md) 11 12 13## Summary 14 15 16### Member Variables 17 18| Name| Description| 19| -------- | -------- | 20| char \* [path](#path) | File path of the system font.| 21| char \* [postScriptName](#postscriptname) | PostScript name that uniquely identifies the system font.| 22| char \* [fullName](#fullname) | Full name of the system font.| 23| char \* [fontFamily](#fontfamily) | Family of the system font.| 24| char \* [fontSubfamily](#fontsubfamily) | Subfamily of the system font.| 25| int [weight](#weight) | Weight of the system font.| 26| int [width](#width) | Width of the system font.| 27| int [italic](#italic) | Slope of the system font.| 28| bool [monoSpace](#monospace) | Whether the system font is monospaced. The value **true** means that the system font is monospaced, and **false** means the opposite.| 29| bool [symbolic](#symbolic) | Whether the system font supports symbols. The value **true** means that the system font supports symbols, and **false** means the opposite.| 30 31 32## Member Variable Description 33 34 35### fontFamily 36 37``` 38char* OH_Drawing_FontDescriptor::fontFamily 39``` 40 41**Description** 42 43Family of the system font. 44 45 46### fontSubfamily 47 48``` 49char* OH_Drawing_FontDescriptor::fontSubfamily 50``` 51 52**Description** 53 54Subfamily of the system font. 55 56 57### fullName 58 59``` 60char* OH_Drawing_FontDescriptor::fullName 61``` 62 63**Description** 64 65Full name of the system font. 66 67 68### italic 69 70``` 71int OH_Drawing_FontDescriptor::italic 72``` 73 74**Description** 75 76Slope of the system font. 77 78 79### monoSpace 80 81``` 82bool OH_Drawing_FontDescriptor::monoSpace 83``` 84 85**Description** 86 87Whether the system font is monospaced. The value **true** means that the system font is monospaced, and **false** means the opposite. 88 89 90### path 91 92``` 93char* OH_Drawing_FontDescriptor::path 94``` 95 96**Description** 97 98File path of the system font. 99 100 101### postScriptName 102 103``` 104char* OH_Drawing_FontDescriptor::postScriptName 105``` 106 107**Description** 108 109PostScript name that uniquely identifies the system font. 110 111 112### symbolic 113 114``` 115bool OH_Drawing_FontDescriptor::symbolic 116``` 117 118**Description** 119 120Whether the system font supports symbols. The value **true** means that the system font supports symbols, and **false** means the opposite. 121 122 123### weight 124 125``` 126int OH_Drawing_FontDescriptor::weight 127``` 128 129**Description** 130 131Weight of the system font. 132 133 134### width 135 136``` 137int OH_Drawing_FontDescriptor::width 138``` 139 140**Description** 141 142Width of the system font. 143