Subject: bug#36284: 27.0.50; [Cairo] Setting default face :family attribute in the init script is broken

From: Dmitry Gutov <[email-masked]>
Date: Wed, 19 Jun 2019 04:32:24 +0300

When using a build with Cairo, putting

(set-face-attribute 'default nil :height 113 :family "Inconsolata LGC")

into the init script doesn't have any effect.

Evaluating (face-attribute 'default :family) in the new session after 
that still returns "Ubuntu Mono".

However, if I evaluate the set-face-attribute call form later in the new
frame, the font changes successfully.

In GNU Emacs 27.0.50 (build 68, x86_64-pc-linux-gnu, GTK+ Version 
3.22.30, cairo version 1.15.10)
  of 2019-06-19 built on zappa
Repository revision: 922121e7ddbc107da14ea9c1280d15c828e85063
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12001000
System Description: Ubuntu 18.04.2 LTS