Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #2198

Re: Undocumented function to determine em-width of font in points (or mm)

Path csiph.com!x330-a1.tempe.blueboxinc.net!aioe.org!news.glorb.com!news-out.readnews.com!transit3.readnews.com!newspump.sol.net!posts.news.twtelecom.net!nnrp3.twtelecom.net!not-for-mail
From Luci Ellis <luci@verbeia.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Undocumented function to determine em-width of font in points (or mm)
Date Sun, 8 May 2011 11:35:16 +0000 (UTC)
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Sender steve@smc.vnet.net
Approved Steven M. Christensen <steve@smc.vnet.net>, Moderator
Message-ID <iq5v5k$php$1@smc.vnet.net> (permalink)
References <iq3ar7$flq$1@smc.vnet.net>
Lines 27
NNTP-Posting-Date 08 May 2011 10:36:08 GMT
NNTP-Posting-Host 2c961ea2.news.twtelecom.net
X-Trace DXC=1m:LM5e``E?oRAA5\IJ>C;C_A=>8kQj6=Y;@_o827nG3XZK8VI^9;a7EFiONJ7[Go6^:RBUCjF9m9
X-Complaints-To abuse@twtelecom.net
Xref x330-a1.tempe.blueboxinc.net comp.soft-sys.math.mathematica:2198

Show key headers only | View raw


On 2011-05-07 21:36:07 +1000, Luci Ellis said:

> Dear all
> I vaguely remember that there is an undocumented function for
> extracting the length of an em in the current font, and expressing it
> in printers points, but I can't remember what it was.
> 
> My problem is I need to create a graphics output that is a guaranteed
> absolute width in points (or mm). Each row in the grid needs to take
> its natural height, which GraphicsGrid or GraphicsColumn does not do
> (it creates equal-height rows). So I need to use Grid. But unlike
> GraphicsGrid, which uses points in the ImageSize option, Grid uses ems
> in the ItemSize option. I have a standard font so I should be able to
> map the font em to absolute units like points or mm, if only I can
> extract that em length in absolute units.
> 
> <snip>

Dear all,
While the answer would still be interesting for other reasons, I worked 
out the solution to my actual problem: a sequence of GraphicsGrid[]s 
inside a Column[].
I hope this is useful for future Googlers.
Regards
Luci

Back to comp.soft-sys.math.mathematica | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Undocumented function to determine em-width of font in points (or mm) Luci Ellis <luci@verbeia.com> - 2011-05-07 11:36 +0000
  Re: Undocumented function to determine em-width of font in points (or mm) Luci Ellis <luci@verbeia.com> - 2011-05-08 11:35 +0000
  Re: Undocumented function to determine em-width of font in points (or mm) Armand Tamzarian <mike.honeychurch@gmail.com> - 2011-05-09 10:20 +0000

csiph-web