https://issues.apache.org/bugzilla/show_bug.cgi?id=51554

--- Comment #6 from Nick Burch <nick.bu...@alfresco.com> 2011-07-27 17:21:54 
UTC ---
(In reply to comment #5)
> Thank you for the information on finding the poi version.  It doesn't really
> show how to obtain it from the output; however, the information was valuable.

You should get a jar filename, which will have the version string in it (unless
you've done something strange and renamed the jar that is!)


> Correct fonts installed?
> 
>   Are you referring to the fonts of the underlying system?  Or, in my java
> classpath/libraries/etc?  I know I didn't install any fonts specifically for
> this purpose.  For reference: I am running linux Fedora version 15.

The fonts need to be available and usable by Java. You firstly need to ensure
that all the required fonts are installed on your system, then you need to
ensure that Java looks for them. Installing the required true type fonts is
distro specific. Once installed, either set the JAVA_FONTS environment variable
to point to the directory containing them, or edit the JRE font properties file
to list the directory in something like the "appendedfontpath" entry

Try something like the code on
http://silveiraneto.net/2010/01/05/java-font-list/ to list the fonts that Java
can see. If the one excel uses isn't there, or at least one very close, then
POI doesn't know how big your text is so can't correctly size

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to