Type1MetricFont.Encoding
Type1MetricFont.Encoding property
Encoding is defined in metrics file. StandardAdobeEncoding: the encoding is populated automatically
public override IFontEncoding Encoding { get; }
Examples
FontSpecific: user should provide the specific encoding with following way:
string[] zapfDingbatsEncoding = new string[256] {null, null, ... , "space", "a1", ...};
FontEnvironment.Current.FontSpecificEncodings.RegisterEncoding("ZapfDingbats", zapfDingbatsEncoding);
System::ArrayPtr<System::String> zapfDingbatsEncoding = System::MakeArray<System::String>({nullptr, nullptr, …, u"space", u"a1", …}); FontEnvironment::get_Current()->get_FontSpecificEncodings()->RegisterEncoding(u"ZapfDingbats", zapfDingbatsEncoding);
See Also
- interface IFontEncoding
- class Type1MetricFont
- namespace Aspose.Font.Type1
- assembly Aspose.Font