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


Groups > comp.lang.java.gui > #4939

Re: Determining font letter center

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!gegeweb.org!aioe.org!.POSTED!not-for-mail
From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.gui
Subject Re: Determining font letter center
Date Sat, 14 Jan 2012 01:28:47 -0800
Organization Canadian Mind Products
Lines 16
Message-ID <8li2h75d6cei5ihtir1rps124ptrnkjafn@4ax.com> (permalink)
References <9ab7338e-e8e1-4e12-8d8e-43e6469d8215@s6g2000pbi.googlegroups.com>
Reply-To Roedy Green <see_website@mindprod.com.invalid>
NNTP-Posting-Host Z2l1DcCELS0rATq8NqV4Sw.user.speranza.aioe.org
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Complaints-To abuse@aioe.org
X-Notice Filtered by postfilter v. 0.8.2
X-Newsreader Forte Agent 6.00/32.1186
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.gui:4939

Show key headers only | View raw


On Fri, 13 Jan 2012 10:32:09 -0800 (PST), Fred
<fred.l.kleinschmidt@gmail.com> wrote, quoted or indirectly quoted
someone who said :

>How can I find out how high a letter is when using a particular font?
>I am trying to place the center of capital letters at a specific
>location.

You can't get precise values, without analysing pixels, but you can
get approximations. See http://mindprod.com/jgloss/fontmetrics.html
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
One of the most useful comments you can put in a program is 
"If you change this, remember to change ?XXX? too".
 

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Find similar


Thread

Determining font letter center Fred <fred.l.kleinschmidt@gmail.com> - 2012-01-13 10:32 -0800
  Re: Determining font letter center Jeff Higgins <jeff@invalid.invalid> - 2012-01-13 13:49 -0500
    Re: Determining font letter center Fred <fred.l.kleinschmidt@gmail.com> - 2012-01-13 11:58 -0800
  Re: Determining font letter center Roedy Green <see_website@mindprod.com.invalid> - 2012-01-14 01:28 -0800

csiph-web