GNU bug report logs - #2836
23.0.92; The bottom of my font (Monaco 10) is cut off on Mac OS X

Previous Next

Packages: emacs, ns;

Reported by: David Caldwell <david <at> porkrind.org>

Date: Tue, 31 Mar 2009 22:55:06 UTC

Severity: normal

Tags: moreinfo

Merged with 3961, 3975, 3986

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 2836 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: David Caldwell <david <at> porkrind.org>
To: 2836 <at> debbugs.gnu.org
Subject: Re: bug#2836: Acknowledgement (23.0.92; The bottom of my font
 (Monaco 10) is cut off on Mac OS X)
Date: Sat, 04 Apr 2009 02:09:57 -0700
[Message part 1 (text/plain, inline)]
Ok. I went ahead and tracked it down. The regression was a change to 
src/nsfont.m on 2009-03-14 by davidswelt:

> nsfont.m (nsfont_open): remove ns_expand_space, assume -0.5 i.e. no
> additional spacing, similar to Carbon port.

I've attached a patch that fixes the regression (the bottom line of the 
font being dropped). It puts back expand to 0.5 which seems to be the 
default pre-checkin.

A couple things in this piece of code look a little sketchy. The "shrink" 
variable, for instance, seems to be defined but never used anywhere. 
There's some commented out stuff that's unclear what it was meant for and 
no indication of why one might comment it in or otherwise make use of it.

-David
[font-fix-2009-04-04.patch (application/octet-stream, attachment)]

This bug report was last modified 15 years and 103 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.