Re: Scaling faces
- From: Dan Sommers <me@xxxxxxxxxxx>
- Date: Mon, 27 Jun 2005 07:38:41 -0400
On Mon, 27 Jun 2005 10:55:10 +0100,
Rupert Swarbrick <rupert.swarbrick@xxxxxxxxxxx> wrote:
> I'm trying to set up my emacs to give me 164 or whatever chars width
> on my screen (under X using CVS emacs with GTK), so that I can have
> two buffers 80 wide next to each other.
> This would be fine, but for the fact that changing either "scale" or
> "height" in the customise buffer works in pretty significant
> increments - i.e. scale = 120,125,130 are all the same (and slightly
> too small), but scale = 135 suddenly jumps to too big.
> It reckons it's using font-family "adobe-courier" and I assume this is
> a system font issue - presumably I'm using bitmapped fonts which can't
> be scaled dynamically and have certain preset heights.
Even with a scalable font, Emacs will scale each character to be an
integer number of pixels wide. Assuming then, that at a scale of 130, a
13.0 point font is 8 pixels wide per character, your 164 characters take
up 1312 pixels. But at a scale of 135, Emacs ends up with a 13.5 point
font that is 9 pixels wide per character, and then your 164 characters
take up 1476 pixels.
Regards,
Dan
--
Dan Sommers
<http://www.tombstonezero.net/dan/>
.
- Follow-Ups:
- Re: Scaling faces
- From: Rupert Swarbrick
- Re: Scaling faces
- References:
- Scaling faces
- From: Rupert Swarbrick
- Scaling faces
- Prev by Date: Scaling faces
- Next by Date: Re: Scaling faces
- Previous by thread: Scaling faces
- Next by thread: Re: Scaling faces
- Index(es):
Relevant Pages
|
|