[epiar-devel] New font rendering

Maoserr maoserr at gmail.com
Fri Dec 11 06:37:22 PST 2009


If people still have problems building 3rd party libraries, we could  
consider a few options

1) Directly including all of the 3rd party libraries into our source code,  
so that it has no external dependencies.  (Not the best idea, as it will  
bloat our repository and create unnecessary maintenance)
2) Include the 3rd party libraries into our repository via the  
git:submodule command, and include it in our build process (It's similar  
to svn: extern, and it won't add bloat to our repository, but we will need  
to have a separate repository for the dependencies, and it will also  
create unnecessary maintenance)
3) Include prebuilt libraries for major platforms (I'm not too sure about  
this one either).

Doing 1) would be somewhat time consuming, but not problematic, I've  
pretty much built all the libraries from source and it was not a big deal  
(except for Libxml on windows, which has an awkward build process that  
uses wscript for building, hmmm)

Doing 2) I'm not sure how well this could work, or if it's even possibly  
to conglomerate all the different build processes together, we might have  
to write our own build scripts for some libs just to be compatible.

Doing 3) would be most likely the least amount of work (in terms of  
coding) but would require a build of the libraries on every platform  
(possibly multiple compilers)

Out of the three options, I like 2) the best, it'll allow developers to  
choose whether or not they want to use our libs, only problem is how  
difficult it would get working.

I'm tempted to go ahead and give 2) a try to see how difficult it is,  
though I anticipate build problems with Libxml on windows.

On Thu, 10 Dec 2009 01:51:26 -0500, Matthew Zweig <thezweig at gmail.com>  
wrote:

> I'm really excited about trying this.  But I can't get it to build.  I  
> struggled through getting PhysicsFS, but I'm tired and I could use some  
> help.
>
> I installed freetype and ftgl:
> 	sudo port install freetype
> 	sudo port install ftgl
>
> I added these lines to my configure.in
> 	+CFLAGS="$CFLAGS -I/opt/local/include -L/opt/local/lib"
> 	+LIBS="$LIBS -lfreetype"
> 	+dnl LIBS="$LIBS -lftgl"
> 	+LIBS="$LIBS -lphyfs"
>
> And I got these errors:
> 	http://pastebin.com/m2d74cc5b
>
> All of the problems seem to be coming from ftgl, but I don't know why or  
> how.
>
> Thanks for the help,
> ~Matt
>
> On Dec 8, 2009, at 9:31 PM, Christopher Thielen wrote:
>
>> Sounds good. I'll have to check it out.
>>
>> One thing about flipping the screen: if you meant coordinates, be sure
>> to compensate in the Font class, not anywhere else.
>>
>> We use mathematically correct coordinates because it makes the
>> trigonometry that inevitably comes up much easier, and because it's
>> easy to compensate in the more trivial coordinate situations like
>> blitting.
>>
>> Sent from my iPhone
>>
>> On Dec 8, 2009, at 5:46 PM, Maoserr <maoserr at gmail.com> 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