Re: Getting different sizes from pango_layout_get_pixel_extents on ubuntu 16.04 vs 17.10?
- From: Alexander Larsson <alexl redhat com>
- To: Dan Kegel <dank kegel com>
- Cc: gtk-i18n-list gnome org
- Subject: Re: Getting different sizes from pango_layout_get_pixel_extents on ubuntu 16.04 vs 17.10?
- Date: Wed, 31 Jan 2018 10:30:48 +0100
On Tue, Jan 30, 2018 at 10:59 PM, Dan Kegel <dank kegel com> wrote:
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.
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. For example, there are often configuration
options that affect hinting.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]