Jump to content

font not working


Rick
 Share

Recommended Posts

Do I was following Aggror's tutorial on getting fonts to work from http://www.leadwerks.com/werkspace/topic/3008-leadwerks-tutorial-font-studio/page__p__27857__hl__setfont__fromsearch__1#entry27857

 

I swear I've followed it but from the editor my font didn't change.

 

Here is the font dds texture and the ini

http://dl.dropbox.com/u/1293842/Comic20.dds

http://dl.dropbox.com/u/1293842/Comic20.ini

 

Note I've tried with mipmaps and without in the dds file. I also realize I'm wasting a ton of space but I did make my first one smaller in size but that didn't work either so I followed his tutorial exactly and in it he uses 1024.

 

And in my code right before the main loop I have:

myFont = LoadFont("abstract::Comic20")

SetFont(myFont)

 

 

I doesn't error out or anything, the font just is the same old default one.

 

What am I missing?

Link to comment
Share on other sites

works fine for me... have you checked the log to make sure you were loading the comic20.dds / that it was in your abstract path?

RegisterAbstractPath("")
Graphics(400,300)
fw=CreateFramework()
font1 = LoadFont("incbin::Arial9")
font2 = LoadFont("abstract::Comic20")

while AppTerminate()==0 do

       fw:Update()
       fw:Render()

       SetBlend(1)
       DrawText("Standard LE font",0,60)
       SetFont(font2)
       DrawText("Custom font",0,100)
       SetFont(font1)
       SetBlend(0)
       Flip(1)
end

post-14-0-05453500-1312334182_thumb.jpg

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Link to comment
Share on other sites

  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...