GNU bug report logs -
#19482
Changing to big font cause display problem
Previous Next
Reported by: 张海君 <netjune <at> icloud.com>
Date: Thu, 1 Jan 2015 18:52:02 UTC
Severity: normal
Fixed in version 25.1
Done: Alan Third <alan <at> idiocy.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> I added an implementation for NS.
Thanks a lot.
> When looking at the X version, this does not make sense (except from the redundant parantesis):
The parenthesis is here for indentation purposes only.
> outer_height = (FRAME_PIXEL_HEIGHT (f)
> + FRAME_OUTER_TO_INNER_DIFF_Y (f)
> + FRAME_OUTER_TO_INNER_DIFF_X (f));
>
> What is the connection between height and DIFF_X?
> It should probably be
>
> outer_height = FRAME_PIXEL_HEIGHT (f)
> + 2 * FRAME_OUTER_TO_INNER_DIFF_Y (f);
IIUC FRAME_OUTER_TO_INNER_DIFF_Y is the height of title bar, tool bar
plus that of one decoration while FRAME_OUTER_TO_INNER_DIFF_X is just
the "width" of the decoration which I assumed equal on all other three
sides but the top one. I probably should have written
outer_height = (FRAME_PIXEL_HEIGHT (f)
+ FRAME_OUTER_TO_INNER_DIFF_Y (f)
+ border);
instead. Either way I can't add FRAME_OUTER_TO_INNER_DIFF_Y twice.
However, this version works only because FRAME_OUTER_TO_INNER_DIFF_X
apparently never counts a tool bar on the left or the right. And at
least here a maximized frame shows decorations only on two orthogonal
sides so the above is certainly not always correct. Do you have any
better ideas?
martin
This bug report was last modified 9 years and 59 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.