Back to Website
Show / Hide Table of Contents

Interface IFontService

Package: @aurigma/design-atoms

Properties

availableFontsByPsName

Declaration
availableFontsByPsName: {
        [psName: string]: IFontData;
    };
Property Value
Type Description
{ [psName: string]: IFontData; }

Methods

findOriginalFamilyName(caseInsetiveFamilyName)

Declaration
findOriginalFamilyName(caseInsetiveFamilyName: string): string;
Parameters
Type Name Description
string caseInsetiveFamilyName
Returns
Type Description
string

findOriginalPsName(caseInsetivePsName)

Declaration
findOriginalPsName(caseInsetivePsName: string): string;
Parameters
Type Name Description
string caseInsetivePsName
Returns
Type Description
string

findSuitableFontParams(family, requireBold, requireItalic)

Declaration
findSuitableFontParams(family: string, requireBold: boolean, requireItalic: boolean): {
        postScriptName: string;
        fauxBold: boolean;
        fauxItalic: boolean;
    };
Parameters
Type Name Description
string family
boolean requireBold
boolean requireItalic
Returns
Type Description
{ postScriptName: string; fauxBold: boolean; fauxItalic: boolean; }

getCssFontFamily(family)

Declaration
getCssFontFamily(family: string): string;
Parameters
Type Name Description
string family
Returns
Type Description
string

getCssPsName(postScriptName)

Declaration
getCssPsName(postScriptName: string): string;
Parameters
Type Name Description
string postScriptName
Returns
Type Description
string

recognizeStyleByPsName(postScriptName)

Declaration
recognizeStyleByPsName(postScriptName: string): FontStyle;
Parameters
Type Name Description
string postScriptName
Returns
Type Description
FontStyle

waitInit()

Declaration
waitInit(): Promise<void>;
Returns
Type Description
Promise<void>
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback