---
Product: Aspose.Font
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/font/python/afmglyphmetric
---

# AfmGlyphMetric

## Overview

`AfmGlyphMetric` is a class in Aspose.Font FOSS for Python.

AfmGlyphMetric properties expose glyph name, code point, advance width, and bounding box for a glyph defined in an AFM file.

Properties: `advance_width`, `bbox`, `code`, `name`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `name` | `str` | Read/Write | Gets or sets the name. |
| `code` | `int` | Read/Write | Gets or sets the code. |
| `advance_width` | `int` | Read/Write | Gets or sets the advance width. |
| `bbox` | `tuple[int, int, int, int]` | Read/Write | Gets or sets the bbox. |

## See Also

- [Aspose.Font — Enterprise API Reference](https://reference.aspose.com/font/)