Subject: bug#26402: 25.2; Font rendering extremely slow on any non-default font

From: Eli Zaretskii <[email-masked]>
Date: Sat, 08 Apr 2017 19:10:41 +0300

> From: Gennady Uraltsev <[email-masked]>
> Cc: [email-masked]
> Date: Sat, 8 Apr 2017 16:54:54 +0200
> 
> #emacs -Q lorem-ipsum
> 
> emacs opens in fundamental mode with the file (attached)
> 
> # M-x eval-expression
> # (setq inhibit-compacting-font-caches t)
> # buffer-face-set
> # variable-pitch
> 
> Slow as before. Attaching the profiler logs

What font do you get when you do the above?  You can use "C-u C-x ="
to see that.