On Fri, 2011-10-21 at 18:36 -0400, Hans-Christoph Steiner wrote:
On Oct 21, 2011, at 6:29 PM, Roman Haefeli wrote:
On Fri, 2011-10-21 at 17:15 -0400, Hans-Christoph Steiner wrote:
On Oct 21, 2011, at 4:24 PM, Roman Haefeli wrote:
On Fri, 2011-10-21 at 12:33 -0400, Hans-Christoph Steiner wrote:
On Oct 21, 2011, at 5:49 AM, Roman Haefeli wrote:
Hi Hans
I noticed a significant difference between Pd-extended-0.43 and Pd-vanilla-0.43 appearance. Symbol- and Numberboxes are 2 px higher in Extended than in Vanilla. This is especially problematic in cases where a GOP-patch in Vanilla was created so that the number/symbol box perfectly fits in. The same GOP-abstraction in Pd-extended does not show the number/symbol box at all, because it is overlapping the GOP area of the abstraction.
I measured a default number box on Pd-extended 0.42.5 and 0.43. They both were 21x39 pixels at 12 point font size. I don't know the details of the current state of this stuff in vanilla, but in Pd- extended, these sizes have been consistent across platform and version since 0.41 at least.
I totally believe you that Pd-extended was consistent to itself since 0.41. Still, the difference renders certain patches/abstractions somehow unportable between the two (extended and vanilla). What do you think would be the best way to deal with that?
IMHO, it would be two things:
- make Pd vanilla do what Pd-extended does in terms of box sizing
- Why does Pd-vanilla have to adapt itself to Pd-extended (and not
vice versa)?
What is it that Pd-extended does in terms of box sizing?
Is there any way I can help with that?
- or, even better, make pd send pd messages to pd-gui instead of Tcl,
and move GUI size, mouse, click, etc handling to pd-gui. Then we get zoomable GUIs and all sorts of other good things. Big project tho
Sorry, I think I am not able to help with that.
Roman
Pd vanilla still has different box sizes on different platforms, if I remember correctly, therefore the sizes will have to change somewhere.
I'll check that again. It seemed to me that the Pd-vanilla looked very much the same on OS X and Linux, at least since 0.43. I haven't checked Windows yet. Also I had the impression that Pd-vanilla doesn't have a different appearance across different Linuxes anymore. I remember it being dependent on some DPI setting, but I haven't encountered that issue anymore.
I tried to get these changes into vanilla, but I guess Miller didn't want them. I've already spent a lot of time on it, so I've moved on since it works in Pd-extended. There should be a whole history of the discussion on pd-dev, i.e. the details of the issues. I don't remember them, I'm sure it was some annoying technical details.
Also, you can see the changes that pd-extended makes to puredata but looking at the pd-extended.git in the 'patch_series' branch.
Thanks for the explanations.
Roman