[BMFont] Duplicate kerning pairs

Started by
2 comments, last by WitchLord 10 years, 2 months ago

hi,

i noticed that certain kerning pairs are duplicate in the fnt file ( no matter the format is txt, xml or binary)

an excerpt:

kerning first=87 second=114 amount=-1
kerning first=87 second=117 amount=-1
kerning first=118 second=46 amount=-7
kerning first=89 second=32 amount=-1
kerning first=89 second=44 amount=-7
kerning first=118 second=46 amount=-7
kerning first=89 second=46 amount=-7
kerning first=89 second=58 amount=-3
notice the pair 118/46
i know this can probably be ignored and is not a big problem, i just wanted to let you know...
Advertisement

Can you let me know which TrueType font you're generating the bitmap font from?

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Can you let me know which TrueType font you're generating the bitmap font from?

Trebuchet MS

Bold


# AngelCode Bitmap Font Generator configuration file
fileVersion=1

# font settings
fontName=Trebuchet MS
fontFile=
charSet=0
fontSize=64
aa=4
scaleH=100
useSmoothing=1
isBold=1
isItalic=0
useUnicode=1
disableBoxChars=1
outputInvalidCharGlyph=0
dontIncludeKerningPairs=0
useHinting=0
renderFromOutline=0
useClearType=1

# character alignment
paddingDown=1
paddingUp=1
paddingRight=1
paddingLeft=1
spacingHoriz=1
spacingVert=1
useFixedHeight=0
forceZero=0

# output file
outWidth=512
outHeight=512
outBitDepth=32
fontDescFormat=0
fourChnlPacked=1
textureFormat=png
textureCompression=0
alphaChnl=2
redChnl=2
greenChnl=2
blueChnl=2
invA=0
invR=0
invG=0
invB=0

# outline
outlineThickness=3

# selected chars
chars=32-126,160-383,894,1025,1040-1103,1105,8364,119155-119162,917505,917536-917631

# imported icon images

Thanks. I'll look into the problem.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement