Re: Balsa font sizes screwed up in master



Hi Albrecht,

On 11/21/2016 01:51:48 PM Mon, Albrecht Dreß wrote:
[re-sending with size and colour reduced screen shot]

Am 21.11.16 19:45 schrieb(en) Albrecht Dreß:
Hi all,

probably since commit 3ee5eb6ae773c0f3b847ed7355061919ba2d1421 or 8453c758ec619113441ce0011a387357c4c98b9b, the font sizes 
in Balsa are completely screwed up, i.e. the "normal" font settings are now HUGE.  Instead of the usual size 11, 
I now have to select 8 to get roughly the same display as before.  See attached screen shot, with the font set to 10.5 in 
xfce's control panel (i.e. Balsa's std widgets), and 11 for the message display - the font picker preview should be the 
same as the message header & body!

Note that I don't use the system fonts for Balsa's message display, as I want monospace.

Any idea how to fix it?

Please try the attached patch. The issue is that the font button returns the font size in points, and we have 
to convert that to pixels to generate CSS, and the current code may be getting the display dpi wrong. I'm 
struggling with this!

Thanks,

Peter

Attachment: font-size.diff
Description: Text Data



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