Thanks. Applied. On Sun, Nov 12, 2017 at 4:47 PM, Jean Ghali <[email protected]> wrote:
> Hi all, > > Commit 3ca69c8c32b8408dd9f8e6e866cd07e58c0d79b7 has introduced the use of > <xlocale> and > strtod_l in order to correctly parse decimal numbers in French & other > locales (per commit > message). I'm bit late, but having faced in the past similar issue in > Scribus and Windows, > I would like to contribute the equivalent code for Windows MSVC. MSVC C > library has indeed > a similar api to the one provided by <xlocale.h>: > - locale_t becomes _locale_t > - newlocale() becomes _create_locale() > - freelocale() becomes _free_locale() > - strtod_l() becomes _strtod_l() > > So please find in attachments a patch which does the necessary > modifications for MVSC > compiler. Unfortunately it seems MinGW C library does not provide this api > yet, so I had > to keep those modifications MSVC specific. > > Best regards, > Jean Ghali > > _______________________________________________ > HarfBuzz mailing list > [email protected] > https://lists.freedesktop.org/mailman/listinfo/harfbuzz > > -- behdad http://behdad.org/
_______________________________________________ HarfBuzz mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/harfbuzz
