Jean-Marc Lasgouttes wrote: >>>>>> "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: > > Peter> Jürgen Spitzmüller wrote: >>> Abdelrazak Younes wrote: >>>> 3962 cri (Math) Font problems on Windows >>>> This one is a packaging issue right? >>> No, AFAIU you need to replace AddFontRessource and >>> RemoveFontRessourse in support/os_win32.spp with AddFontResourceEx >>> and RemoveFontResourceEx. > > > Peter> Does attached patch solve the problem? > > Peter> Both functions are not supported by older Window versions. > Peter> Therefore we have to decides at runtime which function to call. > > 1) I do not think that you need to rename the fonts and add _LyX when > using AddFontResourceEx with FR_PRIVATE flag. > > 2) I thought we already had abandonned hope of running under windows > 98? > > 3) In any case, I think that the proper windows way is to use > AddFontResourceEx and, if it returns an error message (win9x), use > AddFontResource instead. There is no need for explicit testing.
I assume LyX will crash, because there is not such function on win9x, or couldn't it even start then? > > JMarc > -- Peter Kümmel