OH_Drawing_FontDescriptor
typedef struct {...} OH_Drawing_FontDescriptor
Overview
This struct describes the detailed information about a system font.
Since: 12
Related module: Drawing
Header file: drawing_text_typography.h
Total
Member Variables
| Name | Description |
|---|---|
| char* path | File path of the system font. |
| char* postScriptName | PostScript name that uniquely identifies the system font. |
| char* fullName | Full name of the system font. |
| char* fontFamily | Family of the system font. |
| char* fontSubfamily | Subfamily of the system font. |
| int weight | Weight of the system font. |
| int width | Width of the system font. |
| int italic | Slope of the system font. |
| bool monoSpace | Whether the system font is monospaced. true means yes; false otherwise. |
| bool symbolic | Whether the system font supports symbols. true means yes; false otherwise. |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 capi-drawing-gpu-context-h
openharmony 鸿蒙 capi-drawing-nativepixelmap-
openharmony 鸿蒙 capi-nativevsync-oh-nativevsync-expectedraterange
openharmony 鸿蒙 capi-drawing-oh-drawing-brush
openharmony 鸿蒙 capi-drawing-oh-drawing-image-info
openharmony 鸿蒙 capi-drawing-text-linetypography-h
openharmony 鸿蒙 capi-oh-nativeimage-oh-nativeimage
openharmony 鸿蒙 capi-drawing-typeface-h