help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Euro Sign and Bitstream Vera


From: M G Berberich
Subject: Re: Euro Sign and Bitstream Vera
Date: Tue, 30 Jan 2007 22:00:05 +0100
User-agent: slrn/0.9.8.1pl1 (Debian)

On Mon, 29 Jan 2007 00:59:06 +0100, Peter Dyballa <Peter_Dyballa@Web.DE> wrote:
>
> Am 27.01.2007 um 22:13 schrieb M G Berberich:
>
>> I have set fontsets (shortend by ‘…’) as this:
>>
>> (create-fontset-from-fontset-spec
>>  "-bitstream-bitstream vera sans mono-…-*-fontset-vera11,
>>   latin:-bitstream-bitstream vera sans mono-…-*-iso10646-1,
>>  [...]
>>   symbol:-bitstream-bitstream vera sans mono-…-iso10646-1,
>>   symbol:-unknown-freemono-…-iso10646-1,
>>   greek:-unknown-freemono-…-iso10646-1,
>>   cyrillic:-monotype-andale mono-…-iso10646-1")
>>
>> BTW: I have defined symbol: two times, does this make sense?
>
> No, this is non-sense. Which is the right definition? And: what is  
> "symbol?" I mean, where in Unicode do you find "symbol?" (at 100.000  
> spots maybe)

A charset like greek, latin,… I suppose. 

>> I added the output of ‘C-u C-x =’ below, the “working”-case differns
>> from the “non-working”-case in the glyph tht is used to display the
>> (same) char (#xBD / #x102) and in the property ‘fontified’.
>
> IMO it cannot work to take glyphs from postions U+00BD or U+0102 from  
> Bitstream Vera to print the €. There is probably no font putting € at  
> these positions. 

But U+0102 gives the right character ‚€‘ (EURO).

> The problem might come from the fontsets you use.  Did you notice
> when this or that glyph is used, is there some correlation with the
> encoding used in the buffer? 

No, it's utf-8 both times.

> This is a new feature in Unicode Emacs 23.0.0 – and maybe it's
> buggy. So you should consider to create a bug report. Then you'll
> have contact with those who make the software!
>
> Where do the fonts come from? Do they come from fontconfig (fc-cache/ 
> fc-list) or is standard X11 serving them? 

I suppose from fontconfig, because they are anti-aliased, how do I
determine this?

> Do the Emacs 23.0.0 fontsets allow ranges like in:

>       (set-fontset-font "fontset-09pt_adobe_courier" (cons (decode-char  
> 'ucs #x0700) (decode-char 'ucs #x074f)) '("courier new" .  
> "iso10646-1"))        ; Syriac

Yes.

  (set-fontset-font "fontset-vera11"
    'mule-unicode-0100-24ff '("dejavu sans mono" . "iso10646-1"))

shows the correct Euro-sign ‚€‘ but

  (set-fontset-font "fontset-vera11"
    'mule-unicode-0100-24ff '("bitstream vera sans mono" . "iso10646-1"))

shows a ‚¤‘. Other applications work fine with Vera, so the problem
depends on emacs /and/ bitstream vera sans mono.

        MfG
        bmg

-- 
„Des is völlig wurscht, was heut beschlos- | M G Berberich
 sen wird: I bin sowieso dagegn!“          | berberic@fmi.uni-passau.de
(SPD-Stadtrat Kurt Schindler; Regensburg)  | www.fmi.uni-passau.de/~berberic


reply via email to

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