Aspose::Font::Type1::Type1Encoding::Encode 方法
Type1Encoding::Encode method
对字形进行编码。对于 TTF 字体,字符码是 Unicode。C++ 中不支持 Type1Font 类型。
void Aspose::Font::Type1::Type1Encoding::Encode(uint32_t gid, uint32_t charCode) override
| 参数 | 类型 | 描述 |
|---|---|---|
| gid | uint32_t | 字形 id。 |
| charCode | uint32_t | 与字形 id 关联的字符码。 |
另见
- Class Type1Encoding
- Namespace Aspose::Font::Type1
- Library Aspose.Font for C++