<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<p></p>
<div><i>>From what I gathered from the "Pd Metrics on Xubuntu 16 04 02 LTS"</i></div>
<p></p>
<p></p>
<div><i>thread, the following steps are required to achieve that goal:</i></div>
<p></p>
</blockquote>
<p></p>
<div><br>
</div>
<p></p>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<p></p>
<div><i>>Adjustments of the font metrics. It seems we can just take the ones</i></div>
<p></p>
<p></p>
<div><i>from Pd-extended.</i></div>
<p></p>
</blockquote>
<p></p>
<div><br>
</div>
<div>+1</div>
<div><br>
</div>
<p></p>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<p></p>
<div><i>>Use the same font on all platforms. Pd apparently looks for "DejaVu</i></div>
<p></p>
<p></p>
<div><i>Sans Mono" first, so that is the one we should make available</i></div>
<p></p>
<p></p>
<div><i>everywhere.</i></div>
<p></p>
</blockquote>
<p></p>
<div><br>
</div>
<div>+1</div>
<div><br>
</div>
<div>Salutti,</div>
<div>Lucarda.</div>
<br>
<p></p>
<p><br>
</p>
<div id="Signature"><font face="Courier New, Courier, Monospace" size="2">Mensaje telepatico asistido por maquinas.</font>
</div>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Pd-list <pd-list-bounces@lists.iem.at> on behalf of Roman Haefeli <reduzent@gmail.com><br>
<b>Sent:</b> Wednesday, February 22, 2017 8:05 AM<br>
<b>To:</b> pd-list@lists.iem.at<br>
<b>Subject:</b> Re: [PD] Cross-platform uniform GUI rendering of patches.</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">On Die, 2017-02-21 at 19:33 -0300, Alexandre Torres Porres wrote:<br>
> Ok, seems we have yet another thread to keep discussing a same topic<br>
> that I kinda started. Anyway, if the focus of the debate has changed<br>
> indeed, I suggest changing the thread name and adding (was: "xxxx" <=<br>
> old thread subject), in this case: (was: (wip) Preferences file).<br>
> <br>
> So, I did bring this up, how patches look differently in vanilla<br>
> according to the operating system, and how they look different from<br>
> extended / purr data (which, on their own, look consistent in all<br>
> platforms and also look like each other!).<br>
> <br>
> Changing the font metrics from Vanilla to extended's/purr data's<br>
> doesn't compromise the patch as the other way around does. Cause<br>
> opening extended patches in the vanilla's metrics does compromise the<br>
> visual experience a lot, creating all sorts of overlaps... I already<br>
> pointed this out in the previous threads. <br>
> <br>
> So, keeping it objective and not to repeat myself too much, I<br>
> consider this an issue, an undesired behaviour, a bug, whatever, and<br>
> I hope we could fix it. Any opposition? What is the best way to do<br>
> this?<br>
<br>
This is my view on the matter:<br>
<br>
The primary goal is to make Pd(-vanilla)'s appearance consistent across<br>
platforms. Part of that is that box sizes don't change when switching<br>
platforms. As a side effect of this fix, patches also don't change<br>
appearance when switching between Pd flavors (Do we still need to care<br>
about Pd-extended, since it's been phased out?).<br>
<br>
>From what I gathered from the "Pd Metrics on Xubuntu 16 04 02 LTS"<br>
thread, the following steps are required to achieve that goal:<br>
<br>
  * Adjustments of the font metrics. It seems we can just take the ones<br>
    from Pd-extended.<br>
<br>
  * Use the same font on all platforms. Pd apparently looks for "DejaVu<br>
    Sans Mono" first, so that is the one we should make available<br>
    everywhere.<br>
<br>
On Linux, it's the task of Pd's package maintainers that DejaVu is<br>
installed when Pd is to be installed. If I'm not mistaken, DejaVu is<br>
installed per default on all Debian derivatives, so we do not have to<br>
care about them. On Windows, the font is missing and the Pd installer<br>
could be adapted to install the font along with Pd. On macOS, I don't<br>
know what the required steps would be.<br>
<br>
I propose that before we submit any fixes to Miller we are absolutely<br>
certain that the adapted font metrics are correct in that the resulting<br>
box sizes are consistent for all available font sizes (8, 10, 12, 16,<br>
24, 36). And when testing this, we make sure that Pd uses "DejaVu Sans<br>
Mono". Only then we submit any fix.<br>
<br>
If we find good font metrics, I'll submit a fix to the NSIS installer<br>
script, so that installing DejaVu is part of the Pd installation<br>
process on Windows. Yet, I'm not sure whether it is enough to simply<br>
drop the font files into %windir%\Fonts or whether the font needs to be<br>
registered somewhere. <br>
<br>
<br>
Roman<br>
</div>
</span></font></div>
</div>
</body>
</html>