Skip to content

Error making atlas out of multiple fonts again #50

@BladePoint

Description

@BladePoint

I am re-opening my previous issue, which still persists in version 2.5.4 on a Windows 10 administrator command prompt.

C:\>msdf-bmfont --reuse -o Atlas.png font1.ttf

Using following settings
========================================
version         : msdf-bmfont-xml v2.5.4
outputType      : xml
filename        : Atlas.png
fontSize        : 42
charsetFile     : Unspecified, fallback to ASC-II
textureSize     : 2048,2048
texturePadding  : 1
border          : 0
distanceRange   : 4
fieldType       : msdf
roundDecimal    : 0
vector          : false
reuse           : true
smartSize       : false
pot             : false
square          : false
rot             : false
rtl             : false
fontFile        : font1.ttf
========================================
No valid charset file loaded, fallback to ASC-II
Warning: no bitmap for character ' ' (32), adding to font as empty

Generation complete!

wrote font file        :  font1.fnt
wrote cfg file         :  Atlas.cfg
wrote spritesheet[ 0 ] :  Atlas.png

C:\>msdf-bmfont -u Atlas.cfg font2.ttf

Using following settings
========================================
version         : msdf-bmfont-xml v2.5.4
outputType      : xml
filename        : font2
fontSize        : 42
charsetFile     : Defined in [Atlas.cfg]
textureSize     : 2048,2048
texturePadding  : 1
border          : 0
distanceRange   : 4
fieldType       : msdf
roundDecimal    : 0
vector          : Defined in [Atlas.cfg]
reuse           : Atlas.cfg
smartSize       : Defined in [Atlas.cfg]
pot             : Defined in [Atlas.cfg]
square          : Defined in [Atlas.cfg]
rot             : Defined in [Atlas.cfg]
rtl             : Defined in [Atlas.cfg]
fontFile        : font2.ttf
========================================
File:  Atlas.cfg  not valid! Aborting...

I also tried specifying the full path for the like this, msdf-bmfont --reuse C:\Atlas.cfg font2.ttf
but the result was the same.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions