On Mon, Jul 09, 2007 at 10:48:32PM +0200, Jean-Marc Lasgouttes wrote:

> >>>>> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes:
> 
> Enrico> Here it is. I verified that with the patch applied one can
> Enrico> have fonts with the same name as the Bakoma ones installed in
> Enrico> the system font dir and yet the latter are used in LyX.
> 
> I'll apply it tomorrow (is there a bug number?)

Bug 3962.

> Note that the call to RemoveFontResourceEx is probably not necessary:
> 
> FR_PRIVATE    Specifies that only the process that called the
> AddFontResourceEx function can use this font. When the font name
> matches a public font, the private font will be chosen. When the
> process terminates, the system will remove all fonts installed by the
> process with the AddFontResourceEx function.

Nevertheless, I think that it is a good policy to cleanup by ourselves,
unless you want to get rid of the destructor.

-- 
Enrico

Reply via email to