gx_tieta/WebRoot/WEB-INF/classes/com/fgkj/actions/MyFileAction.class | 补丁 | 查看 | 原始文档 | blame | 历史 | |
gx_tieta/src/com/fgkj/actions/MyFileAction.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
gx_tieta/WebRoot/WEB-INF/classes/com/fgkj/actions/MyFileAction.classBinary files differ
gx_tieta/src/com/fgkj/actions/MyFileAction.java
@@ -378,7 +378,7 @@ //System.out.println("font_size:"+font_size+" note_size:"+note_size+" buffImg.getWidth():"+buffImg.getWidth()); if(note_size<buffImg.getWidth()) { g.drawString(note, 0 , font_size*6); } }else { for (int i = 0; i <=note_size/buffImg.getWidth(); i++) { if(i==0) { g.drawString(note.substring( 0,buffImg.getWidth()/font_size*(i+1) ), 0 , font_size*(5+i+1)); @@ -391,6 +391,8 @@ } } } // 9、释放资源 g.dispose(); // 10、生成图片