More less, except for Windows which is not using DejaVu Sans Mono yet, although 
we have a font loader for it now. This should be fixed in an upcoming version.

The sizing is taken from Pd-extended which largely had tested Tcl font 
rendering across all platforms. With the same font, the patches should render 
the same size most everywhere, as shown with our testing. I would still suggest 
not relying on *exact* pixel sizes and give yourself a little padding here and 
there to be safe.

In some ways, this was really not a fun problem as people moving from 
Pd-extended had broken sizing and people with tight GUIs like yourself have 
broken patches, but it should be *much* easier to resolve the sizing in the 
future. OTOH maybe it's worth talking about a different sizing algorithm and/or 
object size querying as setting a different font will of course change the 
sizing slightly base on what TK gives us. Maybe being able to query the size 
and width a character in the current font might help...

> On Mar 21, 2018, at 3:18 PM, [email protected] wrote:
> 
> From: Liam Goodacre <[email protected] <mailto:[email protected]>>
> To: "[email protected] <mailto:[email protected]>" 
> <[email protected] <mailto:[email protected]>>
> Subject: Re: [PD] reporting the dimensions of a symbol / float atom
> Message-ID:
>       
> <vi1pr0102mb35843e5e52585015e68ec8f3fc...@vi1pr0102mb3584.eurprd01.prod.exchangelabs.com
>  
> <mailto:vi1pr0102mb35843e5e52585015e68ec8f3fc...@vi1pr0102mb3584.eurprd01.prod.exchangelabs.com>>
>       
> Content-Type: text/plain; charset="utf-8"
> 
> Thanks for the input, Roman. I followed the discussion bout font sizes, and I 
> also appreciate the amount of work that people have put in to solving it. Are 
> the font sizes in 0.48.1 considered to be stable? If so, maybe it's time for 
> me to cash in and resize everything manually, but I am wary of doing this in 
> case things change again...

--------
Dan Wilcox
@danomatika <http://twitter.com/danomatika>
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>



_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to