Roussanka Loukanova
rlouk****@stp*****
Wed Jan 24 04:27:49 JST 2007
Yes, this works! I've put (just for record) all Seiji's lines in the .emacs, commented all of them, except the ones that seem good to me, and I got the following stuff in my .emacs (if one would like to recycle our efforts and time :) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; the following font-size is set from emacs' menu ;; Options -> Customize Options -> Specific Face... ;; note: the last line is a single long line ;; (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"))))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; 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 (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 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; On Tue, 23 Jan 2007, Seiji Zenitani wrote: > 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 > > -- ------------------------------------------------ Roussanka Loukanova Computational Linguistics Dept. of Linguistics and Philology Uppsala University P.Box 635, Uppsala 751 26, Sweden Tel: +46 18 471 1342 (office) +46 18 750 0340 Email: rlouk****@stp***** URL: http://stp.ling.uu.se/~rloukano/ --------------------------------------------------