Re: Balsa font sizes screwed up in master



Hello,

On 2016.11.22 10:41, Peter Bloomfield wrote:
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!
My limited understanding of CSS is that it does understand multiple units, so you should not need to specify in pixels. In fact, specifying distances and fonts in pixels will frequently cause problems, because there really is an extreme range of DPI out there. I think sticking to points is best, and a backup would be inches (72 points per inch) or mm.

Jack


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