[PD] [PD-announce] Pd version 0.48-0test7

Roman Haefeli reduzent at gmail.com
Fri Aug 11 11:37:30 CEST 2017


On Fre, 2017-08-11 at 10:46 +0200, Dan Wilcox wrote:
> > 
> > On Aug 11, 2017, at 10:31 AM, pd-list-request at lists.iem.at wrote:
> > 
> > TLDR:
> > 
> > This would keep box sizes of Pd <= 0.47:
> > "7 12" on Linux and Mac 
> > "7 13" on Windows 
> This is more likely related to platform margins and with the newer
> version of Tk, the metrics might be slightly different. Also, the
> zoom font sizing change may have lead to this as well.
> 
> The Pd extended styling adjusted the margins in slightly different
> ways to account for this and I've started a PR start experiment with
> porting over these tweaks: https://github.com/pure-data/pure-data/pul
> l/162
> 
> > If this can't be adjusted, it would be good to know if the _new_
> > box
> > sizes will be the canonical sizes.
> Was there a canonical size before?

Up until Pd 0.47 on macOS and up to somewhere between 0.46 and 0.47 on
Linux, box sizes have been somewhat consistent, as far as I remember.
At least non of my patches broke. On Windows, it was more of a gamble,
it was not the same with every release and box sizing is dependent on
whether you have "DejaVu Sans Mono" installed. 


>  We don't even have the same font on all platforms yet. I wouldn't
> plan on pixel perfect sizing yet...

I do not plan on it, but trying my best make the current situation at
least not worse.

> It's way more than changing just the numbers in pd-gui.tcl and making
> per-platform metric numbers is probably a hack at best and headache
> at worst. In either case, IMO it's a lot of work and testing and thus
> may not happen *right now*.

Hm, I tested the numbers already in that I took care of getting the
same box sizes for font size 10 on every platform as before (and
between platforms). If there are more tests required to not break
anything, I'm happy to test and report back.

I understand you're in a total different position than me and probably
feel much more responsibility on your shoulders and thus I understand
your reluctance. I don't have the skills to fix the issue the "clean"
way, but I'm willing to invest some resources in this - presumably
bytesting things - and I have access to Ubuntu 16.04, macOS 10.11 to
10.12 and Windows 10. If that can help in anyway, I'd be glad.

Roman







-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20170811/7f3a7664/attachment.sig>


More information about the Pd-list mailing list