Subject: bug#54646: 29.0.50; set-fontset-font and font clipping issues

From: Po Lu <[email-masked]>
Date: Sun, 12 Jun 2022 18:16:42 +0800

Visuwesh <[email-masked]> writes:

> I was under the impression that cairo used pango somewhere but,
>
>     % ldd /usr/lib/x86_64-linux-gnu/libcairo.so.2 |grep pango
>
> returned nothing.  However,
>
>     % ldd $(which emacs) |grep pango
>             libpangocairo-1.0.so.0 => /lib/x86_64-linux-gnu/libpangocairo-1.0.so.0 (0x00007f1c4401f000)
>             libpango-1.0.so.0 => /lib/x86_64-linux-gnu/libpango-1.0.so.0 (0x00007f1c43fb9000)
>             libpangoft2-1.0.so.0 => /lib/x86_64-linux-gnu/libpangoft2-1.0.so.0 (0x00007f1c4363f000)

If you build with GTK, it will link with Pango.  Emacs doesn't use
either Pango or GTK for font display or font metrics computation at all.