aspose file tools
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
Author

servlet and fontmetrics

tarun Mehra
Greenhorn

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 font.properties.
Anybody got any suggestions?
Thank you,
Tarun Mehra.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: servlet and fontmetrics