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

             Bug #: 52079
           Summary: Colors black font white when specifically set
           Product: POI
           Version: 3.8-dev
          Platform: PC
            Status: NEW
          Severity: major
          Priority: P2
         Component: XSSF
        AssignedTo: dev@poi.apache.org
        ReportedBy: gjung...@utilinc.com
    Classification: Unclassified


When I upgraded to 3.8 beta from 3.7 I had to adjust the below.  I have code
that assigns the font, I had to change the code to not execute the below
command if the font color was black, otherwise the text would be white, on a
white background.

               if (!foreground.equals(Color.BLACK))// poi version 3.8 beta
required to fix some bugs, but can't handle black foreground
                {
                    ((XSSFFont) font).setColor(new XSSFColor(foreground));
                }

-- 
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