---
name: "PS_add_ligature"
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_add_ligature"
---

# PS\_add\_ligature(3)

Add new ligature to font

## NAME

PS\_add\_ligature — Add new ligature to font

## SYNOPSIS

\#include \<pslib.h\>

void PS\_add\_ligature(PSDoc \*psdoc, int fontid, const char \*glyphname1, const char \*glyphname2, const char \*glyphname3)

## DESCRIPTION

Adds a new ligature to an already loaded font. This function  was mainly provided to add ligatures to Type3 fonts created  with **[PS\_begin\_font(3)](/PS_begin_font/3.md)**, but it can also be used  for fonts loaded with **[PS\_findfont(3)](/PS_findfont/3.md)**.

**PS\_add\_ligature** has been introduced in version  0.4.0 of pslib.

## SEE ALSO

[PS\_add\_kerning(3)](/PS_add_kerning/3.md)

## AUTHOR

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