monoid
monoid copied to clipboard
Monoisome
I've just realised http://fontawesome.io uses the same grid as Monoid. This would make it fairly easy to create a version of Monoid that includes all the Font-Awesome icons as ligatures.
This would obviously increase the file size too much for it to be part of the default Monoid font. It would look something like this:
I've asked @davegandy on twitter so awaiting his reply. https://twitter.com/larsenwork/status/626711927989895168
¯\_(ツ)_/¯
Brackets and Atom both currently have problems with calculating line length but this will hopefully be fixed soon:
(I'm disabling ligatures for cursor line in Atom which is why there's no 👍 there
I LOVE this!!!!! (haven't installed it yet, but the idea is genius) Makes the code so much more expressive -- you see right away which icon you get.
@mikebronner yep, I need some help to make this happen though as I don't have the time right now. Wanna help? It's very easy and should only take an hour or two.
You just need to download Fontforge to see the glyph names
and then write them in the text file
Absolutely would love to help will start when I get back to the office tonight
Perfect, I'll upload the files in a minute.
Some notes:
I'll created a branch that we are working in and then we can merge to master once it's done. The text file is called a feature file and can be edited in any code/text editor.
Fontforge: http://fontforge.github.io
The format (sfdir) is a folder so you open it in FontForge not by double clicking but by selecting and clicking "OK".
Sometimes an icon has two aliases e.g. indent_left which is both fa-dedent and fa-outdent
sub f a hyphen d e d e n t by indent_left;
sub f a hyphen o u t d e n t by indent_left;
I've removed all Monoid ligatures - I'll re-add them once the Awesome part is working.
I've switched to "compact" encoding - I'll switch back to UTF-8 once the Awesome part is working.
I've added and adjusted all the icons, written the first 100+ ligatures so what is left is to write the rest of the glyph names in the .fea file.
Don't be too thorough - I can quickly see if there are any errors when importing the feature file.
And please don't hesitate to ask if you have any questions!
I've also had to rename e.g. plus, minus and asterisk as those names are already used in a normal font.
All yours: https://github.com/larsenwork/monoid/blob/Monoisome/Monoisome/Monoisome.fea#L117
Just generated the font to test the size: 230kb so definitely not going in the build scripts.
Regarding the naming: I would recommend including the fa- in the name, so as not to conflict. Especially if we add Glyphicons, or other icon sets that are commonly used. (To quasi namespace icon sets.)
Good idea - let's do that if/when we add other icon fonts :+1:
Closing this for now, as it seems to work well
Awesome! Is it available in the latest version already?
website
Got it ... so to use it effectively, this replaces the Monoid-Regular.ttf, right? (Otherwise I don't have bold or italics if I leave it named Monoisome).
I'd imagine most editors that support ligatures also let you pick different font families for bold/italic?
Unfortunately that doesn't seem to be the case with any of the editors I tried.
I can confirm that on VScode and Atom the problem still occurs :(
Also some code ligatures are not working. For eg == works but === don't same for !==
Have only tried in atom - can not get monoisome font or the equality lit's to work either
Ok, not sure how much time I'll spend on fixing it though since I haven't used font-icons in over a year and maintaining something like font awesome that luckily very few still use... I'd rather focus on creating new and better stuff :)
I think font-awesome has one of the best adoptions, seeing how well their FontAwesome 5 Kickstarter campaign went. But yes, there are more and more alternatives popping up all the time. (I'm just chiming in here because I was helping with this. I have to admit I have not been using Monoisome either -- I do use FontAwesome on a daily basis, but regrettably I have been using a different font for development use.)
I am using fira-code for now - but I am very interested in checking out Monoid and Monoisome
On Tue, Feb 21, 2017 at 10:04 AM Mike Bronner [email protected] wrote:
I think font-awesome has one of the best adoptions, seeing how well their FontAwesome 5 Kickstarter campaign went. But yes, there are more and more alternatives popping up all the time. (I'm just chiming in here because I was helping with this. I have to admit I have not been using Monoisome either -- I do use FontAwesome on a daily basis, but regrettably I have been using a different font for development use.)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/larsenwork/monoid/issues/98#issuecomment-281388501, or mute the thread https://github.com/notifications/unsubscribe-auth/ADqEMzJbzfxdjGU_gLXYJPKDxqKn2KaOks5rewsTgaJpZM4FisBj .
I'm still using this font :)
I'd love a fix to use bold with monoisome :)