emacs-devel
[Top][All Lists]
Advanced

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

Re: Xft font with different pixelsize?


From: Leo
Subject: Re: Xft font with different pixelsize?
Date: Wed, 25 Apr 2007 14:36:48 +0100
User-agent: No Gnus v0.6, Emacs/23.0.0.14 (2007-04-24), Fedora 6 gnu/linux

Dear Kenichi,

----- Kenichi Handa (2007-04-25) wrote:-----

>> 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

I was not able to compile the latest code. The error is:

,----
| ......
| font.o: In function `Ffont_drive_otf':
| /home/emacs/src/font.c:3425: undefined reference to `check_otf_features'
| collect2: ld returned 1 exit status
| make[1]: *** [temacs] Error 1
| make[1]: Leaving directory `/home/emacs/src'
| make: *** [src] Error 2
`----

regards,
-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)





reply via email to

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