Commit b7619f8b authored by yanzg's avatar yanzg

压缩视频

parent fc3740dd
......@@ -105,6 +105,17 @@ public class PrinterPagerItemData extends BaseVo {
to.textAlign = this.textAlign;
}
/**
* 处理字体
* @return
*/
private String initFont() {
if (this.font != null && this.font.endsWith(",")) {
this.font.substring(0, this.font.length() - 1);
}
return font;
}
public String getName() {
return name;
}
......@@ -162,6 +173,7 @@ public class PrinterPagerItemData extends BaseVo {
}
public String getFont() {
this.initFont();
return font;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment