Subject: Re: bug#30788: 27.0.50; Getting 'char-displayable-p: Invalid hash table rehash size: 1.0' when starting emacs -Q

From: Noam Postavsky <[email-masked]>
Date: Thu, 15 Mar 2018 22:45:09 -0400

tags 30788 fixed
close 30788 26.1
quit

Eli Zaretskii <[email-masked]> writes:

>> Date: Wed, 14 Mar 2018 18:57:28 +0100
>> Cc: [email-masked],
>>     [email-masked]
>> From: Ulrich Mueller <[email-masked]>
>> 
>> > +	/* Do this after the call to xg_initialize, because when
>> > +	   Fontconfig is used, xg_initialize calls its initialization
>> > +	   function which in some versions of Fontconfig calls setlocale.  */
>> > +	fixup_locale ();
>> > +
>> >          dpy = DEFAULT_GDK_DISPLAY ();
>> > 
>> >  #if ! GTK_CHECK_VERSION (2, 90, 0)
>> 
>> This fixes the problem (tested with fontconfig-2.13.0).
>
> Thanks, pushed to the release branch.
>
>> Note that it has also been fixed in the fontconfig git repository:
>> https://cgit.freedesktop.org/fontconfig/commit/?id=923b5be626a6e03fbaeee0b5cd6d0246c2f8f36f

Now the setlocale has been removed from the library completely:

https://cgit.freedesktop.org/fontconfig/commit/?id=98eaef69af1350e459bf9c175476d3b772968874