|
|
@@ -88,7 +88,7 @@ public class FontManager {
|
|
|
// 写入临时文件
|
|
|
Path tempFile = Files.createTempFile("font_", ".ttf");
|
|
|
Files.write(tempFile, fontData);
|
|
|
- log.info("写入临时文件:{}", tempFile.getFileName().toString());
|
|
|
+ log.info("写入临时文件:{}", tempFile.toFile().getAbsolutePath());
|
|
|
|
|
|
// 从临时文件加载字体
|
|
|
Font font = Font.createFont(Font.TRUETYPE_FONT, tempFile.toFile());
|