---
name: "PS_symbol_name"
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_symbol_name"
---

# PS\_symbol\_name(3)

Get name of a glyph

## NAME

PS\_symbol\_name — Get name of a glyph

## SYNOPSIS

\#include \<pslib.h\>

void PS\_symbol\_name(PSDoc \*psdoc, unsigned char c, int fontid, char \*name, int size)

## DESCRIPTION

Retrieves the name of a glyph which is at position  **c** in the font encoding vector. The font encoding  for a font can be set when loading the font with  **PS\_findfont()**.

**fontid** is  optional and can be set to zero. In such a case the current font  will be used.

The name will be copied into the memory area pointed by  **name**. Not more than **size** 			bytes will be copied.

## RETURN VALUE

## SEE ALSO

[PS\_findfont(3)](/PS_findfont/3.md), [PS\_symbol(3)](/PS_symbol/3.md), [PS\_symbol\_width(3)](/PS_symbol_width/3.md)

## AUTHOR

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