Contents
- Index
- Previous
Advanced Options
In the PDF FLY installation directory you will find a file called pdffly.ini where a number of conversion parameters are defined. You can edit this file with a text editor like Notepad. Save changes before starting PDF FLY.
autorotation(0)
By default, files are not rotated during conversion (0). When this value is set to autorotation (1), PDF FLY automatically rotates all pages during conversion. Using this option ensures that text in the resulting drawing can be easily read from left to right. When using this option, make sure that a) the Rotate option in the General options tab of the interface is set to 0, and b) the Page Size option in the Size tab is either turned off or set to Automatic.
linecap(1)
Using linecap(1), PDF FLY will simulate different line-endings in the output format such as rounded line-endings. Change to linecap(0) if this does not give the desired results.
encoding(1)
By default, PDF FLY assumes a standard character encoding for text in the PDF file and uses a default mapping to produce the equivalent text in the output format. If this does not produce the desired results it can sometimes help to change this value to encoding (0). PDF FLY then passes on the character encoding directly from the PDF file. If this does not help, do not forget to change it back to encoding (1) before converting other files.
initclip(1)
Sometimes a PDF file uses a clipping command to define an area of the page to be drawn. This may cause unwanted effects during conversion, such as part of the page not rendering in the output format, or the actual drawing being embedded in a much larger drawing canvas. Setting this option to initclip(0) ignores PDF page clipping during conversion.
clipmargin(1.0)
If you are not using the Page Size option, PDF FLY will crop the output format to remove any white space. Sometimes a rounding off difference may cause a line to be located exactly on the bounding box that pdf2cad calculates, so that it does not show up in the output format. Having this option set to clipmargin(1.0) increases the bounding box by 1.0 mm on all sides. Increase as needed.
ctmscale(1.0)
Increasing this option to ctmscale(10.0) can in some cases increase the accuracy of curves and (poly)lines in the output format. It increases the number of points used to improve results. Note: increasing the value beyond 10.0 will not further increase accuracy.
digitspage_number(0)
This option applies only to multi-page PDF files and defines the number of digits in the suffix that is added to the filenames of the resulting output files. Keeping it a 0 means that page 2 of myfile.svg will come out as myfile-2.svg, page 3 as myfile-3.svg etc. Setting this option to 4, will result in page 2 to be named myfile-0002.svg. This option is used in document management systems so that alphanumeric listing of all files stay in logical order.
firstpage_number(0)
This option Works in conjunction with digitspage_number(0). When this value is 0, the first page of myfile.pdf will be generated as myfile.svg. With multi-page PDF files, users may want the first page to have a numeric suffix. By setting the value of this option to 1, the first page will come out as myfile-1.svg (followed by myfile-2.svg, etc.).
emulate_font("Fontname")
If you want to outline specific fonts during conversion while maintaining other fonts as text, you can add the above line to the pdffly.ini file. Between brackets, list the font name exactly as it was specified in the PDF file. To add multiple fonts for emulation, add a separate line for each font.
messages_filename("c:\\temp\\pdf2cad-log.txt")
Use this option to configure where you want pdffly to write logfiles. Log files are important records of warnings and problems encountered during conversions and are very helpful in troubleshooting. For example, a log file will list unknown font names it finds in the PDF file(s) during conversion. You can then use these font names to either add font name mappings via the interface, or emulate them via the pdffly.ini file.
font_warnings(0)
If set to 0 font warnings are suppressed.
scaletext(1.0)
If needed the size of the text can be scaled.
setflat(0.01)
Controls the accuracy of converting paths into polyline/polygon objects
zero_linewidth(0)
If set to 1, line weight of all objects are set to 0.0.