From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.bugs Subject: bug#22609: 24.5; Different Font display for windows32 implementation Date: Wed, 10 Feb 2016 00:00:34 +0000 Message-ID: <86si11wi1p.fsf@gmail.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1455062546 14723 80.91.229.3 (10 Feb 2016 00:02:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Feb 2016 00:02:26 +0000 (UTC) To: 22609@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 10 01:02:14 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aTIEW-0003OB-F7 for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Feb 2016 01:02:12 +0100 Original-Received: from localhost ([::1]:33745 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTIEV-0000Jd-Ln for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Feb 2016 19:02:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTIEQ-0000JF-Nm for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2016 19:02:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTIEN-0007VY-Gk for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2016 19:02:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53121) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTIEN-0007Uu-Cx for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2016 19:02:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aTIEM-0004Ye-4Y for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2016 19:02:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Andy Moreton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Feb 2016 00:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.145506246917462 (code B ref -1); Wed, 10 Feb 2016 00:02:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Feb 2016 00:01:09 +0000 Original-Received: from localhost ([127.0.0.1]:34029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTIDV-0004Xa-4r for submit@debbugs.gnu.org; Tue, 09 Feb 2016 19:01:09 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:58196) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTIDS-0004XA-PW for submit@debbugs.gnu.org; Tue, 09 Feb 2016 19:01:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTIDM-0006vP-LZ for submit@debbugs.gnu.org; Tue, 09 Feb 2016 19:01:01 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:59624) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTIDM-0006vI-Hr for submit@debbugs.gnu.org; Tue, 09 Feb 2016 19:01:00 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49152) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTIDL-00007G-HJ for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2016 19:01:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTIDI-0006t2-Ax for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2016 19:00:59 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:60959) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTIDI-0006sJ-4S for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2016 19:00:56 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aTIDG-00027t-8V for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2016 01:00:54 +0100 Original-Received: from 82-69-64-228.dsl.in-addr.zen.co.uk ([82.69.64.228]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Feb 2016 01:00:54 +0100 Original-Received: from andrewjmoreton by 82-69-64-228.dsl.in-addr.zen.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Feb 2016 01:00:54 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 82-69-64-228.dsl.in-addr.zen.co.uk User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (windows-nt) Cancel-Lock: sha1:A0n1bRPDRiJXZ2YwUf6GK58NYQQ= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:112833 Archived-At: On Tue 09 Feb 2016, Matthew Fidler wrote: > Under windows32 individual glyphs from a font are not displayed in the mode > line (or the header-line). > > How to reproduce: > > Download github-octicons (https://octicons.github.com/) > > Evaluate the following > > (defvar mode-icons-octicons-font > (find-font (font-spec :name "github-octicons"))) > > (setq test (propertize "test" 'display (make-string 1 #xf0c9) 'font > 'mode-icons-octicons-font)) That codepoint is in the private-use area of Unicode, so I woud not expct it to work (however I am far from expert in this area). You may need to add the font to a fontset for the needed range of codepoints. For example, adding this to default fontset shows the desired character in the header line: (set-fontset-font t '(#xf000 . #xf0e7) (font-spec :name "github-octicons")) AndyM