[PD] test24 box size

Krzysztof Czaja czaja at chopin.edu.pl
Mon Jun 3 13:57:43 CEST 2002


hi Andre... and Miller,

I am getting the same result with out-of-the-box courier font!

The change in test24 is to have the top margin in object boxes, i.e.
the top border/text separation (#defined as TMARGIN in g_rtext.c),
one pixel high, instead of three pixel as in the previous versions.
Apparently this is an attempt to somehow unify the look of text
objects, atoms and nbxes...

Well, what I think is this.  There should be two pixels of top
margin (an extra pixel for the inlets), and perhaps a bit more
flexible dealing with the bottom margin in gatoms -- symbol gatom
need to be spaced just like any text object box (two pixels of
bottom margin), while number gatoms need to subtract -descent
value taken from the font metrics and add the 2-pixel margins,
instead of using full -linespace plus 1-pixel top and 0-pixel
bottom margins.

But maybe I should keep quiet, because I have no idea whether one
can actually rely on values returned by "font metrics" command...?

Krzysztof

Andre Schmidt wrote:
...
 > i was designing a minifont for pd [fontmatrix 5x7pixel] as i updated to
 > pd0.35-test24 i saw this... please, make the boxes how they where !
 > because (ms)courier font has much empty space [hardcoded] over the font
 > it's not so noticable as with this font...




More information about the Pd-list mailing list