{"id":26,"date":"2003-11-03T22:35:45","date_gmt":"2003-11-04T05:35:45","guid":{"rendered":"http:\/\/newsfeed.fatorcaos.com.br\/wp\/?p=26"},"modified":"2003-11-03T22:35:45","modified_gmt":"2003-11-04T05:35:45","slug":"two-way-painless-pixel-font-creation","status":"publish","type":"post","link":"https:\/\/labs.zeh.com.br\/blog\/?p=26","title":{"rendered":"Two-way painless &#8216;pixel font&#8217; creation"},"content":{"rendered":"<p>Ok, here it is: a software to painlessly create so-called pixel or bitmap fonts, <a href=\"http:\/\/www.simplefont.com\/store.php?agent=quasimondo\">SimpleFont<\/a>. It&#8217;s a commercial software and I haven&#8217;t tested it already, but some people might be interested. Via <a href=\"http:\/\/www.quasimondo.com\/archives\/000330.php\">Quasimondo<\/a>.<\/p>\n<p>While we&#8217;re on the subject and I&#8217;m feeling like Santa Claus on crack, I remembered I had to make public my special &#8216;pixel&#8217; font template. Well, download it <a href=\"http:\/\/www.fatorcaos.com.br\/downloads\/pixel_perfect_4.vfb\">here<\/a>. You can use it to create TrueType (TTF) based &#8216;pixel&#8217; fonts, and it&#8217;s free for anything as long as it doesn&#8217;t include kitten killing. Here&#8217;s some needed instructions:<\/p>\n<blockquote><p>1. Use either <a href=\"http:\/\/www.pyrus.com\/html\/fontlab.html\">FontLab<\/a> or <a href=\"http:\/\/www.pyrus.com\/html\/typetool.html\">TypeTool<\/a> to open the .VFB file. Both share a <b>very similar<\/b> interface and will produce the <b>same<\/b> results. Both are commercial software and both have a trial version, too, although FontLab costs $549 and TypeTool costs $99 (and comes with less advanced features). So, yeah, this is only free if you already have one of these tools. Sorry.<\/p>\n<p>2. Set your grid steps (Tools &gt; Options &gt; Glyph) to 256&#215;256. That will ensure that each grid box on your screen is the same than a pixel.<\/p>\n<p>3. Create and edit your letters. Each box on a grid will make one pixel, when the font is used at size 8, so just draw squares like there&#8217;s no tomorrow! It&#8217;s pretty easy, though, both FL and TT has some nice boolean drawing tools which makes &#8216;bitmap&#8217; font creation amazingly easy.<\/p>\n<p>4. Flash has a rendering problem which makes small fonts be filled when their interiors are too small. To avoid this, you have to make sure the &#8220;hollow&#8221; parts of the font aren&#8217;t real holes (they will look like they are). On the font sample you download, check the &#8216;B&#8217; glyph. Zoom it to the maximum, and check the part in with the medium horizontal line touches the outer archs. You&#8217;ll notice a small diagonal gap of exactly two points. You need a space at least this big to make sure the font&#8217;s won&#8217;t get filled and render like ink blots (I learnt this trick from the guy from <a href=\"http:\/\/www.atomicmedia.net\/\">AtomicMedia.net<\/a> some 4 years ago, although I don&#8217;t think he has this on his site anymore).<\/p>\n<p>5. Remember to change the font name and information before release.<\/p><\/blockquote>\n<p>Cool, huh? I think so. And I&#8217;m not even a communist.<\/p>\n<p>PS: It&#8217;s important to note this template file was created solely by me and not copied and\/or modified from any other source. I actually went through hell to get this font&#8217;s metrics to work correctly &#8211; even though in the end they&#8217;re pretty simple dumb numbers &#8211; and I think the result is satisfactory enough to let it be released like this. Comments and critics are appreciated, though.<\/p>\n<p><b>Update<\/b>: <a href=\"http:\/\/www.lowest-common-denominator.com\/\">Brew<\/a> just pointed out on the comments that the AtomicMedia.net article I mentioned is <a href=\"http:\/\/www.ultrashock.com\/ff.htm?http:\/\/ultrashock.com\/tutorials\/flash5\/fonttutorial.html\">mirrored at UltraShock<\/a> in all its glory. More than being an article on font fixing, it&#8217;s an article that teachs how to create pixel fonts on a Fontographer. Pretty cool.<\/p>\n<p>I&#8217;d like to point that I disagree with the way the no-fill solution is done, however; I like to make &#8220;open&#8221; fonts myself (see step 4, above), and keep the vertical and horizontal lines straight on the grid, leaving only a single diagonal opening on one single. Both solutions have the same result on its minimal (ideal) font size, but since there&#8217;s a bigger modification on the color weight, bigger path modifications such as moving one entire vertical line will produce errors earlier on greater sizes. That&#8217;s a really good article and a breakthrough when it was published, but use caution when doing the no-fill fix.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ok, here it is: a software to painlessly create so-called pixel or bitmap fonts, SimpleFont. It&#8217;s a commercial software and I haven&#8217;t tested it already, but some people might be interested. Via Quasimondo. While we&#8217;re on the subject and I&#8217;m feeling like Santa Claus on crack, I remembered I had to make public my special [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/labs.zeh.com.br\/blog\/index.php?rest_route=\/wp\/v2\/posts\/26"}],"collection":[{"href":"https:\/\/labs.zeh.com.br\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/labs.zeh.com.br\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/labs.zeh.com.br\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/labs.zeh.com.br\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=26"}],"version-history":[{"count":0,"href":"https:\/\/labs.zeh.com.br\/blog\/index.php?rest_route=\/wp\/v2\/posts\/26\/revisions"}],"wp:attachment":[{"href":"https:\/\/labs.zeh.com.br\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=26"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/labs.zeh.com.br\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=26"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/labs.zeh.com.br\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=26"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}