From: Andy Moreton <andrewjmoreton@gmail.com>
To: 22609@debbugs.gnu.org
Subject: bug#22609: 24.5; Different Font display for windows32 implementation
Date: Wed, 10 Feb 2016 00:00:34 +0000 [thread overview]
Message-ID: <86si11wi1p.fsf@gmail.com> (raw)
In-Reply-To: <CAOmN8O4pOYpuzs9L5X1_XTqwQpmDBthEvLFALepjGap_8XnAmg@mail.gmail.com>
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
next prev parent reply other threads:[~2016-02-10 0:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-09 20:29 bug#22609: 24.5; Different Font display for windows32 implementation Matthew Fidler
2016-02-10 0:00 ` Andy Moreton [this message]
2016-02-10 17:47 ` Eli Zaretskii
2016-02-10 3:32 ` bug#22609: Code points Matthew Fidler
2016-02-10 17:43 ` bug#22609: 24.5; Different Font display for windows32 implementation Eli Zaretskii
2016-02-11 14:27 ` Matthew Fidler
2016-02-11 20:54 ` Eli Zaretskii
2019-11-17 6:49 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86si11wi1p.fsf@gmail.com \
--to=andrewjmoreton@gmail.com \
--cc=22609@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.