Bug 58068

Summary: FindFont not find by color
Product: POI Reporter: map72ru <upgoto>
Component: XSSFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 3.12-FINAL   
Target Milestone: ---   
Hardware: PC   
OS: All   
Bug Depends on: 58138    
Bug Blocks:    

Description map72ru 2015-06-22 12:16:01 UTC
XSSFFont StylesTable.findFont uses getColor index, but index in font equals 0. Really, comparation must be color value.
Comment 1 Nick Burch 2015-07-14 21:25:30 UTC
An approach similar to the one for Conditional Formattings in #58138 may be needed here
Comment 2 Dominik Stadler 2017-10-11 18:33:37 UTC
This is available now via r1811866, we now provide a 2nd method which allows to pass in a Color-object for looking up fonts via their actual color.