emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xft font with different pixelsize?


From: Kenichi Handa
Subject: Xft font with different pixelsize?
Date: Wed, 25 Apr 2007 22:13:01 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.0 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

> My purpose is to use pixelsize 12 for normal text and pixel 14 for
> another language
> 
> And for xft, I tried
> (set-fontset-font
>    "fontset-utf8" 'han
>    '("WCD" . "unicode-bmp") nil 'prepend)
> which works but the pixelsize is 12 as used for default font
> "bitstream vera sans mono".  And ("WCD-14" . "unicode-bmp") does not
> work at all.
> 
> So, is there anyway to set different pixelsize for different Unicode
> range characters using xft?

Please try this with the latest code.

(set-fontset-font
 "fontset-utf8" 'han
 "-*-WCD-*-*-*-*-14-*-*-*-*-*-iso10646-0" 'prepend)

Please note that fontset related code still doesn't accept
a font-config-like font name.

---
Kenichi Handa
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]