You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2003/02/25 16:00:26 UTC
DO NOT REPLY [Bug 17374] New: -
HSSFFont - BOLDWEIGHT_NORMAL
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17374>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17374
HSSFFont - BOLDWEIGHT_NORMAL
Summary: HSSFFont - BOLDWEIGHT_NORMAL
Product: POI
Version: unspecified
Platform: Other
OS/Version: Other
Status: NEW
Severity: Minor
Priority: Other
Component: HSSF
AssignedTo: poi-dev@jakarta.apache.org
ReportedBy: gr_nico@hotmail.com
On Workbook.createFont, the FontRecord is set with value 0x190 for boldweight:
setBoldWeight(( short ) 0x190);
This is the default value for no bold for a Font.
But, on HSSFFont the constant BOLDWEIGHT_NORMAL is set to 190.
/**
* Normal boldness (not bold)
*/
BOLDWEIGHT_NORMAL = 190;
Perhaps it should be 0x190 and not 190.