---
name: "PS_glyph_list"
section: "3"
platform: "linux"
package: "pslib-dev"
version: "0.4.8-1+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/PS_glyph_list"
---

# PS\_glyph\_list(3)

Returns list of glyph names in font

## NAME

PS\_glyph\_list — Returns list of glyph names in font

## SYNOPSIS

\#include \<pslib.h\>

char \*\* PS\_glyph\_list(PSDoc \*psdoc, int fontid, char \*\*\*glyphlist, int \*len)

## DESCRIPTION

Returns the list of glyphs names available in the current font or the  font with the passed **fontid**.  The function allocates memory for the array of glyph names which must  be freed by the calling application with  **[PS\_free\_glyph\_list(3)](/PS_free_glyph_list/3.md)**. The list of glyphs has  **len** entries and is of no particular order.

**PS\_glyph\_list** has been introduced in version  0.4.0 of pslib.

## SEE ALSO

[PS\_free\_glyph\_list(3)](/PS_free_glyph_list/3.md), [PS\_glyph\_show(3)](/PS_glyph_show/3.md)

## AUTHOR

This manual page was written by Uwe Steinmann uwe@steinmann.cx.
