Adobe Releases New Openly Licensed Coding Font 136
tqft writes "From the sourceforge page: 'Source Sans is a set of monospaced OpenType fonts that have been designed to work well coding environments. This family of fonts is a complementary design to the Source Sans family.' License: Open Font License 1.1 (OFL 1.1) (both FSF and DFSG free). Hope to see it Debian (& other) repositories soon."
The example text doesn't really look too much better than Inconsolata. But, hey, who can complain about more liberally licensed fonts?
That was a shock (Score:1)
Actually accepted submission.
Fonts annoy me. So many licences, variability and availability and differences machine to machine. Like standards I suppose so many to choose from and non completely compatible.
Re: (Score:3)
Fonts are a huge issue because we need them to, you know, communicate. The license you are looking for is "completely free to use and modify". That way you know that not only are you able to use it, but the font is going to be maintained and stick around, making life easier for everybody.
The typography landscape is littered with quality fonts that nobody uses because they are not free to maintain.
Re:That was a shock (Score:5, Informative)
Well, the standard is pretty much the Microsoft-Apple TrueType (designed as a competing standard to Adobe PostScript fonts). (Yes, Microsoft and Apple worked on TrueType together, during the 90s when they were fierce enemies). Even then it's not a simple spec because it's actually quite difficult to lay out text nicely.
One of the jobs of a typesetter is to actually arrange the page so the text flows properly, and it's more of an art than a science. It's why TrueType implements a virtual machine to help with the automatic arrangement of characters.
It's also why designing a font is damn hard - creating the character shapes is the easiest part, but doing the necessary back end work to ensure it looks pleasant to the eye no matter the word/letter combinations is difficult (hence the virtual machine). And then there's Unicode, so you have to way more shapes to contend with (luckily a lot of them get by with monospace).
Finally, the licenses reflect the fact that fonts are a tool - so there's a lot of complexity in them. First, printing them out means having to send the font over at times (if it's not rasterized locally), so you need to enable translation of the font to the printer's natively language. Then you need to consider that electronic documents may need to embed fonts in them to look the same on every computer, even the ones without the font, but that embedding is now distribution of the font.
The license is complex purely because copyright law doesn't cover it terribly well. Embedding is a form of distribution and derivative work. Printing can mean creating a derivative work so the printer can rasterize it. Then there may be distribution if you want to send it to a printing press so they need the font as well...
As for raster fonts - they're great, but when you're dealing with high res screens, they start to show their chunkiness. I just wish some of the nice raster fonts were availble as TrueType so they can scale up nicely and be razor sharp on high res "retina" screens.
Re: (Score:2)
I just wish some of the nice raster fonts were availble as TrueType so they can scale up nicely and be razor sharp on high res "retina" screens.
Well, there's always the FontSubstitutes Registry entry in Windows: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes
Re:That was a shock (Score:5, Informative)
One of the jobs of a typesetter is to actually arrange the page so the text flows properly, and it's more of an art than a science. It's why TrueType implements a virtual machine to help with the automatic arrangement of characters.
That's kerning. TrueType solves this problem with a static kerning table.
The virtual machine is for hinting - adjusting the outlines so that they still produce reasonable bitmaps at small point sizes. It has nothing to do with the flow of text.
Re: (Score:3)
The 90's called, and they want their vector font formats back. The modern standard is OpenType, which is a merger of Truetype and Adobe's Postscript formats with additional standardized features to handle complex layout as found in the Sanskrit derived scripts of South and South East Asia.
Call me a dinosaur... (Score:4, Insightful)
... but is this really better than good ol' Courier?
Personally, I find san-serif fonts a bit of a strain to read for long periods of time. For a while Lucida typewriter was fine but I keep switching back to Courier.
Re: (Score:1)
Courier FTW! I don't understand why you would ever want to use Consolas, or anything else.
Re: (Score:1)
Courier FTW! I don't understand why you would ever want to use Consolas, or anything else.
Quality hinting maybe? No copyright problems maybe? Lots of weights maybe, for example, true bold?
(Note: I haven't actually checked this font for quality hinting yet, and the comment about "in this world of retina displays" worries me, because Apple just punts on hinting. Which is offensive to the eye, and the reason that Apple has no choice but to offer stupidly high resolution displays, and even then the lower quality of nonhinted fonts is readily apparent to the eye. Notice it once, and you will never be
Re: (Score:1)
Re: (Score:2)
Apparently you have your eyes on backwards.
Re:Call me a dinosaur... (Score:5, Informative)
Let me be more specific. Think about a lower case m. We want each of the three vertical strokes to look exactly the same, even if antialiased. Your eye will really complain if this isn't the case, even on a high resolution display. (If not then don't worry about it, quality anything is not for you. You can save a lot of money on stereo equipement.) Hinting will adjust those three strokes to be equally separated in terms of pixel units, even if exact alignment to pixel boundaries is not possible. Then if you display the same font much larger, the strokes will be allowed to move to the exact positions defined by the artist. Hopefully, showing good taste. That's just the beginning of it, hinting a huge and subtle topic. Trying to pretend it doesn't matter, or actually lowers quality, does nothing but demonstrate ignorance.
Re: (Score:2)
Note: I haven't actually checked this font for quality hinting yet, and the comment about "in this world of retina displays" worries me, because Apple just punts on hinting.
Hinting is a hack, required because of the inherent problems with rasterizing vector fonts at low resolutions. When you do this, something needs to give, since there simply aren't enough pixels to represent the image with good fidelity; it's basically trying to cram 20 pounds of information in a 10-pound bag. Increasing the DPI enough
Re:Call me a dinosaur... (Score:4, Interesting)
"Good ol' Courier" is that font where the 1 and lowercase L look almost the same. At least the uppercase i looks distinct in that font.
I use Consolas now.
Re: (Score:1)
Yep worked with a lot of monospaced fonts and Consolas is about as good as I've found. Of course, if anyone out there knows of a better font I'm always interested in hearing about it...
Re: (Score:1)
I kinda like consolas. I have gotten so used to seeing it I made it the default for my email editor as well. It is pretty easy on the eyes, I just wish VS2012 was.
Re: (Score:2)
It is pretty easy on the eyes, I just wish VS2012 was.
This [microsoft.com] might help.
Re: (Score:2)
I guess there is some irony that I didn't bother to log in and posted that as Anonymous Coward.
Here is a link talking about Anonymous Pro: http://hivelogic.com/articles/anonymous-pro-programming-monospace-font [hivelogic.com]
Download here: http://www.ms-studio.com/FontSales/anonymouspro.html [ms-studio.com]
Open Font License
Re: (Score:2)
Courier just looks too much like a typewriter. I can't stare at it for long periods of time.
Re:Call me a dinosaur... (Score:5, Insightful)
Re:Call me a dinosaur... (Score:5, Informative)
Which is why the 'allow websites to choose their own fonts, instead of my selection above' checkbox is unchecked on my Firefox :)
Your typos were trivial to spot in Dejavu Sans Mono which, incidentally, is my favorite monospace font! :D
Re: (Score:2)
Re:Call me a dinosaur... (Score:5, Insightful)
There's only three typos in your post and believe me they're very easy to see on a system where fonts are displayed properly instead of being hammered into sub-pixels.
Nope, four:
8ut - 8 not B
0ne - 0 not O
that l made - lower case L not I
easy-to-over1ook - 1 not l
not so easy to see I guess.
Re: (Score:2)
1 R3aD l337 S0 3A5Y T0 5P07
Re: (Score:1)
Nope, four:
8ut - 8 not B
0ne - 0 not O
that l made - lower case L not I
easy-to-over1ook - 1 not l
not so easy to see I guess.
I just thought zero but the post was made from a mobile phone...
Re: (Score:2)
Re: (Score:3, Funny)
Actually, I believed for some time that the former North Korean premier was Kim Yong the Second ...
Re:Call me a dinosaur... (Score:5, Insightful)
Wow, I don't think you could have made his point any better right there.
Re: (Score:2)
Yes, much better than Courier. Of course there are many other fonts that are also much better than Courier, so I don't think this new font is really needed, but Courier majorly sucks, particularly the lowercase L, but overall just ugly.
Re: (Score:2)
You're a dinosaur.
... but is this really better than good ol' Courier?
I think it looks a bit nicer, but not sufficiently better than DejaVu Sans Mono or whatever the default monospaced font is on most Linux distributions. I probably won't bother to try it out.
For the last six months I've been using a proportional font (DejaVu Sans, I think) in Eclipse. I'm not interested in going back. I lose out on within-line tabs, but it's easier to read. If I really need to see things in a fixed width font I can go into block editing mode (Shift-Alt-A).
Re: (Score:1)
To be honest, I did download it and try it out -- and I much prefer DejaVu mono. I'm sure some of that is what I'm used to, but the Adobe font seems too light to me. In particular, I rather dislike the shorter ex-height (which the author points out as an advantage); I think that it looks even more stretched horizontally than many monospace fonts. It also renders weird for me, but that may just be my setup or something.
Re: (Score:2)
Agreed, I installed it to see what it looks like and much prefer the narrower look of Consolas
Re: (Score:1)
The digital version is too spindly since it preserves the original digitization's having been a stroke font rather than outline and is drawn w/ too narrow a pen.
It's also too clean and lacks the charm of the original (when it was typewritten using an IBM typewriter).
I actually rather like Computer/Latin Modern Mono:
http://mirrors.ctan.org/fonts/lm/fonts/opentype/public/lm/lmmonoltcond10-regular.otf [ctan.org]
William
Re: (Score:2)
... but is this really better than good ol' Courier?
Personally, I find san-serif fonts a bit of a strain to read for long periods of time. For a while Lucida typewriter was fine but I keep switching back to Courier.
I have tried the font for 5 minutes in gvim. Then I have tried to try it again.
They went WAY overboard with the anti-aliasing: it's like the whole code is GLOWING. (It might be better on light background. But then, no sane coder uses a light background for coding, right?)
Went back to the usual Courier New (and the occasional Andale Mono).
So no, you are not a dinosaur. You simply have the rare condition: you're allergic to fads.
Re:Call me a dinosaur... (Score:5, Interesting)
But then, no sane coder uses a light background for coding, right?
Actually a light background is (somewhat counter-intuitively) easier on the eyes, especially in dim lighting scenarios. The reason comes down to the optical properties of your eyes, which we can talk about in camera terms. A narrow aperture creates a broad depth of field, while a narrow aperture creates a very shallow depth of field. Bright scenery requires a narrow aperture and a broad depth of field, while dark scenery (is certainly moodier) requires a wide open aperture and a very shallow depth of field.
That means that the brighter things are, the smaller your iris is, the more movement you can have in your head without your screen really going out of focus. Very dark setups with dark code (the stereotypical coding setup, it certainly looks cool) actually lead to more eye strain than a bright working environment and white background on your code. Eye strain is caused by constantly shifting focus, and that is alleviated by bright environs and bright code. Dark setups can require only a few millimeters of movement before your eyes are having to refocus. Bright setups can give you several centimeters of movement.
Re: (Score:2)
Re:Call me a dinosaur... (Score:5, Informative)
That's one cause. Excessive illumination is another, as a person with sensitive eyes quickly discovers after staring at a white background for a few seconds and experiencing strain and tearing. Focus changes in particular, do not cause eyestrain in nearsighted people because we are used to blur and have acquired the ability to read text through a much wider depth of field.
Whatever the cause, brightness sensitivity is much more common among the coders I know, and white backgrounds are the worst possible thing to look at. This used to be exacerbated by CRTs with 60Hz default refresh rate. Looking at the 60Hz white background of a default Windows installation causes eyestrain and tearing within thirty seconds, making any work impossible without deep squinting. We thus become proficient at switching the color scheme as quickly as possible. Windows 7, of course, makes this more difficult, as Aero does not support changing the theme background, so a classic theme must first be enabled.
Re: (Score:2)
So...you are saying staring at a light bulb all day is good for your eyes. Good to know.
Re: (Score:3)
You are right that a white background is good for the eyes, as long as it's not too lit. Reading on white background and CRTs was painful, and black background was better when LCD were not common.
You are wrong about movement.
Nowadays screens are large, so we need to move our eyes, but it's not efficient.
There are muscles that we do not exercize.
You can try the following exercize: try to rotate your eyes clockwise, then anticlockwise. You'll notice that it hurts !
In fact, EMDR is a therapy based upon eyes mo
Re: (Score:2)
You are right that a white background is good for the eyes, as long as it's not too lit. Reading on white background and CRTs was painful, and black background was better when LCD were not common.
But even on LCD, backlight still hurts - at least my eyes. I have no problems with paper and e-Ink - but when something flashes into my eyes, it becomes tiresome quite quickly.
It's much less of a problem on laptops, where one can quickly adjust brightness with the dedicated buttons. On PCs it is rather cumbersome. Going with dark background + choosing programs which allow to minimize bright areas to reduce stress due to high contrast is the way I do it. (Sadly only few programs allow full controls over
Re: (Score:2)
May I suggest that you don't have enough ambient light ?
Though I agree that I have the same problem on my HP touchpad, it's tiring for the eyes.
Re: (Score:2)
May I suggest that you don't have enough ambient light?
I do have enough of ambient light. But no amount of ambient light can help for a several hour long coding session. It simply too much for the eyes. Basically, in my environment I can work for about the same length of time, as I can read a paper book. What IMO is pretty good result.
For work on computer, my recipe remained steady for the decade plus: sufficient ambient light, dark background, light-gray text color - and large contrasty screen fonts.
Re: (Score:2)
You are sort of making lots of sense. But all you wrote IME is valid for books, paper and such. Based on my experience, things are starkly different when eyes have to deal with backlit screen.
By going with dark background, I simply reduce amount of backlight flashing constantly into my eyes. And increase the effect of ambient lighting. So in a way my setup actually fits what you call "bright working environment."
You can make a simple test with a flashlight: turn it on and look into it. If all you say
Re: (Score:2)
I suppose when you take notes with pen on paper you use white ink on black paper, too? And when you print it out, the page comes out all smeared solid with black toner, with the white paper showing through only where the character strokes are? Strange indeed ...
Re: (Score:2)
Pen? Paper? Do they still make these things? Weird!
Re: (Score:3)
... but is this really better than good ol' Courier?
Personally, I find san-serif fonts a bit of a strain to read for long periods of time. For a while Lucida typewriter was fine but I keep switching back to Courier.
Yes. :) Well, for me. (De gustibus non disputandum est.) I find Courier to be ugly, and for coding in particular it has too many letter forms that are confusingly similar.
Of the fixed width fonts I have installed, I'd rank them best to worst as:
The only reason to even keep Courier around is because I get documents that specify it, or when I need to look like it was written on an old typewriter---though for that I'd be tempted to inst
Re: (Score:2)
I'd actually split the list across OSes/DEs - because of differences in font rendering engines, same fonts can look very different, and one that's good on one platform is meh or even awful or another. Consolas and Inconsolata are prime examples - the former is better on Windows, the latter is better on anything that uses FreeType.
Re: (Score:2)
There, have I confirmed your prejudices now?
So, you revile good taste, consider love of beauty a weakness and "Wenn ich Kultur höre ... entsichere ich meinen Browning!"
(Sorry to disappoint you by the way, but I never got beat up in high school, and I'm not obsessive, an interior decorator, an artist, celibate, gay, or an anonymous coward.)
Re: (Score:2)
Re: (Score:3)
Check out the Bitstream family, much better than Courier or Lucida anything:
http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/1.10/ [gnome.org]
Re: (Score:2)
Do you honestly find Courier easier to read? It really doesn't do a very good job of differentiating similar characters.
And I have to suspect you've subsumed the "sans fonts are harder to read" meme to the point where it effects your actual reading skills. Note that this idea, standard among web "experts", doesn't have much in the way of scientific basis [alexpoole.info].
Why? (Score:3)
Re: (Score:3)
For that exact reason. It doesn't represent much license value to Adobe, so they figure they'll try to turn it into goodwill value.
Re: (Score:2)
This actually looks a bit better than my preferred font, Liberation Mono, at 4pt size. In particular, zero vs eight and parens/brackets/braces are more distinguishable.
You can never tell which fonts will still be legible in small sizes just by looking at the macro-sized versions.
Re:Why? (Score:5, Interesting)
Your post reminded me of this: http://mrl.nyu.edu/~perlin/homepage2006/tinyfont/index.html [nyu.edu]
How about raster fonts (Score:1)
Re: (Score:1)
Personally I prefer the font used by PCs during text mode. Shame it's impossible to find a good recreation of those that doesn't lack tons of characters :/ Somebody should make a similar font and then try to include Unicode characters, not just the basic 256 character set.
Re: (Score:2)
How I love that one, its my IRC typeface.
Re: (Score:2)
Bitmap fonts have a sweet spot around 6x8 to 8x12, where their clarity and precision can definitely be more readable and pleasing than vector fonts.
But once you get into smaller sizes, pixel fonts have to do weird things to their shapes (like the 4x6 windows bitmap font), whereas antialiasing and subpixel rendering can actually express more shape per pixel for greater readable density. And for larger fonts, curves sweep over many more pixels and it starts to look jaggy without handling vectors.
Re: (Score:1)
Re:How about raster fonts (Score:4, Funny)
This is my coding font: screenshot [imgur.com] It's a 4pt display of TFA's font, which almost the same but slightly clearer at that size than Liberation Mono, which I was using before.
It sometimes involves a bit of pixel hunting with digits before you get used to it, but I now use it for my standard daily coding environment. I like fitting EVERYTHING onscreen at once.
Re: (Score:1)
Re: (Score:2)
It's possible if subpixel rendering is working correctly (only works on LCDs and you get the occasional LCD with a reversed subpixel order which screws it up). Subpixel rendering exploits the fact that the eye has far better resoloution for intensity than for color and each pixel on a LCD is made up of three sub-pixels each in a different position (as well as a different color) by treating each subpixel like a pixel therefore effectively tripling the horizontal resolution.
Of course there is no theoretical r
Re: (Score:2)
I've never found a better font than the windows raster fonts, that are used in cmd.exe by default.
Oh good, why don't you steal them then?
Re: (Score:2)
Now if only we could put the command prompt fullscreen again!
Re: (Score:2)
CTRL+ALT+F1
Re: (Score:2)
On Windows, you can just use that in most apps (though ironically not in VS) - it's called Terminal.
On Linux, try Terminus font - apt-get install xfonts-terminus on Debian and Ubuntu. The bold version is very readable.
yuck (Score:2)
Tried it. Hated it. Back to Bitstream Vera Sans Mono [dafont.com] 10pt in Zenburn.
Re: (Score:2)
Re: (Score:2)
Thank you. I had it (an older version) but wasn't using it for some reason.
Proggy Fonts (Score:1)
Similar to DejaVu Sans Mono (Score:2)
Install instructions send you to an Adobe web page which only mentions Windows and Mac. But it turned out that in Ubuntu 12.04, double-clicking the .ttf opens it in a font viewer with handy "Install" button.
Comparing the "Regular" version to DejaVu Sans Mono, they look very similar, except the the DejaVu is a bit "fatter".
The semi-bold version is bolder than the plain DejaVu, but also seems smaller.
For the lazy, this is the .zip content:
$ ls -Ago src/SourceCodePro_FontsOnly-1.009/
total 1132
-rwxr-xr-x 1
Re: (Score:2)
Re: (Score:2)
Probably because they are on a FAT32 file system ; all files are presumed to be executable.
Re: (Score:2)
Looks like ubuntu monospace (Score:1)
As far as I can tell, apart from the Adobe version of the small 'i' looking less attractive and their comma being more vertical, they are identical.
The ubuntu font was introduced [canonical.com] last year.
Re: (Score:2)
> ubuntu mono and adobe source mono pro are almost identical ...
I am guessing you have not really spent too much time carefully choosing the best font for you.
Lighter weights are good (Score:2)
I'm not sold on this being my new programming and terminal font just yet, but they've at least provided multiple weights to try. Whatever I use in OS X (Inconsolata normally) turns out looking fat and heavy. The lighter variants of Source Sans are a nice change from that.
Tried it .. and back to Envy Code R (Score:2)
It's personal taste, but I have yet to find a better font than Envy Code R (http://damieng.com/blog/2008/05/26/envy-code-r-preview-7-coding-font-released) for source code editing.
Why? (Score:2)
No disrespect to the font designer, but as far as I can tell this is a long-solved solved problem.
Perhaps I'm a font curmudgeon, however I've not found anything that bests Schumacher Clean for everyday console and editor use. I've used it for about 15 years, and I've can't think of a single thing I don't like about it, other than it's a pain to make it and other bitmap fonts available under Ubuntu. It's been a standard part of X distributions for ages and thus it's widely available.
Schumacher Clean just m
Hinted fonts (Score:2)
Any time we can get high-quality hinted fonts for no charge is a good time.
ProFont (Score:2)
I prefer ProFont [tobias-jung.de], but perhaps that's because I have a low-resolution screen (102ppi). I set up my console font for ProFont at size 8 (size 7 isn't quite clean enough for me). The "Source Code Pro" font has a taller line height at that size, and the dot on the 0 is pushed off to the left (and antialiased), which makes it harder to distinguish from O. ProFont gets around this by using a slash for 0, which is very obvious even at small sizes.
Finally! (Score:2)
Somebody finally figured out that continuous underlining makes source code hard to read!
Aside from that, I'm not too impressed. Most features are comparable to other programmer-oriented fonts. But the zero is ugly.
No Cyrillic character support (Score:2)
Other than that, it is fine. But for me it is a deal breaker.
Well (Score:2)
Opened it, stuck it into Eclipse's main C++ code font, size 10 (the size that Eclipse was using by default with the default font in Windows 7). Looked okay until I scrolled around a bit.
A hex string with E in it looked atrocious and the left-bar of the E was at least three times thicker than any other line anywhere and just drew your eyes to the E.
Not what you want when you need to transcribe some hexadecimal number correctly and have your eye drawn to the E all the time.
Other than that... well, it's just
Re: (Score:2)
Seems to be very dependent on the font renderer. It looks great on OS X, but it definitely looks worse on Windows XP in Eclipse. (On my XP, the E and the digits are different heights. On OS X, they are the same height.)
Hopefully some day my company will upgrade us.
If you have SAP installed... (Score:2)
If you have SAP installed, on Windows at least, it's worth giving "Arial Monospaced for SAP" a whirl - I found it simple and clean but more modern than Courier. I've switched to Consolas now I'm on Windows 7, but it was my monospaced font of choice for years on XP.
Not as nice as GNU Unifont (Score:2)
This new font aint too bad, but unfortunately it doesn't work well as terminal font as GNU Unifont does, also limited Unicode support is a problem. And * is totally wrong in this font, it should be 6 pointed and same size and location as +, like in Unifont: http://www.inside.org/~raynet/unifont.png [inside.org]
sample screenshots (Score:2)
Too big. Need to show how it renders in smaller sizes, as that's how it will be used for coding.
Re: (Score:1)
For the record, this font does *not* have Serif in its name (it's Source Code Pro).
Re:monospaced fonts are yucky (Score:4, Insightful)
Probably. If you did much coding where you aligned things horizontally, like with a list of #define's in C, you'd probably rethink your assertion.
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Probably
Definitely. I think that if it weren't for monospaced fonts - I would have gone crazy...er.
Re: (Score:3)
Am I the only person who thinks code looks better and is more readable with proportional font spacing?
You're the only one who thinks it's ok if tables don't line up and ascii art falls apart.
Re: (Score:3)
Re: (Score:1)
I haven't used ASCII art since I started coding on Windows about 20 years ago. I code in Verdana. All the other programmers tell me I'm wrong but they can't tell me why.
I can tell you why: because you have a crap attitude towards communicating with your coworkers.
Re: (Score:2)
Or vice versa.
Re: (Score:2)
All the other programmers tell me I'm wrong but they can't tell me why.
Can you tell them why you're right?
"Why you're wrong" is a readability issue, for people who pride themselves on code readability (which apparently doesn't include you or your co-workers). That would include things like a list of variable declarations, where the names are variable lengths, but you want the assignment operators and values to line up vertically regardless of how long the variable names are. That would apply to any list of key/value pairs where you want the keys to be left-aligned in one "col
Re: (Score:2)
Hard-code some hex values into your C code (e.g. microprocessor-fixed defines, or memory locations, bit-shifting constants, etc.)
See how long it takes you to spot that one is 1 character shorter than the others because of a typo, and the mess it causes.
Proportional fonts are pretty for printing out your code or showing it on a website. Monospaced fonts have a utility value that you can't substitute while actually working on it.