[PD] test24 box size
Miller Puckette
mpuckett at man104-1.ucsd.edu
Mon Jun 3 17:40:35 CEST 2002
OK... actually I was trying to save a couple of pixels to make everything a
bit more compact. But it seems this was misguided.
I don't know to what extent one can count on font metrics either... I
suppose I'll just have to try this.
cheers
Miller
On Mon, Jun 03, 2002 at 01:57:43PM +0200, Krzysztof Czaja wrote:
> 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