[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Font size in Output Window

From: Ben Pfaff
Subject: Re: Font size in Output Window
Date: Tue, 22 Jun 2010 09:14:38 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

John Darrington <address@hidden> writes:

> A number of people have complained about the small font size in
> the output viewer, and indeed on my default setup  it seems to be
> approx 8pt whereas the rest of psppire is 10pt.
> I tracked down the cause of that to the function load_font in 
> cairo.c - I think that pango_font_description_set_size should
> be used instead of pango_font_description_set_absolute size.
> The value being passed in is PANGO_SCALE * 10 (My screen is 96 dpi,
> so 10 * 72 / 96 explains why I get an apparently 8pt font).  At any
> rate, dropping the "absolute" fixes that problem for me.
> However, it seems to me that the we should not override the size
> passed in by the user. We should set it only if the PangoFontMask's
> SIZE bit is clear.  That way, for example, a visually impaired user 
> who has set his default gnome font to 44 will also get his output
> in that size.
> That however raises the question: what should be the value of the 
> variable xr->font_height - so far as I can see, this is used to 
> determine the dimensions of table cells.   The solution that I can 
> see, then is to uset the maximum of the three font heights.

All of this sounds fine to me.  I'll try to make these changes
Ben Pfaff

reply via email to

[Prev in Thread] Current Thread [Next in Thread]