Importing TTF Fonts

This forum is for the Lua scriptable clone of DM/CSB called Dungeon Strikes Back by Sophia. Use DSB to build your own highly customised games.

Moderator: Sophia

Forum rules
Please read the Forum rules and policies before posting.
User avatar
Gambit37
Should eat more pies
Posts: 13714
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: Importing TTF Fonts

Post by Gambit37 »

Show me your font and I can probably fix it :-)
User avatar
ian_scho
High Lord
Posts: 2806
Joined: Fri Apr 07, 2006 8:30 am
Location: Zaragoza, Spain

Re: Importing TTF Fonts

Post by ian_scho »

Admit it Gambit. It felt GOOD to say that!
User avatar
Gambit37
Should eat more pies
Posts: 13714
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: Importing TTF Fonts

Post by Gambit37 »

Yeah, there's not much I can do in DSB that the rest of you brain boxes can't do 100 times better. But working with gfx is one thing I do very well :)
User avatar
Joramun
Mon Master
Posts: 925
Joined: Thu May 25, 2006 7:05 pm
Location: The Universe

Re: Importing TTF Fonts

Post by Joramun »

Error: Font not found:
Font_Main (Font/Font_Main.png)
I re-saved the font from png to pcx format with GIMP.
Still crashes, but differently:

Code: Select all

PROGRAM CRASH!
Location: -5 0 0
Reason: Segmentation Fault
Stack Dump:
DSBmain
manifest_files
execute_stacktop_manifest
src_lua_file(D:\Jeux\DM\DSB\dsb52\dm_hd/graphics.lua)
src_lua_file.pcall
lua.dsb_get_font
fontload
What Is Your Quest ?
User avatar
Sophia
Concise and Honest
Posts: 4239
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Re: Importing TTF Fonts

Post by Sophia »

Hmm, something went wrong in the font loader.
I'll need the actual font to diagnose what.

You have my email address, right? Please send it and I'll figure this out.
Post Reply