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

Patching / Merging Pomicons with other fonts #2

Open
backward-crazy-mage-puppy-36 opened this issue Apr 16, 2015 · 8 comments
Open

Comments

@backward-crazy-mage-puppy-36

Hi,
I am using https://github.com/ryanoasis/vim-webdevicons, PragmataPro (PragmataPro for Powerline Plus Nerd File Types.ttf) patched for airline and nerdtree.
I tried merging Pomicons.ttf with PragmataPro for Powerline Plus Nerd File Types.ttf using fontforge and was (unsuccessful) several errors.
Is there any way for Pomicons.ttf to be merged with Powerline Plus Nerd File Types.ttf, or any of the other patched fonts in vim-webdevicons?
thanks.

@gabrielelana
Copy link
Owner

I don't know, we can ask @ryanoasis about it, I'll be glad to give permission or a suitable licence if needed

@ryanoasis
Copy link

I can try to help out if you like. I am by no means a fontforge expert. I just built a patcher with the python fontforge module.

Were you doing this with the gui? What were the errors? Did the glyphs show up?

I have had errors before in fontforge and still have merging work in some cases, I think it depends on the severity of the errors.

@gabrielelana
Copy link
Owner

@ryanoasis sorry, I didn't mean that, I was wandering if you are willing to include this font in your project

@ryanoasis
Copy link

@gabrielelana Ah okay I see. Looks like the glyphs have to be in the u+E000 through u+E00A range only?

I did see at least 1 font I use have a few characters in that range but the others all have that range free.

I would either add them to my core or add a flag to add these additional glyphs. I think it depends on how many fonts have characters in that range.

@gabrielelana
Copy link
Owner

@ryanoasis yep, it's the "Private Use Area" block so it should be available in most general use fonts. But take into consideration that when you copy pomicons (or any other icon font) into a base font you can always copy the glyphs wherever you want, as long as you document where you put them it should be fine. I have a similar project where I do that exporting maps that bind symbol names to their unicode code point

Anyway, if you want to integrate pomicons in your project do ahead, I'll be glad

@ryanoasis
Copy link

@gabrielelana Right, cool I think I know what i'm going to do thanks. I will probably keep them in their original locations also. I remember seeing your awesome-terminal-fonts project before. 👍

@KaranR , @gabrielelana I will try to post again on this thread my progress and updates

@ryanoasis
Copy link

@KaranR @gabrielelana feel free to give any of these a try: https://github.com/ryanoasis/nerd-filetype-glyphs-fonts-patcher/tree/0.3.0/patched-fonts

FYI: very rough and not tested

@landfillbaby
Copy link

landfillbaby commented Apr 24, 2024

One thing I've just noticed: Input Mono stores its alternate "single-storey" lowercase a glyph at U+E00A, the same as EXTERNAL_INTERRUPTION. I'm not sure if anyone actually uses that glyph though as IMO it looks too much like lowercase o.
And EXTERNAL_INTERRUPTION is a lot like U+26A1 ⚡︎ which is included in Input Mono anyway.

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

4 participants