Archive

Author Archive

I would geek critique too

June 9th, 2011 Paul Flo Williams Comments off

I just received some feedback on Dotrice, which I claim looks like an old Epson FX-80 dot matrix printer.

I’m sure he won’t mind if I tell you that the email was from someone who has worked on a ton of retro tech fonts himself.

The email started with a compliment, which is always nice, and then continued by saying that he’d downloaded the FX-80 manual and found that the bottom row of my lowercase “g” was out by half a pixel.

I nearly fell off my chair laughing, because that’s exactly what I would do!

Categories: Fonts Tags:

A Private failing in Segment14

June 3rd, 2011 Paul Flo Williams 1 comment

My first upload to the reborn Open Font Library was Segment14, and it failed badly as a web font in Firefox 3.6.17 on Fedora, not displaying at all.

Christopher Adams confirmed that it worked on the WebKit-based browsers Safari and Midori, and it works on my HTC Desire.

After some minor, unrelated, cleanups, FontForge gave both the SFD and OTF files a clean bill of health, but it still wasn’t working in Firefox, so I took a deeper look and found that Mozilla had added the OTS font sanitizing library to Firefox from version 3.6.13, back in December 2010.

OTS is mainly designed to be added as a font condom for OpenType-consuming applications, as Firefox apply it, but it also has a standalone checker called ot-serialize. OTS isn’t packaged in Fedora yet, so I collected it from upstream and ran it over my font, with these results:

ERROR at /home/paul/projects/ots/ots-read-only/src/cff.cc:377 (bool::ParsePrivateDictData(const uint8_t*, size_t, size_t, size_t, ::DICT_DATA_TYPE, ots::OpenTypeCFF*))

Ugly. Still, it’s a “yes/no” tool, so I’m prepared to do a little hunting through the source to find out exactly why it hates me.

The answer is that my FontForge source had a definition of BlueValues in the Type 1 Private dictionary. I don’t remember how it got there, because it is optional, but I had put one in, and I had defined it as an empty array. OTS decided that, if arrays exist in the Private dictionary, they must not be empty. With a quick snip, my font works again.

I’ll certainly be adding OTS to my fonty toolchain, and it strikes me that this would be a useful tool for packaging and using in font reviews. You wouldn’t want to fail a review because of it, but it would certainly help to know whether a font will fail on the Web, which must be a large part of users’ expectations now.

Categories: Fonts, Linux Tags:

And still the tools don’t work, but which tool?

May 30th, 2011 Paul Flo Williams Comments off

It seems that, whenever I get close to doing something interesting in fonty land, a tool fails. I’m pleased to see that the Open Font Library is now accepting uploads again but I can’t see my first font, Segment14.

I’m using Firefox 3.6.17 on Fedora 14, and it stubbornly refuses to show up as a web font. As far as I can see, every other one of the 36 fonts on the site displays correctly, but Segment14 shows up as the fallback serif.

Christopher Adams took a look for me and says that it works just fine on Safari and Midori, which suggests that the fault lies with Firefox, but I’m left wondering which bug I’ve tripped over.

This is bug 789283 on OFLB’s Launchpad, in case anyone has any clues.

Categories: Fonts Tags: