Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mappings ignored #22

Open
clembu opened this issue Feb 23, 2017 · 5 comments
Open

Mappings ignored #22

clembu opened this issue Feb 23, 2017 · 5 comments

Comments

@clembu
Copy link

clembu commented Feb 23, 2017

Okay so this is gonna sound weird.

Unicode 9 has this 🤜 character (among others). It's in "Supplemental Symbols and Pictographs", with code x1F91C, in which you can also find 🤐

I installed Noto Emoji, which supports this character. I have my unicode-fonts-block-mappings setup like so for this block:

("Supplemental Symbols and Pictographs"
      ("Noto Emoji" "Noto Sans Symbols"))

I removed the symbola font from this mapping (in fact I hate symbola so much I replaced it everywhere with Noto Emoji and Noto Sans Symbols)

But even though, spacemacs displays 🤜 with no font (so I get this square representation of the code) and 🤐 with symbola.

Is it because the blocks are not the same in Unicode 8 and Unicode 9?

How would I go about supporting Unicode 9 ?

@thirs
Copy link

thirs commented Sep 26, 2018

Probably related problem here. Some blocks are displayed as requested, others not. E.g., block Arrows doesn't display with Asana Math as requested. It is probably not an Asana problem though, as block Mathematical Alphanumeric Symbols is correctly displayed with it. Any hints?

@rolandwalker
Copy link
Owner

Hi! Math is life.

Let me try to make Asana work right out of the box.

@thirs
Copy link

thirs commented Sep 29, 2018

That would be great!

@rolandwalker
Copy link
Owner

I tagged a new release which includes Asana Math. However, I didn't make Asana Math absolutely first choice for many blocks, since it isn't monospaced.

But, wouldn't it work for you to do

(require 'unicode-fonts)
(push "Asana Math" (cadr (assoc "Arrows" unicode-fonts-block-font-mapping)))
(unicode-fonts-setup)

?

@thirs
Copy link

thirs commented Oct 5, 2018

Thanks! But it doesn't appear to change anything.

I think it should work to push Asana Math as suggested, but it doesn't. I probably made some stupid configuration mistake.

The most recent unicode-fonts.el is indeed loaded (according to load-history), and unicode-fonts-block-font-mapping does have Asana on top of its Arrows block, as far as I can tell. Are there any other checks that might help?

Perhaps it would help you to know that the failure occurs on my laptop under Debian testing, while everything works fine one by desktop PC under Debian Stretch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants