Hello, > -----Message d'origine----- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > la part de > Kiran Mahajan > Envoyé : mercredi 22 juin 2005 12:08 > À : FreeType Mailing List > Objet : [ft-devel] Porting FreeType on different platform > > > Hi all, > I have compiled Freetype2 and FreeType Demo on Linux and it's running > well. now I want to port FreeType Engine on other operating system > (Nucleus), so can anybody tell me how to do that and from where i have > to start? It will be very useful to me that if any one tell me which > files i have to modify.... >
See docs/CUSTOMIZE. You need to provide an alternative version of ftsystem.c in order to not use the standard C library routines like malloc/realloc/free or fopen/fread/fseek/fpos. note that it's a good idea to take advantage of memory-mapped files, since they provide better performance and reduced heap usage when processed by FT2. For an example, see the unix-specific file in builds/unix/ftsystem.c. FT2 also uses some C library functions (e.g. memcpy) and header files (e.g. stddef.h, limits.h) that are likely to be available on any embedded system (even if those do not provide a complete C runtime libraryà. If this is not the case for you, check the file in "include/freetype/config/ftstdlib.h" and change it accordingly. Hope this helps, - David Turner - The FreeType Project (www.freetype.org) > thanks! > > regards, > Kirankumar > > > > _______________________________________________ > Freetype-devel mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/freetype-devel > _______________________________________________ Freetype-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/freetype-devel
