From: David Caldwell <david@porkrind.org>
To: 2836@emacsbugs.donarmstrong.com
Subject: 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 [thread overview]
Message-ID: <A59D06826BFECF94EDFE3825@black.local> (raw)
In-Reply-To: <BCF2398A23167EDE11F5DD18@black.local>
[-- Attachment #1: Type: text/plain, Size: 698 bytes --]
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
[-- Attachment #2: font-fix-2009-04-04.patch --]
[-- Type: application/octet-stream, Size: 538 bytes --]
Index: src/nsfont.m
===================================================================
RCS file: /sources/emacs/emacs/src/nsfont.m,v
retrieving revision 1.20
diff -p -u -d -r1.20 nsfont.m
--- src/nsfont.m 14 Mar 2009 21:20:07 -0000 1.20
+++ src/nsfont.m 4 Apr 2009 08:56:59 -0000
@@ -658,7 +658,7 @@ nsfont_open (FRAME_PTR f, Lisp_Object fo
hd = full_height - min_height;
/* standard height, similar to Carbon. Emacs.app: was 0.5 by default. */
- expand = 0.0;
+ expand = 0.5;
shrink = 1.0;
hshrink = 1.0;
prev parent reply other threads:[~2009-04-04 9:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-31 22:17 bug#2836: 23.0.92; The bottom of my font (Monaco 10) is cut off on Mac OS X David Caldwell
[not found] ` <handler.2836.B.123853967632497.ack@emacsbugs.donarmstrong.com>
2009-04-04 8:02 ` bug#2836: Acknowledgement (23.0.92; The bottom of my font (Monaco 10) is cut off on Mac OS X) David Caldwell
2009-04-04 9:09 ` David Caldwell [this message]
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=A59D06826BFECF94EDFE3825@black.local \
--to=david@porkrind.org \
--cc=2836@emacsbugs.donarmstrong.com \
/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.