View topic - gf with fonds

gf with fonds

Read-only archive of qnx.gui (Creating graphical applications within a GUI environment, such as Photon or PhAB) at inn.qnx.com

gf with fonds

Postby sh263 » Wed Feb 15, 2006 12:15 pm

Hey,

I want to use the gf Lib with a fonds engine. I think the way is to give the engine a glyph and then to get a image. So I have to use the gf image library. Is there a example for this?
What is the way to use Free Type, have anybody a example?

Regards Stephan
sh263
Active Member
 
Posts: 26
Joined: Wed Jan 12, 2005 2:53 pm
Location: Munich Germany

Re: gf with fonds

Postby Thunderblade » Tue Feb 21, 2006 3:50 pm

I'm not sure if the GF lib actually is released. If you got a beta, you got
it from a QNX representative. This is your contact person for any question.
:)

"sh263" <stephan.huels@gmx-dot-de.no-spam.invalid> schrieb im Newsbeitrag
news:dsvbkb$bag$1@inn.qnx.com...
Hey,

I want to use the gf Lib with a fonds engine. I think the way is to
give the engine a glyph and then to get a image. So I have to use the
gf image library. Is there a example for this?
What is the way to use Free Type, have anybody a example?

Regards Stephan
Thunderblade
Senior Member
 
Posts: 489
Joined: Thu Apr 07, 2005 11:52 am

RE: Re: gf with fonds

Postby sh263 » Wed Mar 01, 2006 3:55 pm

ok, thanks. After Rendering I get a struct like this from the fonds engine:
struct FTBitmap
{
int rows; /**< numer of rows */
int width; /**< number of pixels in a row */
unsigned char * buffer; /**< array of the pixels (8 bit resulotion)*/
unsigned char num_grays; /**< number of gray level */
};
I thik the best way ist to draw every pixel with the gf libraray.
sh263
Active Member
 
Posts: 26
Joined: Wed Jan 12, 2005 2:53 pm
Location: Munich Germany


Return to qnx.gui

Who is online

Users browsing this forum: No registered users and 2 guests