[PD-dev] Pd-extended-0.43 appearance

Miller Puckette msp at ucsd.edu
Sat Oct 22 01:48:11 CEST 2011


Oh -- I misunderstood.

I like the idea of making this an option (eitehr growing to the standard
box size or huggung the actual size of the font we're getting).

cheers
Miller

On Fri, Oct 21, 2011 at 07:43:17PM -0400, Hans-Christoph Steiner wrote:
>
> I think we're talking about the box sizes rather than the font sizes.   
> Those can just be hard-coded to a certain size in pixels, then the font 
> can be measured to fit into those boxes.  That's the approach that 
> Pd-extended has been doing since 0.41 or 0.40, I forget which.  That's 
> how it works in Pd vanilla 0.43 too.
>
> To handle font size differences, the box sizing needs to be handled in  
> Tcl, as well as the mouse and click handling.  For something like  
> clicking to edit an object box, Pd only needs to know what the new text 
> is once the editing is done.
>
> Roman, I think the thing to do is to measure the boxes for each release 
> in question on each platform so we know where the problem lies.  That's 
> what I did back in the day to make the boxes the same pixel sizes.
>
> .hc
>
> On Oct 21, 2011, at 7:02 PM, Miller Puckette wrote:
>
>> Last I checked things were completely inconsistent and no version  
>> ("normal"
>> or extended) got the same font sizes across platforms.  If anyone can
>> figure out how to make that work robustly I'm all for it.  One  
>> headache
>> is that I've tried to make PD use natively available fonts which  
>> everyone
>> will have - and there simply don't seem to be natively available fonts 
>> with
>> comparable sizes between Pc/Mac/linux.
>>
>> cheers
>> Miller
>>
>>>
>>> I'll check that again. It seemed to me that the Pd-vanilla looked  
>>> very
>>> much the same on OS X and Linux, at least since 0.43. I haven't  
>>> checked
>>> Windows yet. Also I had the impression that Pd-vanilla doesn't have a
>>> different appearance across different Linuxes anymore. I remember it
>>> being dependent on some DPI setting, but I haven't encountered that
>>> issue anymore.
>>>
>>>> I tried to get these changes into vanilla, but I guess Miller didn't
>>>> want them. I've already spent a lot of time on it, so I've moved on
>>>> since it works in Pd-extended.  There should be a whole history of  
>>>> the
>>>> discussion on pd-dev, i.e. the details of the issues.  I don't
>>>> remember them, I'm sure it was some annoying technical details.
>>>>
>>>> Also, you can see the changes that pd-extended makes to puredata but
>>>> looking at the pd-extended.git in the 'patch_series' branch.
>>>
>>> Thanks for the explanations.
>>>
>>> Roman
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Pd-dev mailing list
>>> Pd-dev at iem.at
>>> http://lists.puredata.info/listinfo/pd-dev
>
>
>
>
>
> ----------------------------------------------------------------------------
>
> 'You people have such restrictive dress for women,’ she said, hobbling  
> away in three inch heels and panty hose to finish out another pink- 
> collar temp pool day.  - “Hijab Scene #2", by Mohja Kahf
>
>



More information about the Pd-dev mailing list