Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
So, open your Towns folder (SteamApps -> common -> Towns), open the "data", and then open "font". Inside, there should be a file called "cantarell_17.fnt" If that's not there, then your problem is simple to fix... although I have no idea why it wouldn't have been fixed when you verified the game cache, because that should automatically download the file.
If the file is there, then go back to the "data" folder and look for a .png image called "cantarell_17.png" It might have been converted into some other image format; if so then that's your problem. If it's not there, that's another potential problem. A third potential problem is that somehow the image has become corrupted. Hower, those second two should be fixed automatically by verifying the game cache, so again I'd be very surprised if those are what's wrong. Automatic conversion to a different file type isn't much more likely either -- really, all I'm doing here are listing the unlikely but simple-to-fix possibilities.
If it's none of those, then I'm going to need more info to help you. First off, check that your Java is up to date; and then I'll need to know things like what Operating System (e.g. Windows 7/8/10, Mac or whatever) you're running, what your graphics card/GPU is, and whether you're running the game with any mods installed.
graphics folder cantarell_17.png 3.75kb
vanilla towns
windows 10
intel core i5
6gb ram
nvidia geforce 9600 gt
java up to date
i did try it with towns plus plus 14 e mod but still gave same error
I suspect that it's Windows 10 not playing nicely with the way the font is set up. It might be possible to use the other font from Towns++ as a replacement; although you'd have to make sure that the game is loading that and not trying to load Cantarell.
i tried this
# Font
TILESET_FONT_FILE = fontMetamorphous_0.png
FONT_FILE = data/fonts/fontMetamorphous.fnt
and still got this
[Dec 19, 2015 2:23:03 PM][UtilsGL] ImageIO decoding of image [fontCantarelltest.png] failed: javax.imageio.IIOException: Can't read input file!
[Dec 19, 2015 2:23:03 PM][UtilsGL] Failed to load image fontCantarelltest.png
[Dec 19, 2015 2:23:03 PM][class xaos.panels.f] Error loading font texture
so it seems that somewhere there is a hardcoded fontcantarelltest that doesnt wanna load
[Dec 19, 2015 2:28:10 PM][Towns] Error Code [0]
[Dec 19, 2015 2:28:10 PM][Towns] java.lang.UnsupportedOperationException: Unsupported format for this image
at de.matthiasmann.twl.utils.PNGDecoder.decode(PNGDecoder.java:308)
at xaos.utils.p.a(Unknown Source)
at xaos.utils.p.a(Unknown Source)
at xaos.utils.p.a(Unknown Source)
at xaos.utils.p.a(Unknown Source)
at xaos.panels.f.<init>(Unknown Source)
at xaos.main.a.<init>(Unknown Source)
at xaos.Towns.main(Unknown Source)
I'll send this directly to Supermalparit; but I have one other crazy idea: you could try renaming the metamorphous font file as Cantarell (I'd say start with renaming it as the fontcantarelltest.png) in the hope that the game can load the alternative font file instead.
there is no fontCantarelltest.png
the files are
cantarell_17.png
cantarell_17.fnt
no test in the names at all
in any towns file that i have the standalone version (freshly downloaded)
and my modded version towns++
both running fine over here on windows 10 64 bit