It is possible that you'll need to install and/or select the font.

At least check your font setup, the Autosize functionality does depend on Font Data even if it is "headless".

If I recall there are some differences in Java2D's font behavior when in the "headless" state.

Sorry, I can't be more specific, but I'm pretty much the Project Manager for our POI development and contributions.

Regards,
Dave

On Sep 21, 2007, at 11:22 AM, Bruce Altner wrote:

Oooh, thanks. I read that guide months ago but didn't remember the warning. I guess I need trumpets along with a big red box that says "Warning!" in
order to notice things.

OK, so this confirms the problem. Unfortunately, setting
java.awt.headless=true doesn't solve it for me. I guess I'm back to setting
column widths manually.

Bruce


On 9/21/07 11:37 AM, "Nick Burch" <[EMAIL PROTECTED]> wrote:

On Fri, 21 Sep 2007, Bruce Altner wrote:
This may be because it cannot find a local graphics environment when
reverse proxied. Is there a workaround?

There's a handy red warning box about this in the quick guide for
autosizign columns:
http://poi.apache.org/hssf/quick-guide.html#Autofit

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to