I made a font out of the icons I’m proposing for future versions of WordPress. Here’s how I did it:
Designed them in AI CS6. Preferences set like this:
Note the copy as settings; apparently you need this so you can copy/paste into fontlab…Gridline every 10px, w/10 subdivisions. Icons are based on a 10×10 grid. I made the color black so they’re easy to see.
Make sure snap to grid and snap to point are turned on, and that you can see the grid.Note the extra strokeless/fill-less 20x20px box around the icons. You need this to copy/paste into fontlab and not have them get scaled up.
Then I created a new font in Fontlab 5, with metrics set like this:
I copy/pasted each icon-the shape and the invisible bounding box- into a separate glyph in fontlab. I tried to make it intuitive; “a” is appearance, “d” for dashboard. “p” was problematic; posts, pages both have p.
After I generated the otf file, I used @font-face to embed it on a test page. I set a base size to 62.5% and set the icons to 2.0em; effectively rendering them at their native 20×20 pixels. The key thing is the -webkit-font-smoothing:antialiased property in the css. Without it, they look like garbage. They pretty much look like garbage anyway in firefox/opera, and I have no clue how to get them in IE. But in webkit it’s gold.
I’m trying to get the whole thing on github since I guess that’s what you’re supposed to do, so stay tuned…
This was one of the first techniques I learned when I began art school, back in fall ’89.
It was eye-opening. For the first time, I wasn’t responsible for every nuance that came along. The surface dictated what marks were left. Suddenly, I felt a sense of freedom from that burden of decision in art; micromanaging every line, discrediting hours of work based on unsound logic, those things were no longer mandatory.
I never recognized the role this technique played in my development as an image maker. Maybe the school I attended (SUNY Buffalo) was enamored with stuff built with frottage, or maybe it was the current “flavor of the day” in the academic art world. I never stopped using it, though.
You can download this file and use it as a starting point when designing plugin icons, so that they resemble the default set in WordPress’ admin area. Copy and paste the effect applied to the rounded rectangle shape to your own vector shape in Photoshop.