Aspose::Font::Ttf::TtfEncodingParameters class

TtfEncodingParameters class

表示 TTF 编码参数。

class TtfEncodingParameters : public Aspose::Font::IEncodingParameters

方法

方法描述
get_PlatformId() const获取 PlatformId 值。
get_PlatformSpecificId() const获取 PlatformSpecificId 值。
set_PlatformId(uint16_t)设置 PlatformId 值。
set_PlatformSpecificId(uint16_t)设置 PlatformSpecificId 值。
TtfEncodingParameters(uint16_t, uint16_t)初始化 TtfEncodingParameters 类的新实例。将 Platform Id、Platform-specific encoding id 作为参数。这些参数用于从主字体 CMap 表请求特殊的 CMap 子表,请参阅 OpenType Font 文件规范中的表 ‘CMap’、’name’。

备注

应用于从 TTF Font 请求特定编码。

另见