openharmony 鸿蒙 capi-drawing-oh-drawing-fontdescriptor

2026-08-25 浏览 (1)

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

NameDescription
char* pathFile path of the system font.
char* postScriptNamePostScript name that uniquely identifies the system font.
char* fullNameFull name of the system font.
char* fontFamilyFamily of the system font.
char* fontSubfamilySubfamily of the system font.
int weightWeight of the system font.
int widthWidth of the system font.
int italicSlope of the system font.
bool monoSpaceWhether the system font is monospaced. true means yes; false otherwise.
bool symbolicWhether 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

openharmony 鸿蒙 capi-drawing-brush-h

openharmony 鸿蒙 capi-nativewindow

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/DRTqSqBe