Exporting a PDF File¶
The PDF file format is a vector format that can also hold raster images. Inkscape can save directly to PDF. To do so, do Portable Document Format (*.pdf) from the list of available file formats at the bottom., and select
Never save as PDF only, but always keep an SVG file, because the PDF file format supports a different set of features from the SVG file format and you may lose data in the process.
A dialog will then allow you to set the following options:
- Restrict to PDF version: Current choices are 1.4 or 1.5. If no specific version is required by the persons who will get the PDF file from you, you can leave it at the default 1.5.
- Text output options: If your text needs to searchable in the pdf and the font license allows you to embed the font, choose to Embed fonts. When the text is mostly decorative (as in a Logo), it’s better to convert the text to paths. If you’re writing on a thesis or another scientific document, and know how to work with LaTeX, you can make use of the third option Omit text in PDF and create LaTeX file.
- Rasterize filter effects: Blurs, shadows and any other filters cannot be used in PDF. This option tells Inkscape to make a ‘photo’ of any objects/areas in the drawing that have a filter. That way, the drawing will still look the same in a PDF. If you do not select this option, objects that are filtered will look different in the PDF.
- Resolution for rasterization (dpi): The higher the value, the more fine-grained the ‘photos’ of filtered objects will be. Common values are 96 dpi for screen display, and 300 or 600 dpi for printing.
- Output page size: lets you choose which part of the drawing to export to PDF.
- Bleed/margin: increases the size of the exported area by adding a margin of the selected width.
- Limit export to object with ID: only export the specified object
- Inkscape can also open PDF files for editing. Try to avoid multiple round-trips through different file formats, though, because each conversion loses data or adds unnecessary data.
- Note that for creating perfect pdf files for printing, it’s better to turn to a dedicated desktop publishing software such as Scribus, which can also import SVG files.