anotak/libtcod-net

Altering font bitmap crashes program.

GoogleCodeExporter opened this issue · 3 comments

What steps will reproduce the problem?
1. Using a paint program, I erased part of the letter "l" in the
terminal.bmp file. Program exits at line: rootConsole = new
TCODConsoleRoot( 80, 50, "tcodlib C# sample", fullscreen, fontReq );
2.
3.

What is the expected output? What do you see instead?
Same working demo program, except letter l should look different. 

What version of the product are you using? On what operating system?
0.11 on xp using VS2005.

Please provide any additional information below.
Sorry, I'm not experienced enough of a programmer to debug this or figure
out what is wrong. Initially, I was trying to alter the demo program to use
a larger font bitmap file. Ultimately, I narrowed down where the error was
originating from (first switching to same size bitmap font 128x128 and then
using an altered file of the original terminal.bmp). Apparently, it didn't
like any of the new font bitmap files I made, so I tried altering the
original, expecting the demo to work, but just show an altered letter "l".
Instead, it crashes at the line I mentioned above. I've included the
altered bitmap file font, but would appreciate any enlightenment. Also, I
could not locate a method called "setCustomFont" as described in the
libtcod online documentation under "2.1.2 Using a custom bitmap font".


Original issue reported on code.google.com by bdl...@gmail.com on 27 Jul 2008 at 9:23

Oops sorry I forgot to attach the altered bitmap file.

Original comment by bdl...@gmail.com on 27 Jul 2008 at 9:24

Attachments:

Please close this issue. I figured out how to get it working, although I don't 
know
why it requires the filename to only be "terminal.bmp".

Original comment by bdl...@gmail.com on 28 Jul 2008 at 12:51

Asked to close by reporter.

Original comment by chris.ha...@gmail.com on 28 Jul 2008 at 3:23

  • Changed state: Invalid