xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Neufeld <SNeuf...@netreturnllc.com>
Subject RE: Text size
Date Mon, 08 Oct 2001 01:40:50 GMT
If you're working in Java, there are a couple of text characteristic classes
that can help you determine the true length of a line of characters,
provided that the font exists on the system running the JVM.


-----Original Message-----
From: Chris Lilley
To: Batik Users
Sent: 10/7/01 4:02 PM
Subject: Re: Text size



Scott Moore wrote:
> From: "Chris Lilley" <chris@w3.org>
> > If you use an SVG font you can iterate through the string and tell
the
> > exact width of it by adding all the glyph widths.
> 
> Oh yeah?  Is this API in Batik?  How do I use it?

I assumed that this was about generating content to be displayed in
Batik, not restricted to using Batik as the content generation tool as
well.

You can get at the information using the XML DOM, its just attribute
values.

-- 
Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Mime
View raw message