<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 07/04/2019 16:14, oliver wrote:<br>
</div>
<blockquote type="cite" cite="mid:b92258d8-a7e1-c6f6-60e1-95c638c8f181@klingt.org">
WARNING: Font family '"Celeste' not found, using default (DejaVu Sans Mono) <br>
<br>
Small": can't open <br>
-font-size: can't open <br>
12: can't open <br>
-font-weight: can't open <br>
normal: can't open <br>
(Tcl) UNHANDLED ERROR: extra characters after close-quote <br>
    while executing <br>
"pdtk_startup_dialog .gfxstub5648e27e9080 0 "-font-face "C" <br>
    ("uplevel" body line 7) <br>
    invoked from within <br>
"uplevel #0 $docmds" <br>
<br>
from that point on PD doesn't respond to anything anymore.</blockquote>
<p><br>
</p>
<p><font face="Source Sans text">Dear Oliver</font></p>
<p><font face="Source Sans text">I think you are right: it must be the parsing of the settings file. If I change the settings and then start with a simple "pd", I get the first part of the error, but not the Tcl error, and Pd seems to work fine. However, trying
 to go into the settings via the GUI — to remove the troublesome entry — did elicit the dreaded red Tcl error and locked things up.</font></p>
<p>I think I was hasty in my assumptions about how Pd finds fonts. If Pd fails over to asking for Courier, it will indeed load whatever font the name "Courier" is an alias for in fontconfig (possibly through a chain of aliases). However, aliases cannot be counted
 on to work in every other situation. (I had a lot more waffle here, but even I didn’t want to read it.)<br>
</p>
Hacking the font metadata (e.g. in FontForge) so that the family name doesn’t contain spaces does work, but that is a ridiculously cumbersome solution.
<p>Just as "pd -font-face "font name with spaces"" (yes, ordinary straight double quotes) works from the command line, it works in shell scripts, too, so that is probably the best bet for now, no?</p>
<p>Best</p>
<p>m<br>
</p>
<pre class="moz-signature" cols="70">-- 
matthew brandi | 020 8882 4616</pre>
</body>
</html>