Skip to content

vyaz-monorepo / core/src / makeFontToken

Function: makeFontToken()

makeFontToken(run, effectiveFontSize): string

Defined in: core/src/compile/ParagraphCompiler.ts:45

Font token for pretext: "${style}${weight}${fontSize}_${family}"

Parameters

run

TextRun

effectiveFontSize

number

Returns

string

Released under the MIT License.