Commit graph

10 commits

Author SHA1 Message Date
Clownacy
71d7aafaf9 Remove FreeType licence stuff
Binaries will no longer contain FreeType code
2020-09-30 21:20:05 +01:00
Clownacy
aac1c9c844 Get 640x480 and Japanese builds working again 2020-09-17 15:02:42 +01:00
Clownacy
fe76fe6dea Big scary messy unfinished font overhaul
This is currently hardcoded to 640x480 English builds.

What I've done is temporarily gutted the FreeType2 font renderer, and
instead introduced a system where the font is read from a
pre-rendered font atlas. This allows me to get 100% accurate font
rendering to Windows XP... because I literally created these atlases
with Windows XP.

So not only does this eliminate the issue of FreeType producing
misshapen glyphs, but it also works around the copyright issue
regarding bundling the Courier New and MS Gothic fonts with CSE2.

You see, font files can be copyrighted like any old software, however
typefaces have a lot less protection - they're basically fair-game.
IANAL, of course - look it up yourself.

I don't really want to throw away the FreeType font system since I
spent a ton of time working on it, it allows you to use other font
files, and I'll probably wind up needing it for CSE2EX. I guess I'll
just have to find some way to either have the two systems coexist, or
make it so one or the other can be selected at compile-time.
2020-09-17 15:02:36 +01:00
Clownacy
cf6a3d9a48 Add Aeon Genesis to licence file
Also update details
2020-06-30 22:42:39 +01:00
Clownacy
946667ab60 Replace Noto Japanese font with Migu 1M
Noto is massive, and draws too far down for some reason. Also, it
draws too big at 20x20 (the size needed to get MS Gothic to display
accurately). This new font has none of those problems.

Big thanks to joexyz for recommending this font.
2020-06-30 16:08:28 +01:00
Clownacy
e45d69fd2d Fix typo in licence.txt
Thanks, joexyz
2020-05-20 19:30:11 +01:00
Clownacy
f156c2db10 More licence stuff 2020-04-06 23:25:00 +01:00
Clownacy
f5cb7bfd11 Add licences to binary folders 2020-04-06 21:09:02 +01:00
Clownacy
cf75cbcad2 Don't embed font in executable
Creating a Japanese build would require 4GB+ of RAM because of this.
It's about time it got removed. It was a silly idea anyway.
2020-03-17 21:14:15 +00:00
Clownacy
917d69fc4a Move the data folder back to the game folder
The whole 'copy data folder from assets folder to the game folder
when Makefile is ran' thing just made modding annoying.
2020-01-24 13:44:57 +00:00