Re: Getting different sizes from pango_layout_get_pixel_extents on ubuntu 16.04 vs 17.10?

2018-01-31 Thread Dan Kegel
On Wed, Jan 31, 2018 at 1:30 AM, Alexander Larsson wrote: >> It gets a slightly different result depending on operating system. > > The font file contains most of the layout information, but fontconfig > also reads various config snippets from /etc/fonts/conf.d/ that can > affect the rendering. Fo

Getting different sizes from pango_layout_get_pixel_extents on ubuntu 16.04 vs 17.10?

2018-01-30 Thread Dan Kegel
Hi folks. We have a minimal test program that selects Bitstream Vera Sans, calls pango_layout_set_font_description, calls pango_layout_set_text with a test string, then calls pango_layout_get_pixel_extents. It gets a slightly different result depending on operating system. Ubuntu 17.10: output is