共用方式為


IDWriteFontFallback1::MapCharacters 方法 (dwrite_3.h)

語法

HRESULT MapCharacters(
  IDWriteTextAnalysisSource    *analysisSource,
  UINT32                       textPosition,
  UINT32                       textLength,
  IDWriteFontCollection        *baseFontCollection,
  WCHAR const                  *baseFamilyName,
  DWRITE_FONT_AXIS_VALUE const *fontAxisValues,
  UINT32                       fontAxisValueCount,
  UINT32                       *mappedLength,
  FLOAT                        *scale,
  IDWriteFontFace5             **mappedFontFace
);

參數

analysisSource

textPosition

textLength

baseFontCollection

baseFamilyName

fontAxisValues

fontAxisValueCount

mappedLength

scale

mappedFontFace

規格需求

需求
最低支援的用戶端 Windows 10 版本 1809 (Windows 應用程式 SDK 0.5 或更新版本)
標頭 dwrite_3.h