[macemacsjp-english 860] How to use carbon-font.el

Back to archive index

Seiji Zenitani zenit****@mac*****
Wed Jan 24 03:26:57 JST 2007


Hi,

I examined carbon-font.el and I found that the description is so messy.  It took me to read it several times to understand its usage.  For record, I will send you its usage.  You can put some of the following lines to your .emacs.el.

--------------------------------------
  (require 'carbon-font)

  ;; default fontset
  (add-to-list 'default-frame-alist '(font . "fontset-osaka")) ;; default (12pt)
  (add-to-list 'default-frame-alist
   '(font . "-*-*-medium-r-normal--14-*-*-*-*-*-fontset-osaka")) ;; 14pt

  ;; change the fontset of the current frame
  (set-frame-font "fontset-osaka") ;; default (12pt)
  (set-frame-font "-*-*-medium-r-normal--14-*-*-*-*-*-fontset-osaka") ;; 14pt
--------------------------------------

Available font sizes are as follows:
    7,8,9,10,12(default),14,16,18,20,24

Available fontsets are as follows:
    fontset-hiraginomaru    Monaco + Hiragino Maru Gothic
    fontset-hiraginokaku    Monaco + Hiragino Kaku Gothic
    fontset-osaka           Monaco + osaka
    fontset-hiraginomin     Courier + Hiragino Mincho

-- 
Seiji Zenitani
zenit****@mac*****




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