Jump to content
  • Advertisement
Sign in to follow this  
ehmdjii

[BMFont] Duplicate kerning pairs

This topic is 2061 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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...

Share this post


Link to post
Share on other sites
Advertisement

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

Edited by ehmdjii

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!