Rick Posted August 3, 2011 Share Posted August 3, 2011 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? Quote Link to comment Share on other sites More sharing options...
macklebee Posted August 3, 2011 Share Posted August 3, 2011 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 Quote 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 More sharing options...
Rick Posted August 3, 2011 Author Share Posted August 3, 2011 I closed the editor then reopened and then it worked. I have had the editor open all day but that seems odd. Thanks! Quote Link to comment Share on other sites More sharing options...
diedir Posted November 13, 2011 Share Posted November 13, 2011 nevermind (delete me) Quote AMD Ryzen 5900HX - Nvidia RTX 3070 - 32 Go - 1To SSD - W11 Link to comment Share on other sites More sharing options...
Recommended Posts
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.