On 16 марта 2009, Werner LEMBERG wrote:
> > freetype compiled with "-O0 -mtune=i686" does not cause a crash.
> > Output of valgrind for the crash is:
>
> I still can't repeat -- I get no valgrind warning using gcc 4.3.2 with
> `-O2 -mtune=i686' on my GNU/Linux box.  Please tell exactly how you
> have compiled both freetype2 and ftview.  Have you modified ftoption.h
> also?

I did not changed ftoption.h but defined 
CPPFLAGS="-DTT_CONFIG_OPTION_BYTECODE_INTERPRETER 
-DFT_CONFIG_OPTION_SUBPIXEL_RENDERING" 
before running configure. 

freetype2 was configured 
with ./configure --prefix=/usr --program-prefix= --mandir=/usr/man 
--infodir=/usr/info 
i486-slackware-linux and CFLAGS="-O2 -mtune=i686". ftview was patched with 
ft2demos-2.3.6.diff (see attachement) before compilation.


-- 
Andrey V. Panov
panov /@/ canopus.iacp.dvo.ru
diff -Nuar ft2demos-2.3.6/src/ftcommon.c ft2demos-2.3.6.new/src/ftcommon.c
--- ft2demos-2.3.6/src/ftcommon.c	2008-05-13 21:18:24.000000000 +1100
+++ ft2demos-2.3.6.new/src/ftcommon.c	2008-06-11 10:13:28.000000000 +1100
@@ -71,8 +71,8 @@
   /*************************************************************************/
 
 
-#define DIM_X      500
-#define DIM_Y      400
+#define DIM_X      1000
+#define DIM_Y      800
 
 
   FTDemo_Display*
_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to