[epiar-devel] New font rendering
Maoserr
maoserr at gmail.com
Sat Dec 19 16:18:05 PST 2009
Good to know, I haven't look at that branch in a while. I think the only
thing left to do is to revert the screen flipping and make sure the font
drawing with FTGL is flipped before it is drawn and also write the
function to draw centered text. I'll take care of that soon.
On Sat, 19 Dec 2009 16:25:15 -0500, Matthew Zweig <thezweig at gmail.com>
wrote:
> I think that I've solved the font rendering issues I was having.
>
> The include path was "/opt/local/include/freetype2/" not just
> "/opt/local/include/". Also I didn't realize that we were using the
> FTGL library as well.
>
> I added FreeType in such a way that "./configure --enable-freetype" will
> link in the freetype+ftgl libraries, but this is off by default (for
> now) so it should not affect other developers. --enabling freetype only
> makes freetype an option though, there's a new options.xml setting for
> choosing between AFont and FreeType. Also, I learned some stuff about
> writing configure.in files, so that should be helpful for later.
>
> I didn't find the fonts we were using, so all FreeType rendering is done
> with FreeSans.ttf (which I found in the Wesnoth source). I tried to add
> linux support based on what moses said below, but I don't have a way to
> test it. If Linux/Windows users can help me find the FreeType and FTGL
> link paths, that would be great. Not a high priority though since as
> far as I know, I was the only one with AFont issues.
>
> I closed http://epiar.net/trac/ticket/2 . I'm going to leave
> http://epiar.net/trac/ticket/33 for now since I'm not 100% that
> configure.in is written in the 'proper way'.
>
> Maoserr, thank you so much for your work. Epiar is much easier to work
> with now that it runs at a reasonable speed.
>
> ~Matt Zweig (knowknowledge)
>
> On Dec 14, 2009, at 9:14 AM, Christopher Thielen wrote:
>
>> Ah, somebody on Linux will have to clean this up the proper way, see:
>> http://epiar.net/trac/ticket/33
>>
>> On Dec 12, 2009, at 6:24 PM, moses wrote:
>>
<snip>
>>
>> _______________________________________________
>> epiar-devel mailing list
>> epiar-devel at epiar.net
>> http://epiar.net/mailman/listinfo/epiar-devel
>
>
> _______________________________________________
> epiar-devel mailing list
> epiar-devel at epiar.net
> http://epiar.net/mailman/listinfo/epiar-devel
More information about the epiar-devel
mailing list