共用方式為


IDWriteFontFallbackBuilder::AddMapping 方法 (dwrite_2.h)

語法

HRESULT AddMapping(
  DWRITE_UNICODE_RANGE const *ranges,
  UINT32                     rangesCount,
  WCHAR const                **targetFamilyNames,
  UINT32                     targetFamilyNamesCount,
  IDWriteFontCollection      *fontCollection,
  WCHAR const                *localeName,
  WCHAR const                *baseFamilyName,
  FLOAT                      scale
);

參數

ranges

rangesCount

targetFamilyNames

targetFamilyNamesCount

fontCollection

localeName

baseFamilyName

scale

規格需求

需求
標頭 dwrite_2.h