Class FontSubstitutionService
Namespace: Aurigma.DesignAtoms.Services
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class FontSubstitutionService : IFontSubstitutionService
Inheritance: System.Object -> FontSubstitutionService
Implements
Inherited Members
System.Object.ToStringSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.ReferenceEquals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseClone
Constructors
FontSubstitutionService
public FontSubstitutionService(IFontService fontService, IConfiguration configuration, IProductHandler productHandler)
Methods
SubstituteFonts
public ICollection<string> SubstituteFonts(Surface surface)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.Model.Surface | surface |
Returns
System.Collections.Generic.ICollection<System.String>
SubstituteFonts
public ICollection<string> SubstituteFonts(Product product)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.Model.Product | product |
Returns
System.Collections.Generic.ICollection<System.String>
SubstituteFonts
public ICollection<string> SubstituteFonts(GroupItem groupItem)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.Model.Items.GroupItem | groupItem |
Returns
System.Collections.Generic.ICollection<System.String>
SubstituteFonts
public ICollection<string> SubstituteFonts(BaseTextItem textItem)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.Model.Items.BaseTextItem | textItem |
Returns
System.Collections.Generic.ICollection<System.String>
AllFontsAvailable
public bool AllFontsAvailable(BaseTextItem textItem)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.Model.Items.BaseTextItem | textItem |
Returns
System.Boolean
ValidateSubstitutionFontPostScriptName
public void ValidateSubstitutionFontPostScriptName()