newsGNU FreeDink - News: Some fonts improvements

Latest News
New FreeDink game data release posted by Beuc, Sun Apr 2 08:34:27 2017 - 0 replies
GNU FreeDink 108.4 posted by Beuc, Wed Oct 22 20:22:43 2014 - 0 replies
New FreeDink DFArc frontend 3.12 release posted by Beuc, Thu Oct 16 21:54:46 2014 - 0 replies
New FreeDink game data release posted by Beuc, Tue Sep 2 19:00:04 2014 - 0 replies
New website design posted by Beuc, Sat Jun 16 09:27:04 2012 - 0 replies
[Submit News]
[44 news in archive]

Some fonts improvements

Item posted by Sylvain Beucler <Beuc> on Fri Nov 2 19:45:22 2007.

I added a way to load the default font from the executable itself, using a technique similar to SFX (self-extracting archives). This uses zziplib.

I also simulated the way GDI bypasses DX palette changes: now texts will become white at the end of a fade_down() (e.g. end credits in "The Three Barrels" one-screen dmod entry) and will keep a consistent color even when an altenate palette is used (e.g. text is yellow instead of blue in "Lyna's Story").

Now I wonder if I'll be able to use anything else than SDL in the future, seeing how tricky it was to implement all the original game idiosyncrasies.

Font size is still not the same than the original game. Besides, depending on whether patented features were activated or not in FreeType (used to render text from .ttf fonts), the text width varies. This needs further investigation.

Another related bug to fix is text placement in dialog options. Often, the title of a dialog choice is written being the text choices themselves, which naturally makes it difficult to read.

But don't worry, we've already fixed weirder bugs than that ;)


Looks great (posted by Julian Murgia, Thu Nov 15 18:00:51 2007)

Hi ! Just to give you a little advice that may interest you about another lib than the SDL. It's name's SFML, and is developed by a French guy, for use in C++ mainly, I can't remember.

I am currently having a look at your work. Keep it up ! ;)



Back to the top

Powered by Savane 3.1-cleanup1