Aspose::Font::Cff::CffEncoding::UnicodeToGid 方法。
CffEncoding::UnicodeToGid method
解码 Unicode 并返回字形 ID。字形 ID 是字形的唯一编号,取决于字体类型。CFF Font 的字形 ID 可以是 (GlyphStringId) 类或 (GlyphUInt32Id) 类的实例。
System::SharedPtr<Glyphs::GlyphId> Aspose::Font::Cff::CffEncoding::UnicodeToGid(uint32_t unicode) override
| 参数 | 类型 | 描述 |
|---|---|---|
| unicode | uint32_t | 用于获取字形标识符的 Unicode。 |
ReturnValue
与传入的 Unicode 相关的字形标识符。
另见
- Typedef SharedPtr
- Class GlyphId
- Class CffEncoding
- Namespace Aspose::Font::Cff
- Library Aspose.Font for C++