Hi Hojjat, i had the same problem. I dont know how i fixed it.
I only use arial.ttf now. Maybe this was it. try this a2dGlobals->GetFontPathList().Add ("C:/Windows/fonts"); Regards Süleyman ________________________________ Von: Hojjat jafary [mailto:hojjatjaf...@yahoo.com] Gesendet: Freitag, 17. Februar 2012 14:41 An: wxart2d-users_dev@lists.sourceforge.net Betreff: [Wxart2d-users_dev] Agg, a2dText, freetype Hi, This is my first post in wxart2d mailing list, wxart2d is a great library, I have a problem if anyone can help me he/she will be very appreciated, I have a a2dcanvas with aggdrawer for its drawer, I like to put some a2dText on it but after some number of addition an error occurred that write FT_Stream_Open : could not open font file on the console and could not show the texts. I checked the font I'm using to be exist in the path(C:\windows\fonts\..), the a2d itself check this in a2dFontFreetypeData::SetFilename but it seems freetype can not open the font file. This is how I create my texts: mText = new a2dText( wxT("test text."), 0, 0, a2dFont(wxT("tahoma.ttf"), 150.0, wxFONTENCODING_DEFAULT) ); When I modified the split sample to use aggdrawer and putting editable text in a loop the program crashes if the loop runs for 510 times but it work properly if the loop runs lower that 510. Regards, Hojjat. ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Wxart2d-users_dev mailing list Wxart2d-users_dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev