Yes, that's why I suggested looking in there. The relevant variables are:

* font_metrics 
* font_zoom2_metrics
* font_measured
* font_zoom2_measured

The first two are an array of pixel sizes per character used when trying to find the font size that fits. This is done in the fit_font_into_metrics proc.

The second two arrays contain the measured sizes: fontsizes charwidth charheight

Note that there is also code in the C core which accesses these sizes and you may get a consistency check error when changing some of the metric numbers.

On Mar 23, 2018, at 7:10 AM, pd-list-request@lists.iem.at wrote:

Date: Fri, 23 Mar 2018 06:09:57 +0000
From: Liam Goodacre <liamg_uw@hotmail.com>
Cc: Pd-List <pd-list@lists.iem.at>
Subject: Re: [PD] reporting the dimensions of a symbol / float atom
Message-ID:
<VI1PR0102MB358432FE108D15B17AFB4230FCA80@VI1PR0102MB3584.eurprd01.prod.exchangelabs.com>

Content-Type: text/plain; charset="iso-8859-1"


If anyone wants to suggest fixes too he font sizing algorithm, start by
looking into the metrics and related font procedures in pd-gui.tcl.

Is pd-gui.tcl where we would find the right variable to call if we were trying to report the dimensions of an atom?

--------
Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com