Browse Source

更新注释,明确bug原因

feature/big-screen
Yvan 4 years ago
parent
commit
2cb92e14d1
  1. 2
      designer-realize/src/main/java/com/fr/design/mainframe/SheetNameTabPane.java

2
designer-realize/src/main/java/com/fr/design/mainframe/SheetNameTabPane.java

@ -496,7 +496,7 @@ public class SheetNameTabPane extends JComponent implements MouseListener, Mouse
sheetIcon.paintIcon(this, g2d, (int) textX + charWidth, 2); sheetIcon.paintIcon(this, g2d, (int) textX + charWidth, 2);
g2d.setPaint(getForeground()); 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); GraphHelper.drawString(g2d, sheetName, (int) textX + charWidth + 14, textAscent);
} }

Loading…
Cancel
Save