* set-face-attribute width condensed/expanded no difference? (Mac)
@ 2007-11-23 11:55 Presto
2007-11-23 12:46 ` Jason Rumney
0 siblings, 1 reply; 7+ messages in thread
From: Presto @ 2007-11-23 11:55 UTC (permalink / raw)
To: help-gnu-emacs
Executing the following two lines of code does not seem to result in
any difference in the font width:
(set-face-attribute 'default nil :family "andale mono" :width
'condensed)
(set-face-attribute 'default nil :family "andale mono" :width
'normal)
The Andale Mono font is too widely spaced in my opinion; I would like
to make it more condensed. Can this be achieved?
Environment: Mac OS 10.5.1, Emacs 22.1.50.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: set-face-attribute width condensed/expanded no difference? (Mac)
2007-11-23 11:55 set-face-attribute width condensed/expanded no difference? (Mac) Presto
@ 2007-11-23 12:46 ` Jason Rumney
2007-11-23 13:21 ` Presto
0 siblings, 1 reply; 7+ messages in thread
From: Jason Rumney @ 2007-11-23 12:46 UTC (permalink / raw)
To: help-gnu-emacs
On 23 Nov, 11:55, Presto <prest...@gmail.com> wrote:
> The Andale Mono font is too widely spaced in my opinion; I would like
> to make it more condensed. Can this be achieved?
Only if a condensed variant of the font is available and installed
AFAIK.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: set-face-attribute width condensed/expanded no difference? (Mac)
2007-11-23 12:46 ` Jason Rumney
@ 2007-11-23 13:21 ` Presto
2007-11-23 14:56 ` Peter Dyballa
[not found] ` <mailman.3981.1195829787.18990.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 7+ messages in thread
From: Presto @ 2007-11-23 13:21 UTC (permalink / raw)
To: help-gnu-emacs
On Nov 23, 3:46 pm, Jason Rumney <jasonrum...@gmail.com> wrote:
> Only if a condensed variant of the font is available and installed
> AFAIK.
In Leopard's Terminal I can choose Andale Mono and adjust the
character spacing with a slider control, so I thought this was a
dynamically calculated feature. I'm hoping Emacs works the same way.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: set-face-attribute width condensed/expanded no difference? (Mac)
2007-11-23 13:21 ` Presto
@ 2007-11-23 14:56 ` Peter Dyballa
[not found] ` <mailman.3981.1195829787.18990.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 7+ messages in thread
From: Peter Dyballa @ 2007-11-23 14:56 UTC (permalink / raw)
To: Presto; +Cc: help-gnu-emacs
Am 23.11.2007 um 14:21 schrieb Presto:
> In Leopard's Terminal I can choose Andale Mono and adjust the
> character spacing with a slider control, so I thought this was a
> dynamically calculated feature. I'm hoping Emacs works the same way.
Neither Carbon Emacsen nor Emacs.app support this. Yet.
--
Greetings
Pete
"Email is a wonderful thing for people whose role in life is to be on
top of things. But not for me; my role is to be on the bottom of
things. What I do takes long hours of studying and uninterruptible
concentration."
-Donald Knuth
^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <mailman.3981.1195829787.18990.help-gnu-emacs@gnu.org>]
* Re: set-face-attribute width condensed/expanded no difference? (Mac)
[not found] ` <mailman.3981.1195829787.18990.help-gnu-emacs@gnu.org>
@ 2007-11-23 15:18 ` Presto
2007-11-23 16:16 ` Peter Dyballa
2007-11-23 18:28 ` Xah Lee
0 siblings, 2 replies; 7+ messages in thread
From: Presto @ 2007-11-23 15:18 UTC (permalink / raw)
To: help-gnu-emacs
On Nov 23, 5:56 pm, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
> Am 23.11.2007 um 14:21 schrieb Presto:
>
> > In Leopard's Terminal I can choose Andale Mono and adjust the
> > character spacing with a slider control, so I thought this was a
> > dynamically calculated feature. I'm hoping Emacs works the same way.
>
> Neither Carbon Emacsen nor Emacs.app support this. Yet.
Thanks for the information. Is there any hack (possibly involving
building from source) with which I could set character spacing? Even
setting a constant for all fonts would suffice.
Alternatively, is there a source code file in CVS that I can track to
discover when support is added? (Looking at commit logs)
-m
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: set-face-attribute width condensed/expanded no difference? (Mac)
2007-11-23 15:18 ` Presto
@ 2007-11-23 16:16 ` Peter Dyballa
2007-11-23 18:28 ` Xah Lee
1 sibling, 0 replies; 7+ messages in thread
From: Peter Dyballa @ 2007-11-23 16:16 UTC (permalink / raw)
To: Presto; +Cc: help-gnu-emacs
Am 23.11.2007 um 16:18 schrieb Presto:
> Is there any hack (possibly involving
> building from source) with which I could set character spacing? Even
> setting a constant for all fonts would suffice.
There is, quite certainly. The (Japanese) Carbon Emacs (Package)
contains some extra ELisp files, that do some font manipulation. I
never tried to understand what they're doing, but they need to do
some adjustments that CJK glyphs can be combined with Latin ones,
which probably is a common case. But: they don't work perfectly in
case faces are mixed (regular with variants).
>
> Alternatively, is there a source code file in CVS that I can track to
> discover when support is added? (Looking at commit logs)
There is one big problem with this approach: the development for Mac
OS X has stopped. Carbon Emacsen are based mostly on stable GNU Emacs
code, i.e. GNU Emacs 22.1 (or 22.2?). Emacs.app is based on 23.0.60
code.
I've seen that both Carbon Emacs and the Cocoa Emacs.app support the
typical Mac OS X font panel. From this you can choose also
"Typographical Features" that some fonts have. Changes made here, for
example more or less space between characters, are not applied to the
frame, and neither colour or shadow. This looks as if some parts of
ATSUI are not fully enabled ... I'd wish it was, because some mono-
spaced fonts seem to have incorrect values recorded for some
dimensions and some adjustment by hand would be fine.
http://emacs-app.sourceforge.net/
http://macwiki.sourceforge.jp/emacs/
http://sourceforge.jp/projects/macemacsjp/files/
MacOSX-Emacs mailing list
MacOSX-Emacs@email.esm.psu.edu
http://email.esm.psu.edu/mailman/listinfo/macosx-emacs
List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx
"Carbon Emacs" group mailing list.
To post to this group, send email to carbon-emacs@googlegroups.com
To unsubscribe from this group, send email to carbon-emacs-
unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/
carbon-emacs?hl=en
--
Greetings
Pete
"engineer: a mechanism for converting caffeine into designs"
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: set-face-attribute width condensed/expanded no difference? (Mac)
2007-11-23 15:18 ` Presto
2007-11-23 16:16 ` Peter Dyballa
@ 2007-11-23 18:28 ` Xah Lee
1 sibling, 0 replies; 7+ messages in thread
From: Xah Lee @ 2007-11-23 18:28 UTC (permalink / raw)
To: help-gnu-emacs
about choosing a font with narrow spacing ...
In carbon emacs, you can turn on a bunch of unicode fonts that
wouldn't normally show.
do this:
; make available extra CJK-font for carbon emacs in the menu
(if (eq window-system 'mac) (require 'carbon-font))
currently i use the following font:
; about carbon emacs fonts, see /Applications/Emacs.app/Contents/
Resources/site-lisp/mac/carbon-font.el
(if (featurep 'carbon-emacs-package) (fixed-width-set-default-fontset
"-*-*-medium-r-normal--14-*-*-*-*-*-fontset-hirakaku_w6"))
not sure how this compares to your desired narrowness but worth a
shot.
Xah
xah@xahlee.org
\xAD\xF4 http://xahlee.org/
On Nov 23, 7:18 am, Presto <prest...@gmail.com> wrote:
> On Nov 23, 5:56 pm, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
>
> > Am 23.11.2007 um 14:21 schrieb Presto:
>
> > > In Leopard's Terminal I can choose Andale Mono and adjust the
> > > character spacing with a slider control, so I thought this was a
> > > dynamically calculated feature. I'm hoping Emacs works the same way.
>
> > Neither Carbon Emacsen nor Emacs.app support this. Yet.
>
> Thanks for the information. Is there any hack (possibly involving
> building from source) with which I could set character spacing? Even
> setting a constant for all fonts would suffice.
>
> Alternatively, is there a source code file in CVS that I can track to
> discover when support is added? (Looking at commit logs)
>
> -m
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-11-23 18:28 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-23 11:55 set-face-attribute width condensed/expanded no difference? (Mac) Presto
2007-11-23 12:46 ` Jason Rumney
2007-11-23 13:21 ` Presto
2007-11-23 14:56 ` Peter Dyballa
[not found] ` <mailman.3981.1195829787.18990.help-gnu-emacs@gnu.org>
2007-11-23 15:18 ` Presto
2007-11-23 16:16 ` Peter Dyballa
2007-11-23 18:28 ` Xah Lee
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.