freetype-devel
[Top][All Lists]
Advanced

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

Re: [Devel] Freetype & windows


From: Timothy Prepscius
Subject: Re: [Devel] Freetype & windows
Date: Wed, 14 May 2003 00:52:13 -0700

> Yes, but it depends on the level of portability you are seeking.
> For example, you can easily list all the "known" source files by
> enumerating the registry. Guaranteed unportable to anything else
> than Windows.
> 
> In fact, all the engines like fontconfig, or Microsoft's Uniscribe/IE,
> proceeds the same way: they enumerate (around boot time) all fonts
> available, and record all the informations they want to use. Then they
> cache this information, and have some API to be queried.
> But one time or another, you have to query the data base.... If the
> information you want is not within what gives you the "basic" API
> (Windows' one in your case), then you are "forced" to invent another
> database, with another enumerating task and another querying API.
> 

Yah.  I was just hoping somebody had dealt with this problem before 
and would say "use function XXXX instead"...  because all the API's I've 
looked at never give access to the file the font was instantiated from.

But I guess not.

Surveying the registry... blech!

-tim




reply via email to

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