【问题标题】:How to convert svg to pdf in landscape mode using Inkscape?如何使用 Inkscape 在横向模式下将 svg 转换为 pdf?
【发布时间】:2018-10-31 10:34:14
【问题描述】:

我使用inkscape (https://inkscape.org/release/0.92.3/windows/64-bit/) 将svg 文件转换为pdf。我使用了以下命令

"./inkscape.exe " + svgFilePath + " --export-area-drawing --export-pdf=" + pdfFilePath

"./inkscape.exe " + svgFilePath + " --export-area-page --export-pdf=" + pdfFilePath

在这两种情况下,生成的 pdf 都处于纵向模式。我想在横向模式下将我的 svg 转换为 pdf。我怎样才能做到这一点?

【问题讨论】:

    标签: pdf svg inkscape pdf-conversion


    【解决方案1】:

    您在这里给出的第一个命令应该生成一个带有实际可见区域或可见对象边界框的 pdf(看起来像风景)。我总是使用该命令将我的 svgs 转换为 pdfs。第二条命令生成类似于竖屏模式的pdf

    【讨论】:

    • [‎10/‎31/‎2018 年 5:47 PM] Anuja B.G.:谢谢。我又试了一次,我得到了你说的pdf。但我想生成带有边距或填充的pdf(使用--export-area-drawing)。有可能吗?
    猜你喜欢
    • 2021-11-07
    • 2014-05-11
    • 1970-01-01
    • 2023-03-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多