[macemacsjp-english 858] Re: font size in Carbon Emacs Re: Help Emacs

Back to archive index

Kasper Daniel Hansen khans****@stat*****
Wed Jan 24 01:28:37 JST 2007


Roussanka

The font-identifier string has to be on one line I think, it is  
essentially one long identifier.

I am using a "large" font for my powerbook
(fixed-width-set-default-fontset
    "-*-*-medium-r-normal--14-*-*-*-*-*-fontset-hiraginokaku")

Unless my mail program wraps the lines, there should be two lines,  
the second one merely containing the font code.

Now the problem of course is how to get the identifier when you have  
selected a font using SHIFT+CLICK. I have forgot how to do that on  
top of my head :)

Kasper


On Jan 23, 2007, at 6:41 AM, Roussanka Loukanova wrote:

> Hi,
>
> On Mon, 22 Jan 2007, Seiji Zenitani wrote:
>
>>>
>>> 1. If I select larger font in an open buffer, e.g. with Shift-Click
>>> and
>>> select Courier 18, then I can not get this saved for future Emacs
>>> sessions with Options -> SaveOptions; and I do not know how to get
>>> this
>>> with Customize Emacs.
>>
>> Please read [macemacsjp-english 764].
>
> I tried several options, only the last from the described ones  
> below works
> satisfactory (may be in the first two I do not do something properly):
>
> A. I read that email and
> /Applications/Emacs.app/Contents/Resources/site-lisp/mac/carbon- 
> font.el
>
> The descriptions are not clear in which file to put the suggested  
> lines:
>
> I tried putting the line
> (fixed-width-set-d	efault-fontset "-*-*-medium-r-normal--14-*-*-*-*-*-
> fontset-hiraginokaku")
>
> - in .emacs
> Emacs complains for errors upon start-up
>
> - in
> /Applications/Emacs.app/Contents/Resources/site-lisp/mac/carbon- 
> font.el
>
> Emacs starts up with no complains, but there is no effect on the  
> font in
> the buffers.
>
> B. From Emacs' menu bar (after having a buffer with some file):
>
> Options -> Show/Hide -> Font Panel
>
> brings up Mac's Font Panel: I select desired font size, e.g.
> Monaco -> Regular -> 14
>
> This makes the font in the buffer to that size. Then, I select
> Options -> Save Options
>
> But this has no effect on the next new emacs sessions.
>
> C. This option  is described by Jean-Christophe Helary
> Date: Thu, 4 Jan 2007 15:05:58 +0900
> From: Jean-Christophe Helary...
> To: Emacs on Mac OS X <macos****@email*****>
> Subject: Re: [OS X Emacs] changing default fonts on aquamacs 0.9.9d
>
> from emacs' menu
> Options -> Customize Options -> Specific Face...
>
> type in the minibuffer "default":
>
> Customize face (default font-lock-comment-face): default RET
>
> under Default face: ...
>
> I replaced only 120 with 140:
>
> ....
> Choice: Value Menu
>   Attributes: [X] Font Family: apple-monaco
>               [X] Width: Value Menu medium
>               [X] Height: Value Menu Height in 1/10 pt: 140
> ...
>
> Then selecting Save for Future Sessions, does so. In .emacs, I get the
> following statement, which apparently, if put in there "by hand,"  
> without
> the above steps via emacs' menu, should do the job:
>
> (custom-set-faces
>    ;; custom-set-faces was added by Custom.
>    ;; If you edit it by hand, you could mess it up, so be careful.
>    ;; Your init file should contain only one such instance.
>    ;; If there is more than one, they won't work right.
>   '(default ((t (:stipple nil :background "white" :foreground "black"
> :inverse-video nil :box nil :strike-through nil :overline  
> nil :underline
> nil :slant normal :weight normal :height 140 :width normal :family
> "apple-monaco")))))
>
> _______________________________________________
> macemacsjp-english mailing list
> macem****@lists*****
> http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english




More information about the macemacsjp-english mailing list
Back to archive index