高杰
пре 6 година
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 измењених фајлова са
1 додато и
1 уклоњено
-
ureport2-core/src/main/java/com/bstek/ureport/model/Cell.java
|
|
@ -596,7 +596,7 @@ public class Cell implements ReportCell { |
|
|
|
lineHeight=cellStyle.getLineHeight(); |
|
|
|
} |
|
|
|
fontSize=fontSize*lineHeight; |
|
|
|
int singleLineHeight=UnitUtils.pointToPixel(fontSize);//fontMetrics.getHeight();
|
|
|
|
int singleLineHeight=UnitUtils.pointToPixel(fontSize)-2;//fontMetrics.getHeight();
|
|
|
|
if(textWidth<=totalColumnWidth){ |
|
|
|
return; |
|
|
|
} |
|
|
|