Elements adds Vera Sans Mono

A new version of Elements hit the App Store yesterday and it has—for me, anyway—the biggest and best improvement in usability yet: the addition of the Bitstream Vera Sans Mono font.

How important is this? Many of my most useful files are tables of information arranged in columns. The only way to get columns to line up in plain text is to use a monospaced font, and until yesterday, the only monospaced font available in Elements was Courier and its variants.

That’s Courier Bold, and it’s pretty ugly. The only thing that can be said in its favor is that it isn’t plain Courier, which is both ugly and too spindly to read.

Now I can use my favorite monospaced font, the font I use in my text editor and as the monospaced font in my browser.

Bitstream made the Vera Sans family available for free use several years ago, and it’s the foundation on which both the Deja Vu font and Apple’s Menlo font are built.

I was surprised to go down the font list and find that Vera Sans Mono was the only monospaced font added. No Lucida Console, no Andale, no Inconsolata, even though all these have their fans.1 Maybe there were licensing problems with the other fonts, or maybe I was the only one bitching about this. Whatever—I got the font I wanted.

Note also that Vera Sans Mono is truly monospaced; there’s something wrong with Courier’s metrics that makes the columns slightly misaligned. This has been known for quite some time now, but Apple hasn’t gone in to fix it.

As for the byte order mark (BOM) and line ending (CRLF) problems I’ve had with Elements—well, they’re still there, but I’m more sympathetic to Second Gear’s position than I used to be. I thought they were purely concessions to Windows users until this tweet:

@mackenab @drdrang BOM is a necessary evil until Dropbox stops stripping xattrs. Diacritics don’t worn right in QuickLook/TextEdit without.

4:04 PM Fri Nov 19, 2010

This was news to me, so I made a test file in TextMate with UTF-8 characters, saved it (with no BOM), and opened it in TextEdit. Here’s what it contained:

“Hérë’s a lîñe with UTF-8 çhåracters…”

And here’s what it looked like in TextEdit:

TextEdit can be configured to open files as UTF-8, but this is what you get when it uses the default “Automatic” encoding.

So although I still think Second Gear should offer a “No BOM/No CRLF” option, the choices they’ve made aren’t purely Windows-oriented. And even if Elements never gets that option, I have a little script (described in this post) that puts a file into proper Unix format when I need that.

It’s hard to stay annoyed at Second Gear when they’ve given me the font I wanted.


  1. The religious wars over monospaced fonts aren’t as well known as those over text editors, but they’re just as passionate. 


3 Responses to “Elements adds Vera Sans Mono”

  1. Alan Schmitt says:

    As you keep praising Elements, I decided to give it a try, and I have to say it’s really nice. Switching from the Simplenote sync system to Dropbox is just great.

    I have a couple questions, though, which I also asked the tech support of Elements:

    • does TextExpander works in the title? It does not seem for me, which is most unfortunate as I like to put a lot of metadata in the title of a note (creation date, type of the note, tags), and for this I rely on expanding them.
    • do you use an iPad? If so, do you know how to edit the title of an existing note? It does not work the same as on the iPhone, and could not find a way to do it.

    Thanks,

    Alan

  2. Dr. Drang says:

    Well it’s nice to get questions that are easy to answer, even when I know the answers won’t be very helpful.

    • TextExpander doesn’t work in the title. Before your comment, I had never tried it; but now that I have, it’s clear that Second Gear didn’t include the magic TE code necessary to get expansions to work in that field. I don’t know whether that’s an oversight or a deliberate design decision, but either way it’s wrong.
    • I don’t have an iPad and don’t have access to one, so I don’t know and can’t even investigate the answer to your second question.

    I’m a little surprised Second Gear hasn’t answered your questions. They’ve always been prompt in responding to me, even when the answer has been “No.” If your questions were sent in the last couple of days, the response may be delayed by the Thanksgiving holiday here in the US.

    I’d be interested in hearing Second Gear’s answers when they do respond.

  3. Alan Schmitt says:

    Oops, I had forgotten about Thanksgiving. So I did receive a reply (which is amazing considering) about editing the title: one needs to double tap it when editing the text. I sent another email about TextExpander, and I’ll let you know when they reply.