my dog learned polymorphism
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

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
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
It's not a secret anymore!