转换成PPTX后不居中
Author: grayguestCreated Sep 29, 2026Updated Sep 29, 2026
Labelsbug
Problem area
PPTX export (svg_to_pptx.py)
What happened?
转换器按西文字体习惯统一以"基线往上0.85个字高"定文字框上沿,而微软雅黑上部留白更大,导致导出后文字整体偏下。
Steps to reproduce
仔细看一下就能发现很多实际上没有居中,但是预览中是居中的。
Expected behavior
No response
AI editor / tool
Claude Code
AI model
No response
OS
No response
Python version
No response
Screenshots or files
No response
Source: hugohe3/ppt-master