Fix leaks in handling Pango fonts
This reduces the accumulating memory usage from around 2 GB to 280 MB when processing all regression tests.
This reduces the accumulating memory usage from around 2 GB to 280 MB when processing all regression tests.