plugdata-team / plugdata

Pure Data as a plugin, with a new GUI
https://plugdata.org
GNU General Public License v3.0
1.5k stars 66 forks source link

Iimprove patch display compatibility between vanilla and plugdata #1692

Open porres opened 3 months ago

porres commented 3 months ago

This is a reboot of https://github.com/plugdata-team/plugdata/issues/1657

there are other related issues that should be considered, see https://github.com/plugdata-team/plugdata/issues/1656 / https://github.com/plugdata-team/plugdata/issues/1655 and https://github.com/plugdata-team/plugdata/issues/1663

This issue is for other extra things, that I'm still not sure

For starters, a comparison, I have a patch with font size 12 and plugdata in a theme with the same font as in vanilla (menlo)

Screenshot 2024-06-26 at 22 41 23

Vanilla is to the left, PlugData to the right

heres the patch sig2float~-help-test.pd.zip

The menlo font is not loaded in comments/objects and stuff, so we have a problem there. Once the theme actually affects such fonts, we can better test this.

Also, when we have a Vanilla theme we can test it better...

One way or another, as it is, I don't really get why the methods from inlet '0' are all unaligned...

there is also a problem that object boxes have a wider area/space than the font size, what makes things also unalign.

porres commented 3 months ago

So, installed Inter in my system and made Pd load it as its font and opened the same patch

Funny that a font size of 12 made things look too tiny and small... so I had to increase to 16 for a better comparison and here's the result

Screenshot 2024-06-26 at 22 56 51

We can see the same sort of unalighment and change in object size, so I guess that changing the font of comments and all to 'menlo' could in fact really improve compatibility as I thought...

porres commented 3 months ago

Ok, it doesn't hurt to ask...

Do we really really really have to use a different default font for PlugData since it drastically changes the way patches look? :)

Help files will only likely be reasonably readable if you use a Vanilla theme or something... that's for starters... not to mention that patches in general will have this issue!

For the sake of Comparison, Purr Data uses the same font and we don't have these issues (even though we still have some other issues as with abstractions and position of iemguis)

Screenshot 2024-06-26 at 23 01 54

Please consider it with careful thinking