[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Out Of Memory Problem
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] Out Of Memory Problem |
Date: |
Thu, 05 Jul 2007 07:33:27 +0200 (CEST) |
> I am using freetype 2.3.1,
You should switch to the just-released version 2.3.5 and try again.
> I have craeted a general font class, with the help of which, i can
> create any type of font In general font class, i have an instance of
> glypharray, glypharray contains FT_Bitmap, FT_Glyph,Ft_GlyphMetric
>
> GeneralFont fnt=new GeneralFont();
>
> After creating generalfont,
> *OnKeyDown: I keep on adding bitmaps through*
> **
> fnt->glypharray->bitmap=new FT_Bitmap();
>
> After creating two or three instances out of memory error come!!!
> what to do!!! and whats wrong with it
This is still far too vague. Please take some time and write a small
standalone example which I can compile with, say,
gcc -g -O0 -o ft-example ft-example.c -I<freetype> -l<freetype>
and which demonstrates your problem. Without that we can't help you.
Werner