| From | Sent On | Attachments |
|---|---|---|
| Frank Barknecht | Aug 20, 2010 9:44 am | .png |
| Bernardo Barros | Aug 20, 2010 9:58 am | |
| Miller Puckette | Aug 20, 2010 10:17 am | |
| Frank Barknecht | Aug 20, 2010 10:24 am | |
| Bernardo Barros | Aug 20, 2010 10:29 am | |
| Hans-Christoph Steiner | Aug 20, 2010 11:10 am | |
| Bernardo Barros | Aug 20, 2010 11:14 am | |
| Hans-Christoph Steiner | Aug 20, 2010 11:21 am | |
| Frank Barknecht | Aug 21, 2010 12:53 am | |
| Bernardo Barros | Aug 21, 2010 10:21 am | |
| Mathieu Bouchard | Aug 21, 2010 10:38 am | |
| Mathieu Bouchard | Aug 21, 2010 10:50 am | |
| Hans-Christoph Steiner | Aug 21, 2010 11:07 am | |
| Mathieu Bouchard | Aug 22, 2010 9:34 am | |
| Frank Barknecht | Aug 23, 2010 4:01 am | |
| Hans-Christoph Steiner | Aug 23, 2010 10:19 pm | |
| Hans-Christoph Steiner | Aug 23, 2010 10:20 pm | |
| Miller Puckette | Aug 24, 2010 1:38 pm | |
| Hans-Christoph Steiner | Aug 25, 2010 9:14 am | |
| Miller Puckette | Aug 25, 2010 11:09 am | |
| Hans-Christoph Steiner | Aug 25, 2010 11:44 am | |
| Miller Puckette | Aug 25, 2010 11:49 am | |
| Hans-Christoph Steiner | Aug 25, 2010 12:39 pm | .tcl |
| Hans-Christoph Steiner | Aug 25, 2010 1:18 pm | |
| cyrille henry | Aug 25, 2010 1:30 pm | |
| Hans-Christoph Steiner | Aug 25, 2010 1:57 pm | |
| Hans-Christoph Steiner | Aug 25, 2010 2:04 pm | |
| Mathieu Bouchard | Aug 25, 2010 2:24 pm | |
| cyrille henry | Aug 25, 2010 2:50 pm | |
| Miller Puckette | Aug 25, 2010 9:52 pm | |
| IOhannes m zmoelnig | Aug 26, 2010 12:26 am | |
| Jack | Aug 26, 2010 4:07 am | |
| Roman Haefeli | Aug 26, 2010 4:20 am | |
| Hans-Christoph Steiner | Aug 26, 2010 8:52 am | |
| Hans-Christoph Steiner | Aug 26, 2010 8:57 am | |
| Hans-Christoph Steiner | Aug 26, 2010 8:59 am | |
| Hans-Christoph Steiner | Aug 26, 2010 10:48 am | .tcl |
| Hans-Christoph Steiner | Aug 26, 2010 10:53 am | |
| Miller Puckette | Aug 26, 2010 11:43 am | |
| Hans-Christoph Steiner | Aug 26, 2010 12:26 pm | |
| Hans-Christoph Steiner | Aug 26, 2010 12:42 pm | |
| Hans-Christoph Steiner | Aug 26, 2010 1:42 pm | .patch |
| Bernardo Barros | Aug 26, 2010 1:51 pm | |
| Hans-Christoph Steiner | Aug 27, 2010 9:47 am | |
| Miller Puckette | Aug 27, 2010 10:01 pm | |
| Hans-Christoph Steiner | Aug 29, 2010 10:44 am | |
| Miller Puckette | Aug 29, 2010 9:16 pm | |
| Hans-Christoph Steiner | Aug 30, 2010 3:04 pm | |
| Miller Puckette | Aug 30, 2010 5:30 pm | |
| Hans-Christoph Steiner | Aug 30, 2010 6:41 pm | |
| Mathieu Bouchard | Sep 5, 2010 2:16 pm | |
| Hans-Christoph Steiner | Sep 5, 2010 8:22 pm | |
| Mathieu Bouchard | Sep 9, 2010 1:14 pm | |
| Hans-Christoph Steiner | Sep 9, 2010 9:57 pm |
| Subject: | Re: [PD] Font weirdness with 0.43test | |
|---|---|---|
| From: | Hans-Christoph Steiner (ha...@at.or.at) | |
| Date: | Aug 20, 2010 11:21:06 am | |
| List: | at.iem.pd-list | |
The font point sizes do not match up to other apps, so a 12pt font in Pd is not the same size as a 12pt font in a GNOME app. That is because the Pd box sizes are hard coded in pixel sizes. That means that you always get the same size box no matter what platform, or no matter what font you have installed. In order to make this work, the font for a given point size is the largest font that will fit into the fixed box size.
In order for there to be proper font sizing and cross-platform layout, things need to be architected quite a bit differently. I think the best way would be to implement using Tk scaling, then allow the GUI to handle mouse motion, clicks, etc. There are issues there too, its unfortunately not simple. But basically, the communcation between pd and pd-gui should be more about logical actions than positions.
Inconsolata is an awesome font, by far the best fixed-font I've seen anywhere. That's why made Pd use it if it can find it. Otherwise it settles on what Tcl/Tk decides to call "courier" (see Tk font docs).
set testfonts {"Inconsolata" "Courier New" "Liberation Mono" "FreeMono" \ "DejaVu Sans Mono" "Bitstream Vera Sans Mono"}
.hc
On Aug 20, 2010, at 1:30 PM, Bernardo Barros wrote:
I would vote for this fixed-spaced (but not ugly) font: http://www.levien.com/type/myfonts/inconsolata.html
2010/8/20 Frank Barknecht <fb...@footils.org>:
On Fri, Aug 20, 2010 at 10:17:27AM -0700, Miller Puckette wrote:
I don't know how to do this in a way that's portable across platforms... this has been a huge unsolved problem for years :)
Hehe, yeah, I'm used to tears. :)
Anyway in my quick test the GUI rewrite seems to have degraded a bit in this regard, as 0.42 showed the same font size that standard Gtk apps like Vim use.
But maybe some Gnome users can compare font sizes between Pd and Gtk- (or Qt) apps and some defaults for Linux can just be adapted?
Ciao
-- Frank
_______________________________________________
Pd-l...@iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
----------------------------------------------------------------------------
"[W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity." -John Gilmore
_______________________________________________
Pd-l...@iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list






.png