Here is my code.

In initialization:

csRef<iFont> font;
iFontServer *fs;
fs=g2d->GetFontServer();
font=fs->LoadFont(CSFONT_LARGE,10);


Then where I am drawing 2d images:

csString text("test");
g2d->Write(font,0,700,255,-1,text,CS_WRITE_BASELINE); //This line crashes the 
program

I have a really cool project I'm writing.  It is basically a teleconferancing 
program to allow people to play old school pencil and paper RPGS with a live 
Game Master.  I can probably finish it in just a few months, but text is 
something I've never done before in CrystalSpace, so its hanging me up.




      
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: 
mailto:[email protected]?subject=unsubscribe

Reply via email to