|
|
|
@ -496,7 +496,7 @@ public class SheetNameTabPane extends JComponent implements MouseListener, Mouse
|
|
|
|
|
|
|
|
|
|
sheetIcon.paintIcon(this, g2d, (int) textX + charWidth, 2); |
|
|
|
|
g2d.setPaint(getForeground()); |
|
|
|
|
// REPORT-40495 之前的g2d.drawString()无法画出韩文sheetName,修改成GraphHelper的drawString
|
|
|
|
|
// REPORT-40495 之前的g2d.drawString(),在windows下默认宋体时,无法绘制韩文字符,而GraphHelper的drawString中对韩文做了额外处理,可以绘制韩文字符
|
|
|
|
|
GraphHelper.drawString(g2d, sheetName, (int) textX + charWidth + 14, textAscent); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|