splatmoji icon indicating copy to clipboard operation
splatmoji copied to clipboard

Add Nerd Fonts support

Open iFreilicht opened this issue 5 years ago • 5 comments

See #17

All Nerd Fonts glyphs were parsed from the official cheat sheet and the .tsv look perfect and works.

I do still have an issue with some glyphs from "Material Design Icons" where some glyphs cause the whole line to be printed in right-to-left order, but that could be an issue with my setup/fonts. If anyone could try this out and see if it works on their system, that would be great :)

img-2020-04-01-151933

iFreilicht avatar Apr 01 '20 13:04 iFreilicht

@iFreilicht I've tagged you in a reply to a related pull request about how it would be best to handle "extra" databases like these

cspeterson avatar Apr 22 '20 21:04 cspeterson

Regarding the RTL renderings, I had a feeling that after spot-checking a couple of the entries checks out - the unicode codepoints that you and I are seeing rendered RTL are from scripts like Arabic that are supposed to render RTL.

That is, the glyphs are being overridden with your Nerd Font font, but Rofi still recognizes these are RTL codepoints and goes that way.

I have no idea off the top of my head whether that is something that can be configured away via Rofi's theming or options

cspeterson avatar Apr 22 '20 21:04 cspeterson

Ah, that makes perfect sense! I'll have a look and see whether this can be remedied. I'll reply on the other ticket regarding additional databases. EDIT: I see you already made a new issue for that as well.

iFreilicht avatar Apr 27 '20 22:04 iFreilicht

@ss1978 let's discuss this in #16 only. It's really confusing if the discussion is spread across multiple threads.

iFreilicht avatar May 03 '20 21:05 iFreilicht

I rebased the PR to the current master and updated it to support the new database format.

iFreilicht avatar Nov 01 '20 13:11 iFreilicht