Slashdot Mirror


Adobe Releases New Openly Licensed Coding Font

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?

25 of 136 comments (clear)

  1. Call me a dinosaur... by rnturn · · Score: 3, 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.

    --
    CUR ALLOC 20195.....5804M
    1. Re:Call me a dinosaur... by Dwedit · · Score: 3, 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.

    2. Re:Call me a dinosaur... by American+AC+in+Paris · · Score: 5, Insightful

      8ut there are lots of reasons to switch away from Courier. 0ne obvious reason is that l made four easy-to-over1ook typos in this post alone.

      --

      Obliteracy: Words with explosions

    3. Re:Call me a dinosaur... by TheMMaster · · Score: 4, 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

      --
      Fighting for peace is like fucking for virginity
    4. Re:Call me a dinosaur... by Anonymous Coward · · 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.

    5. Re:Call me a dinosaur... by Drishmung · · 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.

      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:

      1. Inconsolata
      2. Consolas
      3. Source Code Pro
      4. Monaco
      5. Andale Mono
      6. Menlo
      7. Courier
      8. Courier New

      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 install Harting.

      --
      Protoplasm. Quiet Protoplasm. I like quiet protoplasm.
    6. Re:Call me a dinosaur... by nahdude812 · · Score: 4, 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.

    7. Re:Call me a dinosaur... by Tough+Love · · 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.

      --
      When all you have is a hammer, every problem starts to look like a thumb.
    8. Re:Call me a dinosaur... by flimflammer · · Score: 4, Insightful

      Wow, I don't think you could have made his point any better right there.

    9. Re:Call me a dinosaur... by amicusNYCL · · Score: 2

      Check out the Bitstream family, much better than Courier or Lucida anything:

      http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/1.10/

      --
      "Our two-party system is like a bowl of shit looking at itself in a mirror." - Lewis Black
    10. Re:Call me a dinosaur... by Chemisor · · Score: 4, Informative

      Eye strain is caused by constantly shifting focus

      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.

    11. Re:Call me a dinosaur... by eulernet · · 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.

      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 movement, and it helps activating left and right brain hemispheres.

    12. Re:Call me a dinosaur... by Anonymous Coward · · Score: 3, Funny

      Actually, I believed for some time that the former North Korean premier was Kim Yong the Second ...

  2. Why? by cgt · · Score: 3

    We've already got plenty of good fonts for programming, and this doesn't actually look that good.

    1. Re:Why? by Aviancer · · Score: 2

      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.

    2. Re:Why? by mister_playboy · · Score: 4, Interesting
      --
      Do what thou wilt shall be the whole of the Law ::: Love is the law, love under will
  3. Re:That was a shock by Tough+Love · · Score: 2

    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.

    --
    When all you have is a hammer, every problem starts to look like a thumb.
  4. Re:That was a shock by tlhIngan · · Score: 4, Informative

    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.

    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.

  5. Re:monospaced fonts are yucky by ichthus · · Score: 3, Insightful

    Am I the only person who thinks code looks better and is more readable with proportional font spacing?

    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.

    --
    sig: sauer
  6. Re:monospaced fonts are yucky by Tough+Love · · Score: 2

    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.

    --
    When all you have is a hammer, every problem starts to look like a thumb.
  7. Re:How about raster fonts by fsck1nhippies · · Score: 2

    Now if only we could put the command prompt fullscreen again!

  8. Re:monospaced fonts are yucky by PRMan · · Score: 2

    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. Some of them switch and never go back.

    --
    Peter predicted that you would "deliberately forget" creation 2000 years ago...
  9. Re:That was a shock by Anonymous Coward · · 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.

  10. Re:How about raster fonts by White+Flame · · Score: 3, Funny

    This is my coding font: screenshot 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.

  11. Re:That was a shock by jrumney · · Score: 2

    Well, the standard is pretty much the Microsoft-Apple TrueType (designed as a competing standard to Adobe PostScript fonts).

    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.