freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Devel] drivers


From: Detlef Würkner
Subject: Re: [Devel] drivers
Date: Wed, 05 Dec 2001 19:18:13 +0100

address@hidden (Francesco Zappa Nardelli) wrote:

> Is there an uniform way to discover which driver has been used to open
> a font file after a FT_New_Face( library,..., &face ) invocation?

I'm using something like this:

if (!strcmp(FT_MODULE_CLASS(face->driver->root)->module_name, "type1"))
        printf("type1 driver is used\n");
else if (!strcmp(FT_MODULE_CLASS(face->driver->root)->module_name, "truetype"))
        printf("truetype driver is used\n");
else ...

Ciao, Detlef
-- 
_ // address@hidden
\X/  Detlef Wuerkner, Langgoens/Germany



reply via email to

[Prev in Thread] Current Thread [Next in Thread]