|
|
@@ -1437,7 +1437,7 @@ export default () => {
|
|
|
|
|
|
const pattern: string | undefined = el.fill?.type === 'image' ? el.fill.value.picBase64 : undefined;
|
|
|
const fill = el.fill?.type === 'color' ? el.fill.value : '';
|
|
|
- let style = getStyle(convertFontSizePtToPx(el.content, ratio)) + (el.pathBBox.pWidth ? ";width:" + (el.pathBBox.pWidth) + "px;height:" + (el.pathBBox.pHeight) + "px;" : "") //设置字体的样式等,这里由于不支持的样式在里面会过滤
|
|
|
+ let style = getStyle(convertFontSizePtToPx(el.content, ratio)) + (el.pathBBox.pWidth ? ";width:" + (el.pathBBox.pWidth * ratio) + "px;height:" + (el.pathBBox.pHeight * ratio) + "px;" : "") //设置字体的样式等,这里由于不支持的样式在里面会过滤
|
|
|
const element: PPTShapeElement = {
|
|
|
type: 'shape',
|
|
|
id: nanoid(10),
|