File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes servlet and fontmetrics Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet and fontmetrics" Watch "servlet and fontmetrics" New topic

servlet and fontmetrics

tarun Mehra

Joined: May 30, 2001
Posts: 12
Hey guys,
I am working on a project that requires measuring the fontmetrics and the string width in a servlet. I have already defined the font for my webpage using css. For the purpose of fontmetrics I define the same font using Java(Font f = new Font(...)). When I run the servlet it gives me an error that font not defined in
Anybody got any suggestions?
Thank you,
Tarun Mehra.
I agree. Here's the link:
subject: servlet and fontmetrics
jQuery in Action, 3rd edition