Brickley Roscowicz Engineering

Brickley's
Words

HomeBrickley's WordsBrickley's Gallery


New version of txt2dat

Well it’s been a while, with no bug reports! I guess that means it’s working great for everyone 🙂

So I decided to implement a new feature that someone once asked for – pair kerning. Pair kerning adjusts the space between some character pairs to make them look better, for example L & W, which generally look too wide apart if the default spacing is used.

The kerning information is stored in the font file, and txt2dat now uses it to make the text look better. Note that it only applies horizontal kerning because

  • txt2dat doesn’t support multiple lines
  • FreeType doesn’t support vertical kerning

Anyway, check it out. The first example is without kerning, the second is with it.

Oh, and you can download txt2dat here.

LW without kerning

LW without kerning

LW with kerning

LW with kerning

One Response to “New version of txt2dat”

  1. AWESOME LDraw: GitHub File Free Download Says:

    […] http://www.br-eng.info/my-lego-roscomenu-29/my-ldraw-roscomenu-45/50-txt2dat (+ arhived, article1, wiki, […]

Leave a Reply

Note: If your comment does not appear, it it probably because Askimet thinks it is spam. Fear not - if you let me know, I can restore it, but only up until 2 weeks after you leave it, at which time it will be automatically purged if it hasn't been restored.

LEGO®,Technic®, Mindstorms® are trademarks of The LEGO Group of companies, which does not sponsor, authorise or endorse this site. Please visit the official LEGO site here.

Send mail to webadmin@br-eng.info with questions or comments about this web site.
Copyright © 2002-2007 R. Crawford

Brickley's Words is proudly powered by WordPress
Entries (RSS) and Comments (RSS).