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: Peter Dyballa
Subject: Re: Euro Sign and Bitstream Vera
Date: Mon, 29 Jan 2007 00:59:06 +0100


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)


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. 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? 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? Do the Emacs 23.0.0 fontsets allow ranges like in:

(create-fontset-from-fontset-spec "-adobe-courier-medium-r-*-*-9- *-*-*-*-*-fontset-09pt_adobe_courier" t 'noerror) (set-fontset-font "fontset-09pt_adobe_courier" 'latin- iso8859-1 '("adobe-courier" . "iso8859-1")) (set-fontset-font "fontset-09pt_adobe_courier" 'latin- iso8859-2 '("adobe-courier" . "iso8859-2")) (set-fontset-font "fontset-09pt_adobe_courier" 'latin- iso8859-3 '("adobe-courier" . "iso8859-3")) (set-fontset-font "fontset-09pt_adobe_courier" 'latin- iso8859-4 '("adobe-courier" . "iso8859-4")) (set-fontset-font "fontset-09pt_adobe_courier" 'latin- iso8859-9 '("adobe-courier" . "iso8859-9")) (set-fontset-font "fontset-09pt_adobe_courier" 'latin- iso8859-14 '("adobe-courier" . "iso8859-14")) (set-fontset-font "fontset-09pt_adobe_courier" 'latin- iso8859-15 '("adobe-courier" . "iso8859-15")) (set-fontset-font "fontset-09pt_adobe_courier" 'mule- unicode-0100-24ff '("adobe-courier" . "iso10646-1")) (set-fontset-font "fontset-09pt_adobe_courier" 'mule- unicode-2500-33ff '("adobe-courier" . "iso10646-1")) (set-fontset-font "fontset-09pt_adobe_courier" 'mule-unicode-e000- ffff '("adobe-courier" . "iso10646-1")) (set-fontset-font "fontset-09pt_adobe_courier" (cons (decode-char 'ucs #x0370) (decode-char 'ucs #x03cf)) '("courier new" . "iso10646-1")) ; Greek (set-fontset-font "fontset-09pt_adobe_courier" (cons (decode-char 'ucs #x03d0) (decode-char 'ucs #x03ff)) '("lucida sans typewriter" . "iso10646-1")) ; Coptic (set-fontset-font "fontset-09pt_adobe_courier" (cons (decode-char 'ucs #x0400) (decode-char 'ucs #x04ff)) '("lucida sans typewriter" . "iso10646-1")) ; Cyrillic (set-fontset-font "fontset-09pt_adobe_courier" (cons (decode-char 'ucs #x0500) (decode-char 'ucs #x052f)) '("lucida sans typewriter" . "iso10646-1")) ; Cyrillic Suppl (set-fontset-font "fontset-09pt_adobe_courier" (cons (decode-char 'ucs #x0530) (decode-char 'ucs #x058f)) '("aramian unicode" . "iso10646-1")) ; Armenian (sylfaen (set-fontset-font "fontset-09pt_adobe_courier" (cons (decode-char 'ucs #x0590) (decode-char 'ucs #x05ff)) '("courier new" . "iso10646-1")) ; Hebrew (set-fontset-font "fontset-09pt_adobe_courier" (cons (decode-char 'ucs #x0600) (decode-char 'ucs #x06ff)) '("lucida sans typewriter" . "iso10646-1")) ; Arabic (set-fontset-font "fontset-09pt_adobe_courier" (cons (decode-char 'ucs #x0700) (decode-char 'ucs #x074f)) '("courier new" . "iso10646-1")) ; Syriac

I never found a door to the 23-er fontsets ...


I am using plain fonts and Emacs substitutes the default font (Lucida Sans Typewriter from Java) with other fonts when the standard font does not contain the glyph needed. It's not perfect, but I can live with that ...

--
Mit friedvollen Grüßen

  Pete

There's no place like ~
                          (UNIX Guru)






reply via email to

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