source-foundry / hack Goto Github PK
View Code? Open in Web Editor NEWA typeface designed for source code
Home Page: http://sourcefoundry.org/hack/
License: Other
A typeface designed for source code
Home Page: http://sourcefoundry.org/hack/
License: Other
Here are some examples of the current test build. I'm really pleased with how this has turned out so far. I'll update the documentation with many more examples and brand new specimens with the final release.
You can download the test build binaries to give it a try. See issue #14 for the download links.
From issue report on Codeface (chrissimpkins/codeface#106):
I downloaded the latest zip on August 5th 2015.
I tried to preview the file Hack-Regular.otf but Windows errored, stating that it is not a valid font file. The >same error appears when I attempt to preview any of the Hack related .otf files.
I am unable to install any of the file also.
The regular set now includes Powerline glyphs
This'd be so cool:
https://github.com/i-tu/Hasklig
In progress. Additional updates soon.
https://github.com/powerline/powerline#vim-statusline
BTW, thanks for building the WOFF[2] versions, & lower-casing the web names!
As this is becoming more and more popular and it is now available outside vim would it be possible to add Powerline support to the font?
Hi!
I really like how hack looks like but I think that I have some issues with it and I am not sure if my settings are wrong or there is something else.
I am trying to use hack in rxvt (terminal emulator) on Linux (ubuntu). I have this line in the ~/.Xdefaults
:
xft:hack:pixelsize=9:antialias=true:hinting=true
It looks like it's ghosty, not crisp enough in comparison to some other fonts I tried (like terminus in example).
Here is side by side comparison. Left is terminus, right is hack.
I hope you have some ideas what could be a problem.
By request. Will add these to the development branch for anyone who wants to give them a try.
Perhaps best illustrated by a screenshot:
(those are two different windows side by side, Sublime Text and Gnome Terminal)
The baseline of Bold text is one pixel higher than that of Regular text. This happens at 8, 9, and 10 point, and does not happen with Bold Italic.
It also probably has to do with the font rendering stack on Gnome because I've seen it on Debian 8.1 (Gnome desktop) but not on Mac OSX 10.10.
Especially at small point sizes, the greek upper and lower case thetas are hard to distinguish. As this is a programming font, and upper and lower case distinctions can be important, it might be reasonable to stylize them a bit more.
Under Hack:
Under a font with proper powerline symbols (in this case Fantasque Sans):
Note how Hack's symbols don't properly fill the entire height of the character, whilst Fantasque's ones do.
I already put the font on Slant (here: http://www.slant.co/topics/67/viewpoints/74/~what-are-the-best-programming-fonts~hack)
Please feel free to improve and maybe add it to some more places to gain more traction.
I am releasing test builds of the upcoming v2.0 release that will include a large number of new character sets and changes to the Hack typeface. Development is taking place in the development
branch of the repository.
The new character sets include:
This release increases the number of Hack glyphs by nearly 10-fold and should permit much broader, multilingual use of the typeface.
Regular Set:
Bold Set:
Oblique Set:
Bold Oblique Set:
If you use the test versions and encounter any problems, please provide me with feedback so that we can fix any issues. Thanks much!
Would you be able to add hebrew character set
Is anyone successfully using Hack in Emacs? I'm using it in Prelude (Emacs 24) and I see odd spacing when I set my font to Hack-Regular (have tried different sizes, from 9 to 12, with the same behavior). Interestingly, I don't see the same with either Hack-Bold or Hack-RegularOblique. See screenshots below.
First, with the oblique font (looks purty, if slanty):
Now, with the regular font (wat):
Any ideas? I downloaded the Hack-v2_010-ttf.zip as the README suggests for Linux installations, and tossed the .ttf files in my ~/.fonts
folder. I'm using the same font w/ the same face just fine in Byobu/Tmux.
Goal is to create a script that allows users to subset the files with only character sets that they need. Working on it. If anyone has experience with this / interest in pitching in, let me know.
Esperanto needs just a dozen letters with diacritics: ĉĈĝĜĥĤĵĴŝŜŭŬ (that's cC gG hH jJ sS
with circumflex, and uU
with breve)
These are now available in a latin
subdirectory of the web font file build directories. The size is significantly smaller for users who do not need the expanded character sets and OpenType features on their websites/in their web applications.
The "l" letter is fine, but the "1" number may still lead to confusion, since is similar to the lowercase letter "L" in many fonts. To me, the "1" number must be like this: http://i.imgur.com/pHeeYIJ.png
Consider submitting Hack to Google Fonts: https://github.com/google/fonts
It would be great to have Emoji support 😎.
I regularly use e.g. ✏️, 🔍, etc as short labels in UI and they would also be nice in code comments.
Maybe the glyphs from another typeface (with a compatible license) could be reused?
They should not necessarily be colored. Something like in Segoe UI Symbol would already be a great step ahead.
Request from #22
Problem: the Cyrillic and Latin c characters have the same shape and it is not possible to distinguish them in text.
Goal is to create visually distinct glyphs for these characters that have the same shape but different Unicode positions (and therefore can cause errors in code).
If there are any native speakers/writers out there using it, any input that you can provide on the character shapes, positioning, and appearance would be very helpful.
This is a known issue with the Java font renderer on OS X platforms for these JetBrains editors. It renders a pseudo-oblique with a larger slant angle (of the regular font) instead of the installed oblique font. I have confirmed that this occurs with other typefaces and verified this is in a known issue in the JetBrains issue reports. The issue has been reported on multiple occasions over the last year in their issue tracking system. I added my own 2 cents and will update with any information that I receive. Sorry for the troubles.
Hi! Big thanks for font, it really is beautiful.
I use a useful visualize whitespace function in the Qt Creator IDE, and the Hack font is unfortunately not supported whitespace dots. But the symbols of end-of-file (diamond ◆), the tabulation (arrow →) and line break (downwards arrow↲) are displayed normally.
Maybe you missed the glyph with the necessary point?
Please do not interfere with scrolling on this site: http://sourcefoundry.org/hack/
I enjoy PragmataPro, which is relatively thin, so if you can create compressed/condensed styles for it, I would appreciate that.
Looks like the Bold and BoldOblique styles both include U+00B7 but the Regular and Oblique don't. Would be great if this could be added as it's the default character used by Atom to signify invisible whitespace, and the missing glyph causes it to use a fallback that messes up alignment
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.