---
name: "GetOutlineTextMetricsA"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/GetOutlineTextMetricsA"
---

# GetOutlineTextMetricsA(3w)

## NAME

**GetOutlineTextMetricsA** (GDI32.@)

## SYNOPSIS

UINT GetOutlineTextMetricsA\
  (\
   HDC                  *hdc*,\
   UINT                 *cbData*,\
   LPOUTLINETEXTMETRICA *lpOTM*\
  )

## PARAMS

*hdc* **\[In\]**  Handle of device context.

*cbData* **\[In\]**  Size of metric data array.

*lpOTM* **\[Out\]**  Address of metric data array.

## DESCRIPTION

Gets metrics for TRUEType fonts.

## NOTES

If the supplied buffer isn't big enough Windows(tm) partially fills it up to its given length and returns that length.

## RETURNS

**Success:** Non-zero or size of required buffer

**Failure:** **0**

## IMPLEMENTATION

Declared in **"wingdi.h"**.

Implemented in **"dlls/gdi32/font.c"**.

Debug channel **"font"**.
