IDWriteFontFallbackBuilder.AddMapping

<summary> Appends a single mapping to the list. Call this once for each additional mapping. </summary> <param name="ranges">Unicode ranges that apply to this mapping.</param> <param name="rangesCount">Number of Unicode ranges.</param> <param name="localeName">Locale of the context (e.g. document locale).</param> <param name="baseFamilyName">Base family name to match against, if applicable.</param> <param name="fontCollection">Explicit font collection for this mapping (optional).</param> <param name="targetFamilyNames">List of target family name strings.</param> <param name="targetFamilyNamesCount">Number of target family names.</param> <param name="scale">Scale factor to multiply the result target font by.</param> <returns> Standard HRESULT error code. </returns>

interface IDWriteFontFallbackBuilder
HRESULT
AddMapping
(
const(DWRITE_UNICODE_RANGE)* ranges
,,
const(WCHAR*)* targetFamilyNames
,,
IDWriteFontCollection fontCollection = null
,
const(WCHAR)* localeName = null
,
const(WCHAR)* baseFamilyName = null
,
FLOAT scale = 1.0f
)

Meta