On Thu, Jul 05, 2007 at 03:30:56PM +0200, Jean-Marc Lasgouttes wrote:

> >>>>> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes:
> 
> Enrico> No, and this is most astonishing, the thing seems to survive a
> Enrico> reboot. I tried to find whether the info is stored in the
> Enrico> registry, but could not find anything.
> 
> Enrico> However, I investigated further and it turned out that what I
> Enrico> said occurs on Vista but it does not occur on Win2k. Don't
> Enrico> know about XP.
> 
> I read somewhere that vista does not need fonts to be explicitly
> installed. So it is different from xp in this respect.

No, I don't think so:
http://blogs.msdn.com/michkap/archive/2006/08/27/726378.aspx

and here:
http://msdn2.microsoft.com/en-us/library/ms534231.aspx
http://msdn2.microsoft.com/en-us/library/ms533937.aspx

Vista is explicitely mentioned, so this is a bug on Vista.

I can make AddFontResource(Ex) work only when I put the fonts in
a precise location on disk, and given that this location is
"C:\cygwin\usr\local\share\lyx\fonts", i.e., the path where they
got initially installed with lyx 1.4.4, I presume that once you
used some fonts with those functions, you cannot move them
somewhere else anymore. Even after a reboot. Ouch.

However, I must say that this is not one of the most strange bugs
or behaviors on Windows. For example, I learned that you cannot
programmatically install fonts, because even if you copy them to
the system font dir, they are not seen until after you open in
explorer (the Windows file manager) the aforesaid font directory.
Yes, exactly like that: copy the fonts in their place and then
open the font directory in explorer (sic!).

I think that without Cygwin I had already give up with Windows.

-- 
Enrico

Reply via email to