Author Topic: Kerning problem with bitmap font  (Read 5827 times)

mathiassoeholm

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 4
  • Posts: 35
    • View Profile
Kerning problem with bitmap font
« on: August 08, 2014, 08:26:51 AM »
I have a problem with the font kerning between the characters 6 and 1, in that order.
It only happens with the bitmap font I generated using the Font Maker.
A dynamic font, seems to work fine.


Bitmap font above, dynamic font below

I looked at the bitmap font prefab, and found where it save the kerning. It looks like this:

"kerning: 43000000ffffffff44000000f5ffffff4e000000fcffffff50000000f9ffffff51000000f9ffffff53000000ffffffff58000000f8ffffff"

Unfortunately, I have no idea of how to decipher that.
Any suggestions?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Kerning problem with bitmap font
« Reply #1 on: August 08, 2014, 09:07:39 AM »
Dynamic fonts have no kerning. Bitmap fonts do. This is just what the font wants the kerning to be like. Try using the same font somewhere else, you should see the same effect.

mathiassoeholm

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 4
  • Posts: 35
    • View Profile
Re: Kerning problem with bitmap font
« Reply #2 on: August 11, 2014, 02:47:11 AM »
I tried using the same font in Photoshop and Wordpad. They don't produce the same problem.
I also tried generating a bitmap font using Glyph Designer, and that didn't produce the problem either.
Here's another screenshot:



Top label uses the bitmap font generated by the Font Maker, middle is the bitmap font imported from Glyph Desginer and bottom is a dynamic font.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Kerning problem with bitmap font
« Reply #3 on: August 12, 2014, 12:09:49 AM »
Hmm. Odd. Can you attach the TTF for me to try?

mathiassoeholm

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 4
  • Posts: 35
    • View Profile
Re: Kerning problem with bitmap font
« Reply #4 on: August 12, 2014, 02:16:44 AM »
I've sent an email to support at tasharen.com with the font.
It's an OTF btw.
« Last Edit: August 12, 2014, 04:55:58 AM by ArenMook »