Commit b7619f8b authored by yanzg's avatar yanzg

压缩视频

parent fc3740dd
...@@ -105,6 +105,17 @@ public class PrinterPagerItemData extends BaseVo { ...@@ -105,6 +105,17 @@ public class PrinterPagerItemData extends BaseVo {
to.textAlign = this.textAlign; 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() { public String getName() {
return name; return name;
} }
...@@ -162,6 +173,7 @@ public class PrinterPagerItemData extends BaseVo { ...@@ -162,6 +173,7 @@ public class PrinterPagerItemData extends BaseVo {
} }
public String getFont() { public String getFont() {
this.initFont();
return font; 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