---
title: "Aspose::Font::Cff::CffFontMetrics::GetGlyphWidth method"
url: "https://reference.aspose.com/font/cpp/aspose.font.cff/cfffontmetrics/getglyphwidth/"
product: "Aspose.Font for C++"
description: "Aspose::Font::Cff::CffFontMetrics::GetGlyphWidth method. Returns glyph width. May be overridden by specific Font encoding inheritors in C++."
---

## CffFontMetrics::GetGlyphWidth method


Returns glyph width. May be overridden by specific [Font](../../../aspose.font/font/) encoding inheritors.

```cpp
double Aspose::Font::Cff::CffFontMetrics::GetGlyphWidth(System::SharedPtr<Glyphs::GlyphId> glyphId) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| glyphId | System::SharedPtr\<Glyphs::GlyphId\> | Glyph identifier. |

### ReturnValue

Glyph width.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [GlyphId](../../../aspose.font.glyphs/glyphid/)
* Class [CffFontMetrics](../)
* Namespace [Aspose::Font::Cff](../../)
* Library [Aspose.Font for C++](../../../)
