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

# GetFontUnicodeRanges(3w)

## NAME

**GetFontUnicodeRanges** (GDI32.@)

## SYNOPSIS

DWORD GetFontUnicodeRanges\
  (\
   HDC        *hdc*,\
   LPGLYPHSET *lpgs*\
  )

## DESCRIPTION

Retrieve a list of supported Unicode characters in a font.

## PARAMS

*hdc* **\[In\]**  Handle to a device context.

*lpgs* **\[Out\]**  **GLYPHSET** structure specifying supported character ranges.

## RETURNS

**Success:** Number of bytes written to the buffer pointed to by *lpgs*.

**Failure:** **0**

## IMPLEMENTATION

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

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

Debug channel **"font"**.
