How can I render matching text with Pango on two computers?

107 Views Asked by At

We have tests that check how code build on Gtk with Pango and Cairo renders shapes and text.

I can't get font rendering to match between different developers computers and CI.

The font seems to render 1 or 2 pixels higher or lower.

Hinting, and DPI may be setup different between these machines, can I set some environment variables to ensure fonts render at the same size and with the same hinting ?

0

There are 0 best solutions below