Re: fixes in 2.13
Kurt Kartaltepe <[email protected]>
| Newsgroups | gmane.comp.fonts.fontconfig |
|---|---|
| Message-ID | <CACawnnxsXyEj2cXrWw5dF=YDPcm6fHydEkCO+PW86MEDmqvBww@mail.gmail.com> |
If this hasnt been resolved since 2.12.93, this patches an initialization that fails to compile in MSVC which gcc allows. On Thu, Mar 1, 2018 at 4:35 AM, Akira TAGOH <[email protected]> wrote: > Hi, > > I'm planning to release 2.13 tthis weekend or early next week. please > let me know if anything else needs to be fixed in 2.13. > > Regards, > -- > Akira TAGOH > _______________________________________________ > Fontconfig mailing list > [email protected] > https://lists.freedesktop.org/mailman/listinfo/fontconfig _______________________________________________ Fontconfig mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/fontconfig
fontconfig_fix.patch
(application/octet-stream, 474 B)
--- fontconfig-2.12.93/src/fcfreetype.c 2018-01-14 00:32:53.000000000 -0600
+++ fontconfig-2.12.93-fixed/src/fcfreetype.c 2018-02-26 18:26:12.324767400 -0600
@@ -2261,7 +2261,7 @@
FcFreeTypeSpacing (FT_Face face)
{
FT_Int load_flags = FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH | FT_LOAD_NO_SCALE | FT_LOAD_NO_HINTING;
- FT_Pos advances[3] = {};
+ FT_Pos advances[3] = {0};
unsigned int num_advances = 0;
int o;