Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[CS:DE and EO 3.0] Load more fonts than two!


Growlith1223
 Share

Recommended Posts

ok so like if you haven't noticed what will happen when you try to add in another font is

```

Compile Error:

Fixed or Static data can't be over 64k

```
well that can just duck off…

First all teh way at the top of modText, replace

```

Public Font_Default As CustomFont

Public Font_Georgia As CustomFont

```
with

```

Public Font(1 To MAX_FONTS) As CustomFont

```

Then. wrap ALL Font_default or Font_Georgia with Font()

then once done, go into ModConstants and add in

```

Public Const MAX_FONTS As Long = 2

Public Const Font_Default As Byte = 1

Public Const Font_Georgia As Byte = 2

```
anywhere…and there ya go! you can now load more fonts than just two shitty ones ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png)
Link to comment
Share on other sites

I tried to use the program Bitmap Font Builder (v. 1.9.9) [http://www.lmnopc.com/bitmapfontbuilder/](http://www.lmnopc.com/bitmapfontbuilder/) but it seems it doesn't work (and the .dat file generated is almost twice the size of the .dat file of bitmap fonts used by Robin, maybe the data needed for the font (size, offset, etc…) is saved differently in the last version). anyone could please link me a working version of the program?
Link to comment
Share on other sites

  • 5 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...