easyofd
easyofd copied to clipboard
fix(draw): fix PDF to OFD converter
包含两处修复:
- 更正文件内嵌字体注册的
FontName - 修复
AnnotationFileParser无normalize_font_name方法报错
@renoyuan 另外,normalize_font_name方法在FontTool和PublicResFileParser中重复实现了,要不要统一一下?
normalize_font_name这个方法再处理TimesNewRoman-Italic的时候会处理成TimesNewRoman--Italic导致字体获取错误