[PD-dev] [ pure-data-Patches-1760624 ] font/box size overhaul with properties panel clean-up

SourceForge.net noreply at sourceforge.net
Tue Jul 31 02:58:44 CEST 2007


Patches item #1760624, was opened at 2007-07-25 18:01
Message generated for change (Comment added) made by eighthave
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1760624&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: feature
Status: Open
Resolution: None
Priority: 8
Private: No
Submitted By: Hans-Christoph Steiner (eighthave)
Assigned to: Miller Puckette (millerpuckette)
Summary: font/box size overhaul with properties panel clean-up

Initial Comment:

This patch includes everything from branch-v0-39-2-extended to make the fonts and boxes the same size on every platform.  

The default font is changed to Monaco on Mac OSX (included with the OS) and Bitstream Vera Sans Mono on Windows and GNU/Linux (included with GNOME).  The font is  free as in speech and beer, so it can be distributed with any Pd package.

The iemgui properties panels were also changed to reflect the new fonts, plus they were cleaned up a bit to make them more readable.

It applies cleanly, builds and seems to work fine on 0.40.3 and 0.41.0-test04.

----------------------------------------------------------------------

>Comment By: Hans-Christoph Steiner (eighthave)
Date: 2007-07-30 20:58

Message:
Logged In: YES 
user_id=27104
Originator: YES

File Added: make_sizes_pixel_accurate_on_every_platform-0.40.3.patch

----------------------------------------------------------------------

Comment By: Hans-Christoph Steiner (eighthave)
Date: 2007-07-29 23:03

Message:
Logged In: YES 
user_id=27104
Originator: YES


I have an Ubuntu box, and I saw this too.  It only happens on GNU/Linux,
10 and 12 are different sizes on Windows and Mac OS X.  I had it fixed for
the Pd-0.39.2-extended, but the font handling changed on 0.41, and I didn't
figure out how to adapt the new font handling.  My guess is that the font
measurement code works different on GNU/Linux, so it's chosing a different
font.

The workaround is to do some kind of ifdef for GNU/Linux and force the
font size for the one that's sized wrong.  That's how I did it on
Pd-0.39.2-extended.





----------------------------------------------------------------------

Comment By: Miller Puckette (millerpuckette)
Date: 2007-07-29 19:44

Message:
Logged In: YES 
user_id=313747
Originator: NO

This did something funny on my machine (fedora 6).  "10" and "12"
show up with the same font size, and/but boxes sized differently
(in 12 point, not fitting the un-enlarged text).  I'll bring the 
machine to Montreal so we can look...



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1760624&group_id=55736




More information about the Pd-dev mailing list