From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: M G Berberich Newsgroups: gmane.emacs.help Subject: Re: Euro Sign and Bitstream Vera Date: Tue, 30 Jan 2007 22:00:05 +0100 Organization: Comp.Center (RUS), U of Stuttgart, FRG Message-ID: References: Reply-To: berberic@fmi.uni-passau.de NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1170193236 30671 80.91.229.12 (30 Jan 2007 21:40:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 Jan 2007 21:40:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 30 22:40:33 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HC0iO-0001x9-TK for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Jan 2007 22:40:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HC0iO-0004XZ-Ia for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Jan 2007 16:40:32 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!news-stu1.dfn.de!news.belwue.de!news.uni-stuttgart.de!avaloon.forwiss.uni-passau.de!news Original-Newsgroups: gnu.emacs.help Original-Lines: 75 Original-X-Trace: infosun2.rus.uni-stuttgart.de 1170190847 2090 212.144.143.13 (30 Jan 2007 21:00:47 GMT) Original-X-Complaints-To: news@news.uni-stuttgart.de Original-NNTP-Posting-Date: Tue, 30 Jan 2007 21:00:47 +0000 (UTC) User-Agent: slrn/0.9.8.1pl1 (Debian) Original-Xref: shelby.stanford.edu gnu.emacs.help:145173 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:40779 Archived-At: On Mon, 29 Jan 2007 00:59:06 +0100, Peter Dyballa 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