From: martin rudalics <rudalics@gmx.at>
To: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Cc: 16306@debbugs.gnu.org
Subject: bug#16306: 24.3.50; font change creates blank column on Lucid
Date: Tue, 31 Dec 2013 18:52:28 +0100 [thread overview]
Message-ID: <52C3045C.7030303@gmx.at> (raw)
In-Reply-To: <wllhz1kzmi.wl%mituharu@math.s.chiba-u.ac.jp>
> It no longer shows a blank column. But for the Lucid case, the value
> of (frame-width) is reduced from 80 to 79 (and 80th column is
> partially shown) when I change the frame font to Courier-18.
I can't repeat that here, neither with Lucid nor with Motif.
> Lucid:
> (list (frame-width) (frame-pixel-width))
> => (80 674)
=> (80 756) here
> (+ (* (frame-char-width) 80) (frame-fringe-width)
> (frame-scroll-bar-width)
> (* (frame-parameter nil 'internal-border-width) 2))
> => 674
=> 756
> (set-frame-font "Courier-18")
> (list (frame-width) (frame-pixel-width))
> => (79 1162)
=> (80 1248)
> (+ (* (frame-char-width) 80) (frame-fringe-width)
> (frame-scroll-bar-width)
> (* (frame-parameter nil 'internal-border-width) 2))
> => 1166
=> 1248
Can you tell me what
(list
(* (frame-char-width) 80)
(frame-fringe-width)
(frame-scroll-bar-width)
(* (frame-parameter nil 'internal-border-width) 2))
gives on your system? Here it's (720 18 16 2) before and (1200 30 16 2)
after the font change.
In any case, please have a look at x_new_font - maybe there's some
blatant error you can spot immediately. I have no idea how changing the
font is supposed to change the size of the scrollbars.
martin
next prev parent reply other threads:[~2013-12-31 17:52 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-31 2:27 bug#16306: 24.3.50; font change creates blank column on Lucid YAMAMOTO Mitsuharu
2013-12-31 8:05 ` Eli Zaretskii
2013-12-31 9:48 ` YAMAMOTO Mitsuharu
2013-12-31 9:59 ` Eli Zaretskii
2013-12-31 11:33 ` martin rudalics
2013-12-31 11:51 ` YAMAMOTO Mitsuharu
2013-12-31 17:52 ` martin rudalics [this message]
2013-12-31 18:05 ` Jan Djärv
2013-12-31 18:58 ` martin rudalics
2014-01-01 4:51 ` YAMAMOTO Mitsuharu
2014-01-01 11:09 ` martin rudalics
2014-01-02 5:37 ` YAMAMOTO Mitsuharu
2014-01-02 18:13 ` martin rudalics
2014-01-05 5:08 ` YAMAMOTO Mitsuharu
2014-01-05 10:38 ` martin rudalics
2019-11-02 16:15 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52C3045C.7030303@gmx.at \
--to=rudalics@gmx.at \
--cc=16306@debbugs.gnu.org \
--cc=mituharu@math.s.chiba-u.ac.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.