Re: [dev] Font edition tooling

From: mpu <quentin_AT_c9x.me>
Date: Thu, 24 Dec 2015 21:14:08 +0000

Ben Woolley <tautolog_AT_gmail.com> wrote:
> I made two fonts from nothing in a couple hours [...]

Cool! I found it pretty addictive too :).

> Basically, what I am trying to do is make a font that
> is 7px high and 6px wide, with a baseline as the second
> pixel from the bottom, and only 5 usable pixels wide (the
> 6th pixel is always unset, the chars are 6px apart, and
> the 6th pixel separates the 5px wide chars). To do that,
> I created a 6x7 folder, and put BASELINE=1 in Settings. I
> ended up having xfontsel render only 4px from the left,
> even though the chars are rendered 6px apart properly. I
> think the SWIDTH needs to be something else. Any ideas?

The problem is not with SWIDTH, this SWIDTH field is really
fixed as long as your glyphs all have the same width. The
issue was in the awk script to convert dots and crosses
into hex numbers. I pushed an updated version on Github.

Let me know if that fixed it for you.


Cheers,

-- mpu
Received on Thu Dec 24 2015 - 22:14:08 CET

This archive was generated by hypermail 2.3.0 : Thu Dec 24 2015 - 22:24:11 CET