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

# GetFontData(3w)

## NAME

**GetFontData** (GDI32.@)

## SYNOPSIS

DWORD GetFontData\
  (\
   HDC    *hdc*,\
   DWORD  *table*,\
   DWORD  *offset*,\
   LPVOID *buffer*,\
   DWORD  *length*\
  )

## DESCRIPTION

Retrieve data for TRUEType font.

## RETURNS

**success:** Number of bytes returned

**failure:** **GDI\_ERROR**.

## NOTES

Calls **[SetLastError(3w)](/SetLastError/3w.md)**

## IMPLEMENTATION

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

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

Debug channel **"font"**.
