freetype-devel
[Top][All Lists]
Advanced

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

Re: [Devel] Close on exec for font files


From: Scott Long
Subject: Re: [Devel] Close on exec for font files
Date: Wed, 26 Dec 2001 10:36:09 -0800

On Wednesday 26 December 2001 10:35 am, you wrote:
> Around 10 o'clock on Dec 26, Scott Long wrote:
> > He's probably spawning worker processes from a process that uses
> > FreeType, and his problem is that all of FreeType's open files remain
> > open in the child process. It seems like an issue of aesthetics.
>
> As you may know, I use FreeType in every application that I run on my
> desktop; it's a part of X these days.  Most of the applications I use
> don't have any idea that FreeType is involved, the only way I can get the
> files closed would be to add new calls at every level -- some of the APIs
> aren't mine to change, so I'm pretty constrained as to what I can do.

It still seems, though, that when a suitable API *is* present (i.e. 
FT_Done_FreeType) it is better to just use that API rather than introducing 
UNIX-specific code into a cross-platform library. If similar issues arise in 
Windows (I have no idea, don't program Windows) then this solves the problem 
on both platforms instead of just one.

Scott Long



reply via email to

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