Showing
2 changed files
with
2 additions
and
2 deletions
| @@ -101,8 +101,8 @@ class HTMLRenderer: | @@ -101,8 +101,8 @@ class HTMLRenderer: | ||
| 101 | 101 | ||
| 102 | @staticmethod | 102 | @staticmethod |
| 103 | def _get_font_path() -> Path: | 103 | def _get_font_path() -> Path: |
| 104 | - """返回PDF导出所需字体的路径""" | ||
| 105 | - return Path(__file__).parent / "assets" / "fonts" / "SourceHanSerifSC-Medium.otf" | 104 | + """返回PDF导出所需字体的路径(使用优化后的子集字体)""" |
| 105 | + return Path(__file__).parent / "assets" / "fonts" / "SourceHanSerifSC-Medium-Subset.otf" | ||
| 106 | 106 | ||
| 107 | def _load_lib(self, filename: str) -> str: | 107 | def _load_lib(self, filename: str) -> str: |
| 108 | """ | 108 | """ |
This diff could not be displayed because it is too large.
-
Please register or login to post a comment