## CffEncoding::Encode method


Encodes the glyph. Not supported for CFF [Font](../../../aspose.font/font/) types.

```cpp
void Aspose::Font::Cff::CffEncoding::Encode(uint32_t gid, uint32_t charCode) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| gid | uint32_t | Glyph id. |
| charCode | uint32_t | CharCode associated with the glyph id. |

## See Also

* Class [CffEncoding](../)
* Namespace [Aspose::Font::Cff](../../)
* Library [Aspose.Font for C++](../../../)
