Class FontMatcher

Class FontMatcher

名称: Aspose.Html.Rendering.Fonts 编辑: Aspose.HTML.dll (25.4.0)

此类允许您控制字体匹配算法的一些部分。

[ComVisible(true)]
public abstract class FontMatcher

Inheritance

object FontMatcher

继承人

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(FontMatching 属性, uint)

这个方法被称为如果没有适当的字体在字体搜索文件夹中找到。它应该返回基于 fontMatchingProperties" 的真实字体类型,如果没有这样的字体,则可以将 charCode" 或“null” 列出。

public abstract byte[] MatchFontFallback(FontMatchingProperties fontMatchingProperties, uint charCode)

Parameters

fontMatchingProperties FontMatchingProperties

相匹配字体的属性。

charCode uint

字符的代码,将使用相匹配的字体呈现。

Returns

byte ( )

包含字体数据或“零”的比特序列。

 中文