INCBIN doesn't work with fonts?
Archives Forums/Win32 Discussion/INCBIN doesn't work with fonts?
| ||
Curious - is INCBIN supposed to support font loading? It doesn't appear to work (works fine with images - but not with fonts). Thanks! |
| ||
http://www.blitzbasic.com/Community/posts.php?topic=41362 Also, I had a native imagefont file format that would allow this, will look at adding it back in soon. |
| ||
Excellent ... I'll look into that. A native file format would be EVEN BETTER. I'll be watching for that. Thanks for the super fast response! |
| ||
He, Hello Shane! I was struggling with this as well. |
| ||
I have had a few times where incbin didnt load images, had to revert to just using loadimage as normall. its strange guess its still a little buggy. I think it was when the images were in a subfolder that it wasent working for me. |
| ||
Yeah, native file format would be EXCELLENT!!! Especially when it is often illegal to redistribute fonts (you can create your game graphics, including styled bitmap fonts, but are not allowed to ship the actually TTF... that is how it is with most font licences). |
| ||
Yavin, most likely you used a backslash to seperate dirs... you need to use a forward slash. Forward slashes work on every platform for pathnames, whereas it's really only Windows that uses backslashes. Backslashes not working in an IncBin command is more an oversight on Mark's part, but it's good practice to get into the habit of using forward slashes. |
| ||
I think I might have tried both / and \ tbh .. but im not sure. |
| ||
If you used a forward slash and it still didn't work it might be worth reporting on the bug report forums... |