Class FontMatcher
Namespace: Aspose.Svg.Rendering.Fonts
Assembly: Aspose.SVG.dll (25.8.0)
This class allows you to control some parts of the font matching algorithm.
[ComVisible(true)]
public abstract class FontMatcherInheritance
Inherited Members
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
FontMatcher()
protected FontMatcher()Methods
MatchFontFallback(FontMatchingProperties, int)
This method is called if there is no appropriate font found in the fonts lookup folders.
It should return true type font based on the fontMatchingProperties which can render charCode, or null if such font is not available.
public abstract byte[] MatchFontFallback(FontMatchingProperties fontMatchingProperties, int charCode)Parameters
fontMatchingProperties FontMatchingProperties
Properties of the matched font.
charCode int
Code of the character which will be rendered using the matched font.
Returns
byte []
A byte array containing the fonts data or null.