/usr/share/doc/pstoedit/pstoedit.htm is in pstoedit 3.62-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!-- Manual page created with latex2man on Sun Dec 22 17:25:58 UTC 2013
** Author of latex2man: Juergen.Vollmer@informatik-vollmer.de
** NOTE: This file is generated, DO NOT EDIT. -->
<html>
<head><title>PSTOEDIT</title>
</head><body bgcolor="white">
<h1 align=center>
PSTOEDIT
</h1>
<h4 align=center>Dr. Wolfgang Glunz </h4>
<h4 align=center>April 2013</h4>
<h4 align=center>Version 3.62</h4>
<tt>pstoedit</tt>
- a tool converting PostScript and PDF files into various
vector graphic formats
<h3>Table of Contents</h3>
<ul>
<li><a href="#section_1">Synopsis </a>
<ul>
<li><a href="#section_2">From the command shell </a></li>
<li><a href="#section_3">From Gsview </a></li>
<li><a href="#section_4">From programs that support the ALDUS graphic import filter interface </a></li>
</ul>
<li><a href="#section_5">Description </a>
<ul>
<li><a href="#section_6">RELEASE LEVEL </a></li>
<li><a href="#section_7">USE </a></li>
<li><a href="#section_8">PRINCIPLE OF CONVERSION </a></li>
<li><a href="#section_9">NOTES </a></li>
</ul>
<li><a href="#section_10">Options </a>
<ul>
<li><a href="#section_11">General options </a></li>
<li><a href="#section_12">Text and font handling related options </a></li>
<li><a href="#section_13">Debug options </a></li>
<li><a href="#section_14">Drawing related options </a></li>
<li><a href="#section_15">Input and outfile file arguments </a></li>
</ul>
<li><a href="#section_16">Available formats and their specific options </a>
<ul>
<li><a href="#section_17">psf - Flattened PostScript (no curves) </a></li>
<li><a href="#section_18">ps - Simplified PostScript with curves </a></li>
<li><a href="#section_19">debug - for test purposes </a></li>
<li><a href="#section_20">dump - for test purposes (same as debug) </a></li>
<li><a href="#section_21">gs - any device that GhostScript provides - use gs:format, e.g. gs:pdfwrite </a></li>
<li><a href="#section_22">ps2ai - Adobe Illustrator via ps2ai.ps of GhostScript </a></li>
<li><a href="#section_23">gmfa - ASCII GNU metafile </a></li>
<li><a href="#section_24">gmfb - binary GNU metafile </a></li>
<li><a href="#section_25">plot - GNU libplot output types, e.g. plot:-plotformat X </a></li>
<li><a href="#section_26">plot-cgm - cgm via GNU libplot </a></li>
<li><a href="#section_27">plot-ai - ai via GNU libplot </a></li>
<li><a href="#section_28">plot-svg - svg via GNU libplot </a></li>
<li><a href="#section_29">plot-ps - ps via GNU libplot </a></li>
<li><a href="#section_30">plot-fig - fig via GNU libplot </a></li>
<li><a href="#section_31">plot-pcl - pcl via GNU libplot </a></li>
<li><a href="#section_32">plot-hpgl - hpgl via GNU libplot </a></li>
<li><a href="#section_33">plot-tek - tek via GNU libplot </a></li>
<li><a href="#section_34">magick - MAGICK driver </a></li>
<li><a href="#section_35">swf - SWF driver: </a></li>
<li><a href="#section_36">xaml - eXtensible Application Markup Language </a></li>
<li><a href="#section_37">wemfnss - Wogls version of EMF - no subpathes </a></li>
<li><a href="#section_38">hpgl - HPGL code </a></li>
<li><a href="#section_39">pcl - PCL code </a></li>
<li><a href="#section_40">pic - PIC format for troff et.al. </a></li>
<li><a href="#section_41">asy - Asymptote Format </a></li>
<li><a href="#section_42">cairo - cairo driver </a></li>
<li><a href="#section_43">cfdg - Context Free Design Grammar </a></li>
<li><a href="#section_44">dxf - CAD exchange format </a></li>
<li><a href="#section_45">dxf_s - CAD exchange format with splines </a></li>
<li><a href="#section_46">fig - .fig format for xfig </a></li>
<li><a href="#section_47">xfig - .fig format for xfig </a></li>
<li><a href="#section_48">tfig - .fig format for xfig </a></li>
<li><a href="#section_49">gcode - emc2 gcode format </a></li>
<li><a href="#section_50">gnuplot - gnuplot format </a></li>
<li><a href="#section_51">gschem - gschem format </a></li>
<li><a href="#section_52">idraw - Interviews draw format (EPS) </a></li>
<li><a href="#section_53">java1 - java 1 applet source code </a></li>
<li><a href="#section_54">java2 - java 2 source code </a></li>
<li><a href="#section_55">kil - .kil format for Kontour </a></li>
<li><a href="#section_56">latex2e - LaTeX2e picture format </a></li>
<li><a href="#section_57">lwo - LightWave 3D Object Format </a></li>
<li><a href="#section_58">mma - Mathematica Graphics </a></li>
<li><a href="#section_59">mpost - MetaPost Format </a></li>
<li><a href="#section_60">noixml - Nemetschek NOI XML format </a></li>
<li><a href="#section_61">pcbi - engrave data - insulate/PCB format </a></li>
<li><a href="#section_62">pcb - pcb format </a></li>
<li><a href="#section_63">pcbfill - pcb format with fills </a></li>
<li><a href="#section_64">pdf - Adobe's Portable Document Format </a></li>
<li><a href="#section_65">pptx - PresentationML (PowerPoint) format </a></li>
<li><a href="#section_66">rib - RenderMan Interface Bytestream </a></li>
<li><a href="#section_67">rpl - Real3D Programming Language Format </a></li>
<li><a href="#section_68">sample - sample driver: if you don't want to see this, uncomment the corresponding line in makefile and make again </a></li>
<li><a href="#section_69">sk - Sketch Format </a></li>
<li><a href="#section_70">svm - StarView/OpenOffice.org metafile </a></li>
<li><a href="#section_71">text - text in different forms </a></li>
<li><a href="#section_72">tgif - Tgif .obj format </a></li>
<li><a href="#section_73">tk - tk and/or tk applet source code </a></li>
<li><a href="#section_74">vtk - VTK driver: if you don't want to see this, uncomment the corresponding line in makefile and make again </a></li>
<li><a href="#section_75">wmf - Windows metafile </a></li>
<li><a href="#section_76">emf - Enhanced Windows metafile </a></li>
</ul>
</li>
</ul>
<li><a href="#section_77">NOTES </a>
<ul>
<li><a href="#section_78">autotrace </a></li>
<li><a href="#section_79">Ps2ai </a></li>
<li><a href="#section_80">MetaPost </a></li>
<li><a href="#section_81">Context Free - CFDG </a></li>
<li><a href="#section_82">LaTeX2e </a></li>
<li><a href="#section_83">Creating a new output format driver </a></li>
</ul>
<li><a href="#section_84">ENVIRONMENT VARIABLES </a></li>
<li><a href="#section_85">TROUBLE SHOOTING </a></li>
<li><a href="#section_86">RESTRICTIONS </a></li>
<li><a href="#section_87">FAQs </a></li>
<li><a href="#section_88">AUTHOR </a></li>
<li><a href="#section_89">CANONICAL ARCHIVE SITE </a></li>
<li><a href="#section_90">ACKNOWLEDGEMENTS </a></li>
<li><a href="#section_91">LEGAL NOTICES </a></li>
</ul>
<p>
<h2><a name="section_1">Synopsis</a></h2>
<p>
<h4><a name="section_2">From the command shell</a></h4>
<p>
<tt>pstoedit</tt>
[<b>-v -help</b>]
<br>
<p>
<tt>pstoedit</tt>
[<font class="optstyle">-include</font><font class="argstyle"> name of a PostScript file to be included</font>]
[<font class="optstyle">-df</font><font class="argstyle"> font name</font>]
[<b>-nomaptoisolatin1</b>]
[<b>-dis</b>]
[<font class="optstyle">-pngimage</font><font class="argstyle"> filename - for debugging purpose mainly. Write result of processing also to a PNG file.</font>]
[<b>-q</b>]
[<b>-nq</b>]
[<b>-nc</b>]
[<b>-nsp</b>]
[<b>-mergelines</b>]
[<b>-filledrecttostroke</b>]
[<b>-mergetext</b>]
[<b>-dt</b>]
[<b>-adt</b>]
[<b>-ndt</b>]
[<b>-dgbm</b>]
[<b>-correctdefinefont</b>]
[<b>-pti</b>]
[<b>-pta</b>]
[<font class="optstyle">-xscale</font><font class="argstyle"> number</font>]
[<font class="optstyle">-yscale</font><font class="argstyle"> number</font>]
[<font class="optstyle">-xshift</font><font class="argstyle"> number</font>]
[<font class="optstyle">-yshift</font><font class="argstyle"> number</font>]
[<b>-centered</b>]
[<font class="optstyle">-minlinewidth</font><font class="argstyle"> number</font>]
[<font class="optstyle">-pagenumberformat</font><font class="argstyle"> page number format specification</font>]
[<b>-split</b>]
[<b>-v</b>]
[<b>-usebbfrominput</b>]
[<b>-ssp</b>]
[<font class="optstyle">-uchar</font><font class="argstyle"> character</font>]
[<b>-nb</b>]
[<font class="optstyle">-page</font><font class="argstyle"> page number</font>]
[<font class="optstyle">-flat</font><font class="argstyle"> flatness factor</font>]
[<b>-sclip</b>]
[<b>-ups</b>]
[<b>-rgb</b>]
[<b>-useagl</b>]
[<b>-noclip</b>]
[<b>-t2fontsast1</b>]
[<b>-keep</b>]
[<b>-debugfonthandling</b>]
[<b>-gstest</b>]
[<b>-nfr</b>]
[<b>-glyphs</b>]
[<b>-useoldnormalization</b>]
[<font class="optstyle">-rotate</font><font class="argstyle"> angle (0-360)</font>]
[<font class="optstyle">-fontmap</font><font class="argstyle"> name of font map file for pstoedit</font>]
[<font class="optstyle">-pagesize</font><font class="argstyle"> page format</font>]
[<b>-help</b>]
[<font class="optstyle">-gs</font><font class="argstyle"> path to the ghostscript executable/DLL </font>]
[<b>-bo</b>]
[<font class="optstyle">-psarg</font><font class="argstyle"> argument string</font>]
[<font class="optstyle">-pslanguagelevel</font><font class="argstyle"> PostScript Language Level to be used 1,2, or 3</font>]
<font class="optstyle">-f</font><font class="argstyle"> "format[:options]"</font>
[<font class="optstyle">-gsregbase</font><font class="argstyle"> GhostScript base registry path</font>]
[ inputfile [outputfile] ]
<p>
<h4><a name="section_3">From Gsview</a></h4>
<p>
Pstoedit can be called from within gsview via
"<strong>Edit | Convert to vector format</strong>"
<p>
<h4><a name="section_4">From programs that support the ALDUS graphic import filter interface</a></h4>
<p>
<tt>pstoedit</tt>
can also be used as PostScript and PDF graphic import filter for several programs including
MS-Office, PaintShop-Pro and PhotoLine. See
<a href ="http://www.pstoedit.net/importps/"><tt>http://www.pstoedit.net/importps/</tt></a>
for more
details.
<p>
<h2><a name="section_5">Description</a></h2>
<p>
<h4><a name="section_6">RELEASE LEVEL</a></h4>
<p>
This manpage documents release 3.62 of <tt>pstoedit</tt>.
<p>
<h4><a name="section_7">USE</a></h4>
<p>
<tt>pstoedit</tt>
converts PostScript and PDF files to various vector graphic
formats. The resulting files can be edited or imported into various drawing
packages. Type
<p>
<strong>pstoedit -help</strong>
<p>
to get a list of supported output formats. Pstoedit comes with a
large set of format drivers integrated in the binary. Additional drivers can be
installed as plugins and are available via
<a href ="http://www.pstoedit.net/plugins/"><tt>http://www.pstoedit.net/plugins/</tt></a>.
Just copy the plugins to the same directory where the pstoedit binary is installed or - under Unix like systems only - alternatively into the lib directory parallel to the bin directory where pstoedit is installed.
<p>
However, unless you also get a license key for the plugins, the additional
drivers will slightly distort the resulting graphics. See the documentation
provided with the plugins for further details.
<p>
<h4><a name="section_8">PRINCIPLE OF CONVERSION</a></h4>
<p>
<tt>pstoedit</tt>
works by redefining the some basic painting operators of
PostScript, e.g. <strong>stroke</strong>
or <strong>show</strong>
(bitmaps drawn by the image
operator are not supported by all output formats.) After
redefining these operators, the PostScript or PDF file that needs to be
converted is processed by a PostScript interpreter, e.g., Ghostscript
(<font class="commandname">gs</font>(1)).
You normally need to have a PostScript interpreter installed in
order to use this program. However, you can perform some "back end only" processing
of files following the conventions of the pstoedit intermediate formate by specifying the <b>-bo</b>
option. See "Available formats and their specific options" below.
<p>
The output that is written by the interpreter due to the redefinition of the
drawing operators is a sort of 'flat' PostScript file that contains only simple
operations like moveto, lineto, show, etc. You can look at this file using the
<b>-f debug</b>
option.
<p>
This output is read by end-processing functions of <tt>pstoedit</tt>
and triggers
the drawing functions in the selected output format driver sometime called also "backend".
<p>
<h4><a name="section_9">NOTES</a></h4>
<p>
If you want to process PDF files directly, your PostScript interpreter must
provide this feature, as does Ghostscript. Aladdin Ghostscript is
recommended for processing PDF and PostScript files.
<p>
<h2><a name="section_10">Options</a></h2>
<p>
<h4><a name="section_11">General options</a></h4>
<dl compact>
<dt>[<font class="optstyle">-include</font><font class="argstyle"> name of a PostScript file to be included</font>]
</dt>
<dd>
This options allows to specify an additional PostScript file that will be executed just before the normal input is read. This is helpful for including specific page settings or for disabling potentially unsafe PostScript operators, e.g., file, renamefile, or deletefile.
<p>
</dd>
<dt>[<font class="optstyle">-xscale</font><font class="argstyle"> number</font>]
</dt>
<dd>
scale by a factor in x-direction
<p>
</dd>
<dt>[<font class="optstyle">-yscale</font><font class="argstyle"> number</font>]
</dt>
<dd>
scale by a factor in y-direction
<p>
</dd>
<dt>[<font class="optstyle">-xshift</font><font class="argstyle"> number</font>]
</dt>
<dd>
shift image in x-direction
<p>
</dd>
<dt>[<font class="optstyle">-yshift</font><font class="argstyle"> number</font>]
</dt>
<dd>
shift image in y-direction
<p>
</dd>
<dt>[<b>-centered</b>]
</dt>
<dd>
center image before scaling or shifting
<p>
</dd>
<dt>[<font class="optstyle">-minlinewidth</font><font class="argstyle"> number</font>]
</dt>
<dd>
minimal line width. All lines thinner than this will be drawn in this line width - especially zero-width lines
<p>
</dd>
<dt>[<font class="optstyle">-pagenumberformat</font><font class="argstyle"> page number format specification</font>]
</dt>
<dd>
format specification for page numbers in file name if -split is used. The specification is used to create the page number using sprintf.The specification shall not include the leading
<p>
</dd>
<dt>[<b>-split</b>]
</dt>
<dd>
Create a new file for each page of the input. For this the output filename must contain a %d which is replaced with the current page number. This option is automatically switched on for output formats that don't support multiple pages within one file, e.g. fig or gnuplot.
<p>
</dd>
<dt>[<b>-usebbfrominput</b>]
</dt>
<dd>
If specified, pstoedit uses the BoundingBox as is (hopefully) found in the input file instead of one that is calculated by its own.
<p>
</dd>
<dt>[<font class="optstyle">-page</font><font class="argstyle"> page number</font>]
</dt>
<dd>
Select a single page from a multi page PostScript or PDF file.
<p>
</dd>
<dt>[<b>-rgb</b>]
</dt>
<dd>
Since version 3.30 pstoedit uses the CMYK colors internally. The -rgb option turns on the old behavior to use RGB values.
<p>
</dd>
<dt>[<b>-useagl</b>]
</dt>
<dd>
use Adobe Glyph List instead of the IsoLatin1 table (this is experimental)
<p>
</dd>
<dt>[<b>-noclip</b>]
</dt>
<dd>
don't use clipping (relevant only if output format supports clipping at all)
<p>
</dd>
<dt>[<font class="optstyle">-rotate</font><font class="argstyle"> angle (0-360)</font>]
</dt>
<dd>
Rotage image by angle.
<p>
</dd>
<dt>[<font class="optstyle">-pagesize</font><font class="argstyle"> page format</font>]
</dt>
<dd>
set page size for output medium.
This option sets the page size for the output medium. Currently this is just used by the libplot output format driver, but might be used by other output format drivers in future. The page size is specified in terms of the usual page size names, e.g. letter or a4.
<p>
</dd>
<dt>[<b>-help</b>]
</dt>
<dd>
show the help information
<p>
</dd>
<dt>[<font class="optstyle">-gs</font><font class="argstyle"> path to the ghostscript executable/DLL </font>]
</dt>
<dd>
tells pstoedit which ghostscript executable/DLL to use - overwrites the internal search heuristic
<p>
</dd>
<dt>[<b>-bo</b>]
</dt>
<dd>
You can run backend processing only (without the PostScript interpreter frontend) by first running <strong>pstoedit</strong>
<b>-f dump</b>
<i>infile</i>
<i>dumpfile</i>
and then running <strong>pstoedit</strong>
<font class="optstyle">-f</font><font class="argstyle"> format</font>
<b>-bo</b>
<i>dumpfile</i>
<i>outfile</i>.
<p>
</dd>
<dt>[<font class="optstyle">-psarg</font><font class="argstyle"> argument string</font>]
</dt>
<dd>
The string given with this option is passed directly to Ghostscript when Ghostscript is called to process the PostScript file for <tt>pstoedit</tt>.
For example: <strong>-psarg</strong><strong> "</strong><strong>-r300x300</strong><strong>"</strong>.
This causes the resolution to be changed to 300x300 dpi. (With older versions of GhostScript, changing the resolution this way has an effect only if the <b>-dis</b>
option is given.) If you want to pass multiple options to Ghostscript you can use multiple -psarg options <b>-psarg opt1</b>
<b>-psarg opt2</b>
<b>-psarg opt2</b>.
See the GhostScript manual for other possible options.
<p>
</dd>
<dt>[<font class="optstyle">-pslanguagelevel</font><font class="argstyle"> PostScript Language Level to be used 1,2, or 3</font>]
</dt>
<dd>
PostScript Language Level to be used 1,2, or 3 You can switch Ghostscript into PostScript Level 1 only mode by <b>-pslanguagelevel 1</b>.
This can be useful for example if the PostScript file to be converted uses some Level 2 specific custom color models that are not supported by pstoedit. However, this requires that the PostScript program checks for the PostScript level supported by the interpreter and "acts" accordingly. The default language level is 3.
<p>
</dd>
<dt><font class="optstyle">-f</font><font class="argstyle"> "format[:options]"</font>
</dt>
<dd>
target output format recognized by <tt>pstoedit</tt>.
Since other format drivers can be loaded dynamically, type <tt>pstoedit -help</tt>
to get a full list of formats. See "Available formats and their specific options " below for an explanation of the [<i>:options</i>]
to <b>-f</b>
format. If the format option is not given, pstoedit tries to guess the target format from the suffix of the output filename. However, in a lot of cases, this is not a unique mapping and hence pstoedit demands the <b>-f</b>
option.
<p>
</dd>
<dt>[<font class="optstyle">-gsregbase</font><font class="argstyle"> GhostScript base registry path</font>]
</dt>
<dd>
registry path to use as a base path when searching GhostScript interpreter
This option provides means to specify a registry key under HKLM/Software where to search for GS interpreter key, version and <tt>GS_DLL / GS_LIB</tt> values. Example: "-gsregbase MyCompany" means that HKLM/Software/MyCompany/GPL GhostScript would be searched instead of HKLM/Software/GPL GhostScript.
<p>
</dd>
</dl>
<h4><a name="section_12">Text and font handling related options</a></h4>
<dl compact>
<dt>[<font class="optstyle">-df</font><font class="argstyle"> font name</font>]
</dt>
<dd>
Sometimes fonts embedded in a PostScript program do not have a fontname. For example, this happens in PostScript files generated by <font class="commandname">dvips</font>(1).
In such a case <tt>pstoedit</tt>
uses a replacement font. The default for this is Courier. Another font can be specified using the <b>-df</b>
option. <b>-df Helvetica</b>
causes all unnamed fonts to be replaced by Helvetica.
<p>
</dd>
<dt>[<b>-nomaptoisolatin1</b>]
</dt>
<dd>
Normally <tt>pstoedit</tt>
maps all character codes to the ones defined by the ISO-Latin1 encoding. If you specify <b>-nomaptoisolatin1</b>
then the encoding from the input PostScript is passed unchanged to the output. This may result in strange text output but on the other hand may be the only way to get some fonts converted appropriately. Try what fits best to your concrete case.
<p>
</dd>
<dt>[<font class="optstyle">-pngimage</font><font class="argstyle"> filename - for debugging purpose mainly. Write result of processing also to a PNG file.</font>]
</dt>
<dd>
for debugging purpose mainly. Write result of processing also to a PNG file
<p>
</dd>
<dt>[<b>-dt</b>]
</dt>
<dd>
Draw text - Text is drawn as polygons. This might produce a large output file. This option is automatically switched on if the selected output format does not support text, e.g. <font class="commandname">gnuplot</font>(1).
<p>
</dd>
<dt>[<b>-adt</b>]
</dt>
<dd>
Automatic Draw text - This option turns on the <b>-dt</b>
option selectively for fonts that seem to be no normal text fonts, e.g. Symbol..
<p>
</dd>
<dt>[<b>-ndt</b>]
</dt>
<dd>
Never Draw text - fully disable the heuristics used by pstoedit to decide when to "draw" text instead of showing it as text. This may produce incorrect results, but in some cases it might nevertheless be useful. "Use at own risk".
<p>
</dd>
<dt>[<b>-dgbm</b>]
</dt>
<dd>
experimental - draw also bitmaps generated by fonts/glyphs
<p>
</dd>
<dt>[<b>-correctdefinefont</b>]
</dt>
<dd>
Some PostScript files, e.g. such as generated by ChemDraw, use the PostScript definefont operator in way that is incompatible with pstoedit's assumptions. The new font is defined by copying an old font without changing the FontName of the new font. When this option is applied, some "patches" are done after a definefont in order to make it again compatible with pstoedit's assumptions. This option is not enabled per default, since it may break other PostScript file. It is tested only with ChemDraw generated files.
<p>
</dd>
<dt>[<b>-pti</b>]
</dt>
<dd>
Precision text - Normally a text string is drawn as it occurs in the input file. However, in some situations, this might produce wrongly positioned characters. This is due to limitiations in most output formats of pstoedit. They cannot represent text with arbitray inter-letter spacing which is easily possible in PDF and PostScript. With <b>-pta</b>,
each character of a text string is placed separately. With <b>-pti</b>,
this is done only in cases when there is a non zero inter-letter spacing. The downside of "precision text" is a bigger file size and hard to edit text.
<p>
</dd>
<dt>[<b>-pta</b>]
</dt>
<dd>
see -pti
<p>
</dd>
<dt>[<font class="optstyle">-uchar</font><font class="argstyle"> character</font>]
</dt>
<dd>
Sometimes pstoedit cannot map a character from the encoding used by the PostScript file to the font encoding of the target format. In this case pstoedit replaces the input character by a special character in order to show all the places that couldn't be mapped correctly. The default for this is a "#". Using the <b>-uchar</b>
option it is possible to specify another character to be used instead. If you want to use a space, use -uchar " ".
<p>
</dd>
<dt>[<b>-t2fontsast1</b>]
</dt>
<dd>
Handle type 2 fonts same as type 1. Type 2 fonts sometimes occur as embedded fonts within PDF files. In the default mode, text using such fonts is drawn as polygons since pstoedit assumes that such a font is not available on the users machine. If this option is set, pstoedit assumes that the internal encoding follows the same as for a standard font and generates normal text output. This assumption may not be true in all cases. But it is nearly impossible for pstoedit to verify this assumption - it would have to do a sort of OCR.
<p>
</dd>
<dt>[<b>-nfr</b>]
</dt>
<dd>
In normal mode pstoedit replaces bitmap fonts with a font as defined by the <b>-df</b>
option. This is done, because most output formats can't handle such fonts. This behavior can be switched off using the <b>-nfr</b>
option but then it strongly depends on the application reading the the generated file whether the file is usable and correctly interpreted or not. Any problems are then out of control of pstoedit.
<p>
</dd>
<dt>[<b>-glyphs</b>]
</dt>
<dd>
pass glyph names to the output format driver. So far no output format driver really uses the glyph names, so this does not have any effect at the moment. It is a preparation for future work.
<p>
</dd>
<dt>[<b>-useoldnormalization</b>]
</dt>
<dd>
Just use this option in case the new heuristic introduced in 3.5 doesn't produce correct results - however, this normalization of font encoding will always be a best-effort approach since there is no real general solution to it with reasonable effort
<p>
</dd>
<dt>[<font class="optstyle">-fontmap</font><font class="argstyle"> name of font map file for pstoedit</font>]
</dt>
<dd>
The font map is a simple text file containing lines in the following format:<br>
<p>
<tt>document_font_name target_font_name</tt> <br>
Lines beginning with <tt>%</tt> are considerd comments <br>
If a font name contains spaces, use the <tt>"font name with spaces"</tt> notation.
<p>
If a target_font_name starts with /, it is regarded as alias to a former entry.
<p>
Each font name found in the document is checked against this mapping and if there is a corresponding entry, the new name is used for the output.
<p>
If the <b>-fontmap</b>
option is not specified, <tt>pstoedit</tt>
automatically looks for the file <em>drivername</em>.fmp
in the installation directory and uses that file as a default fontmap file if available. The installation directory is:
<p>
<ul compact>
<p>
<li>Windows: The same directory where the <tt>pstoedit</tt> executable is
located
<p>
</li>
<li>Unix: <br>
<<em>The directory where the pstoedit executably is located</em>>
<tt>/../lib/</tt>
<p>
</li>
</ul>
<p>
The mpost.fmp in the misc directory of the pstoedit distibution is a sample map file with mappings from over 5000 PostScript font names to their TeXequivalents. This is useful because MetaPost is frequently used with TeX/LaTeX and those programs don't use standard font names. This file and the MetaPost output format driver are provided by Scott Pakin (<a href ="mailto:scott+ps2ed_AT_pakin.org"><tt>scott+ps2ed_AT_pakin.org</tt></a>).
Another example is wemf.fmp to be used under Windows. See the misc directory of the pstoedit source distribution.
After loading the implicit (based on driver name) or explicit (based on the -fontmap option) font map file, a system specific map file is searched and loaded from the installation directory (unix.fmp or windows.fmp). This file can be used to redirect certain fonts to system specific names using the /AliasName notation described above.
<p>
</dd>
</dl>
<h4><a name="section_13">Debug options</a></h4>
<dl compact>
<dt>[<b>-dis</b>]
</dt>
<dd>
Open a display during processing by Ghostscript. Some files only work correctly this way.
<p>
</dd>
<dt>[<b>-q</b>]
</dt>
<dd>
quiet mode - do not write startup message
<p>
</dd>
<dt>[<b>-nq</b>]
</dt>
<dd>
No exit from the PostScript interpreter. Normally Ghostscript exits after processing the pstoedit input-file. For debugging it can be useful to avoid this. If you do, you will have to type quit at the <tt>GS></tt> prompt to exit from Ghostscript.
<p>
</dd>
<dt>[<b>-v</b>]
</dt>
<dd>
Switch on verbose mode. Some additional information is shown during processing.
<p>
</dd>
<dt>[<b>-nb</b>]
</dt>
<dd>
Since version 3.10 <tt>pstoedit</tt>
uses the <tt>-dDELAYBIND</tt>
option when calling GhostScript. Previously the <tt>-dNOBIND</tt>
option was used instead but that sometimes caused problems if a user's PostScript file overloaded standard PostScript operator with totally new semantic, e.g. lt for lineto instead of the standard meaning of "less than". Using <b>-nb</b>
the old style can be activated again in case the <tt>-dDELAYBIND</tt>
gives different results as before. In such a case please also contact the author.
<p>
</dd>
<dt>[<b>-ups</b>]
</dt>
<dd>
write text as plain string instead of hex string in intermediate format - normally useful for trouble shooting and debugging only.
<p>
</dd>
<dt>[<b>-keep</b>]
</dt>
<dd>
keep the intermediate files produced by pstoedit - for debug purposes only
<p>
</dd>
<dt>[<b>-debugfonthandling</b>]
</dt>
<dd>
writes verbose messages related to internal font processing - for debug purposes only
<p>
</dd>
<dt>[<b>-gstest</b>]
</dt>
<dd>
perform a basic test for the interworking with GhostScript
<p>
</dd>
</dl>
<h4><a name="section_14">Drawing related options</a></h4>
<dl compact>
<dt>[<b>-nc</b>]
</dt>
<dd>
no curves.
Normally pstoedit tries to keep curves from the input and transfers them to the output if the output format supports curves. If the output format does not support curves, then pstoedit replaces curves by a series of lines (see also <b>-flat</b>
option). However, in some cases the user might wish to have this behavior also for output formats that originally support curves. This can be forced via the <b>-nc</b>
option.
<p>
</dd>
<dt>[<b>-nsp</b>]
</dt>
<dd>
normally subpathes are used if the output format support them. This option turns off subpathes.
<p>
</dd>
<dt>[<b>-mergelines</b>]
</dt>
<dd>
Some output formats permit the representation of filled polygons with edges that are in a different color than the fill color. Since PostScript does not support this by the standard drawing primitives directly, drawing programs typically generate two objects (the outline and the filled polygon) into the PostScript output. <tt>pstoedit</tt>
is able to recombine these, if they follow each other directly and you specify <b>-mergelines</b>.
However, this merging is not supported by all output formats due to restrictions in the target format.
<p>
</dd>
<dt>[<b>-filledrecttostroke</b>]
</dt>
<dd>
Rectangles filled with a solid color can be converted to a stroked line with a width that corresponds to the width of the rectangle. This is of primary interest for output formats which do not support filled polygons at all. But it is restricted to rectangles only, i.e. it is not supported for general polygons
<p>
</dd>
<dt>[<b>-mergetext</b>]
</dt>
<dd>
In order to produce nice looking text output, programs producing PostScript files often split words into smaller pieces which are then placed individually on adjacent positions. However, such split text is hard to edit later on and hence it is sometime better to recombine these pieces again to form a word (or even sequence of words). For this pstoedit implements some heuristics about what text pieces are to be considered parts of a split word. This is based on the geometrical proximity of the different parts and seems to work quite well so far. But there are certainly cases where this simple heuristic fails. So please check the results carefully.
<p>
</dd>
<dt>[<b>-ssp</b>]
</dt>
<dd>
simulate sub paths.
Several output formats don't support PostScript pathes containing sub pathes, i.e. pathes with intermediate movetos. In the normal case, each subpath is treated as an independent path for such output formats. This can lead to bad looking results. The most common case where this happens is if you use the <b>-dt</b>
option and show some text with letters like e, o, or b, i.e. letter that have a "hole". When the <b>-ssp</b>
option is set, pstoedit tries to eliminate these problems. However, this option is CPU time intensive!
<p>
</dd>
<dt>[<font class="optstyle">-flat</font><font class="argstyle"> flatness factor</font>]
</dt>
<dd>
If the output format does not support curves in the way PostScript does or if the <b>-nc</b>
option is specified, all curves are approximated by lines. Using the <b>-flat</b>
option one can control this approximation. This parameter is directly converted to a PostScript <strong>setflat</strong>
command. Higher numbers, e.g. 10 give rougher, lower numbers, e.g. 0.1 finer approximations.
<p>
</dd>
<dt>[<b>-sclip</b>]
</dt>
<dd>
simulate clipping.
Most output formats of pstoedit don't have native support for clipping. For that <tt>pstoedit</tt>
offers an option to perform the clipping of the graphics directly without passing the clippath to the output driver. However, this results in curves being replaced by a lot of line segments and thus larger output files. So use this option only if your output looks different from the input due to clipping. In addition, this "simulated clipping" is not exactly the same as defined in PostScript. There might be lines drawn at the double size. Also clipping of text is not supported unless you also use the <b>-dt</b>
option.
<p>
</dd>
</dl>
<h4><a name="section_15">Input and outfile file arguments</a></h4>
[ inputfile [outputfile] ]
<p>
If neither an input nor an output file is given as argument, pstoedit works as filter reading from standard input and
writing to standard output.
The special filename "-" can also be used. It represents standard input if it is the first on the command line and standard output if it is the second. So "pstoedit - output.xxx" reads from standard input and writes to output.xxx
<p>
<h2><a name="section_16">Available formats and their specific options</a></h2>
<p>
<tt>pstoedit</tt>
allows passing individual options to a output format driver. This is done by
appending all options to the format specified after the <b>-f</b>
option. The format
specifier and its options must be separated by a colon (:). If more than one
option needs to be passed to the output format driver, the whole argument to <b>-f</b>
must be
enclosed within double-quote characters, thus:
<p>
<font class="optstyle">-f</font><font class="argstyle"> "format[:option option ...]"</font>
<p>
To see which options are supported by a specific format, type:
<strong>pstoedit -f format:-help</strong>
<br>
<p>
The following description of the different formats supported by pstoedit is extracted from the source code of the individual drivers.
<p>
<h5><a name="section_17">psf - Flattened PostScript (no curves)</a></h5>
No driver specific options
<h5><a name="section_18">ps - Simplified PostScript with curves</a></h5>
No driver specific options
<h5><a name="section_19">debug - for test purposes</a></h5>
No driver specific options
<h5><a name="section_20">dump - for test purposes (same as debug)</a></h5>
No driver specific options
<h5><a name="section_21">gs - any device that GhostScript provides - use gs:format, e.g. gs:pdfwrite</a></h5>
No driver specific options
<h5><a name="section_22">ps2ai - Adobe Illustrator via ps2ai.ps of GhostScript</a></h5>
No driver specific options
<h5><a name="section_23">gmfa - ASCII GNU metafile </a></h5>
<dl compact>
<dt>[<font class="optstyle">-plotformat</font><font class="argstyle"> string</font>]
</dt>
<dd>
plotutil format to generate
<p>
</dd>
</dl>
<h5><a name="section_24">gmfb - binary GNU metafile </a></h5>
<dl compact>
<dt>[<font class="optstyle">-plotformat</font><font class="argstyle"> string</font>]
</dt>
<dd>
plotutil format to generate
<p>
</dd>
</dl>
<h5><a name="section_25">plot - GNU libplot output types, e.g. plot:-plotformat X</a></h5>
<dl compact>
<dt>[<font class="optstyle">-plotformat</font><font class="argstyle"> string</font>]
</dt>
<dd>
plotutil format to generate
<p>
</dd>
</dl>
<h5><a name="section_26">plot-cgm - cgm via GNU libplot</a></h5>
<dl compact>
<dt>[<font class="optstyle">-plotformat</font><font class="argstyle"> string</font>]
</dt>
<dd>
plotutil format to generate
<p>
</dd>
</dl>
<h5><a name="section_27">plot-ai - ai via GNU libplot</a></h5>
<dl compact>
<dt>[<font class="optstyle">-plotformat</font><font class="argstyle"> string</font>]
</dt>
<dd>
plotutil format to generate
<p>
</dd>
</dl>
<h5><a name="section_28">plot-svg - svg via GNU libplot</a></h5>
<dl compact>
<dt>[<font class="optstyle">-plotformat</font><font class="argstyle"> string</font>]
</dt>
<dd>
plotutil format to generate
<p>
</dd>
</dl>
<h5><a name="section_29">plot-ps - ps via GNU libplot</a></h5>
<dl compact>
<dt>[<font class="optstyle">-plotformat</font><font class="argstyle"> string</font>]
</dt>
<dd>
plotutil format to generate
<p>
</dd>
</dl>
<h5><a name="section_30">plot-fig - fig via GNU libplot</a></h5>
<dl compact>
<dt>[<font class="optstyle">-plotformat</font><font class="argstyle"> string</font>]
</dt>
<dd>
plotutil format to generate
<p>
</dd>
</dl>
<h5><a name="section_31">plot-pcl - pcl via GNU libplot</a></h5>
<dl compact>
<dt>[<font class="optstyle">-plotformat</font><font class="argstyle"> string</font>]
</dt>
<dd>
plotutil format to generate
<p>
</dd>
</dl>
<h5><a name="section_32">plot-hpgl - hpgl via GNU libplot</a></h5>
<dl compact>
<dt>[<font class="optstyle">-plotformat</font><font class="argstyle"> string</font>]
</dt>
<dd>
plotutil format to generate
<p>
</dd>
</dl>
<h5><a name="section_33">plot-tek - tek via GNU libplot</a></h5>
<dl compact>
<dt>[<font class="optstyle">-plotformat</font><font class="argstyle"> string</font>]
</dt>
<dd>
plotutil format to generate
<p>
</dd>
</dl>
<h5><a name="section_34">magick - MAGICK driver</a></h5>
This driver uses the C++ API of ImageMagick or GraphicsMagick to finally produce different output formats. The output format is determined automatically by Image/GraphicsMagick based on the suffix of the output filename. So an output file test.png will force the creation of an image in PNG format.
<p>
No driver specific options
<h5><a name="section_35">swf - SWF driver: </a></h5>
<dl compact>
<dt>[<b>-cubic</b>]
</dt>
<dd>
cubic ???
<p>
</dd>
<dt>[<b>-trace</b>]
</dt>
<dd>
trace ???
<p>
</dd>
</dl>
<h5><a name="section_36">xaml - eXtensible Application Markup Language</a></h5>
<dl compact>
<dt>[<b>-localdtd</b>]
</dt>
<dd>
use local DTD
<p>
</dd>
<dt>[<b>-standalone</b>]
</dt>
<dd>
create stand-alone type svg
<p>
</dd>
<dt>[<b>-withdtd</b>]
</dt>
<dd>
write DTD
<p>
</dd>
<dt>[<b>-withgrouping</b>]
</dt>
<dd>
write also ordinary save/restores as SVG group
<p>
</dd>
<dt>[<b>-nogroupedpath</b>]
</dt>
<dd>
do not write a group around pathes
<p>
</dd>
<dt>[<b>-noviewbox</b>]
</dt>
<dd>
don't write a view box
<p>
</dd>
<dt>[<b>-texmode</b>]
</dt>
<dd>
TeX Mode
<p>
</dd>
<dt>[<b>-imagetofile</b>]
</dt>
<dd>
write raster images to separate files instead of embedding them
<p>
</dd>
<dt>[<b>-notextrendering</b>]
</dt>
<dd>
do not write textrendering attribute
<p>
</dd>
<dt>[<font class="optstyle">-border</font><font class="argstyle"> number</font>]
</dt>
<dd>
additional border to draw around bare bounding box (in percent of width and height)
<p>
</dd>
<dt>[<font class="optstyle">-title</font><font class="argstyle"> string</font>]
</dt>
<dd>
text to use as title for the generated document
<p>
</dd>
</dl>
<h5><a name="section_37">wemfnss - Wogls version of EMF - no subpathes </a></h5>
<dl compact>
<dt>[<b>-df</b>]
</dt>
<dd>
write info about font processing
<p>
</dd>
<dt>[<b>-dumpfontmap</b>]
</dt>
<dd>
write info about font mapping
<p>
</dd>
<dt>[<b>-size:psbbox</b>]
</dt>
<dd>
use the bounding box as calculated by the PostScript frontent as size
<p>
</dd>
<dt>[<b>-size:fullpage</b>]
</dt>
<dd>
set the size to the size of a full page
<p>
</dd>
<dt>[<b>-size:automatic</b>]
</dt>
<dd>
let windows calculate the bounding box (default)
<p>
</dd>
<dt>[<b>-keepimages</b>]
</dt>
<dd>
debug option - keep the embedded bitmaps as external files
<p>
</dd>
<dt>[<b>-useoldpolydraw</b>]
</dt>
<dd>
do not use Windows PolyDraw but an emulation of it - sometimes needed for certain programs reading the EMF files
<p>
</dd>
<dt>[<b>-OO</b>]
</dt>
<dd>
generate OpenOffice compatible EMF file
<p>
</dd>
</dl>
<h5><a name="section_38">hpgl - HPGL code</a></h5>
<dl compact>
<dt>[<b>-penplotter</b>]
</dt>
<dd>
plotter is pen plotter (i.e. no support for specific line widths)
<p>
</dd>
<dt>[<b>-pencolorsfromfile</b>]
</dt>
<dd>
read pen colors from file drvhpgl.pencolors in pstoedit data directory
<p>
</dd>
<dt>[<font class="optstyle">-pencolors</font><font class="argstyle"> number</font>]
</dt>
<dd>
maximum number of pen colors to be used by pstoedit (default 0) -
<p>
</dd>
<dt>[<font class="optstyle">-filltype</font><font class="argstyle"> string</font>]
</dt>
<dd>
select fill type e.g. FT 1
<p>
</dd>
<dt>[<b>-hpgl2</b>]
</dt>
<dd>
Use HPGL/2 instead of HPGL/1
<p>
</dd>
<dt>[<b>-rot90</b>]
</dt>
<dd>
rotate hpgl by 90 degrees
<p>
</dd>
<dt>[<b>-rot180</b>]
</dt>
<dd>
rotate hpgl by 180 degrees
<p>
</dd>
<dt>[<b>-rot270</b>]
</dt>
<dd>
rotate hpgl by 270 degrees
<p>
</dd>
</dl>
<h5><a name="section_39">pcl - PCL code</a></h5>
<dl compact>
<dt>[<b>-penplotter</b>]
</dt>
<dd>
plotter is pen plotter (i.e. no support for specific line widths)
<p>
</dd>
<dt>[<b>-pencolorsfromfile</b>]
</dt>
<dd>
read pen colors from file drvhpgl.pencolors in pstoedit data directory
<p>
</dd>
<dt>[<font class="optstyle">-pencolors</font><font class="argstyle"> number</font>]
</dt>
<dd>
maximum number of pen colors to be used by pstoedit (default 0) -
<p>
</dd>
<dt>[<font class="optstyle">-filltype</font><font class="argstyle"> string</font>]
</dt>
<dd>
select fill type e.g. FT 1
<p>
</dd>
<dt>[<b>-hpgl2</b>]
</dt>
<dd>
Use HPGL/2 instead of HPGL/1
<p>
</dd>
<dt>[<b>-rot90</b>]
</dt>
<dd>
rotate hpgl by 90 degrees
<p>
</dd>
<dt>[<b>-rot180</b>]
</dt>
<dd>
rotate hpgl by 180 degrees
<p>
</dd>
<dt>[<b>-rot270</b>]
</dt>
<dd>
rotate hpgl by 270 degrees
<p>
</dd>
</dl>
<h5><a name="section_40">pic - PIC format for troff et.al.</a></h5>
<dl compact>
<dt>[<b>-troff</b>]
</dt>
<dd>
troff mode (default is groff)
<p>
</dd>
<dt>[<b>-landscape</b>]
</dt>
<dd>
landscape output
<p>
</dd>
<dt>[<b>-portrait</b>]
</dt>
<dd>
portrait output
<p>
</dd>
<dt>[<b>-keepfont</b>]
</dt>
<dd>
print unrecognized literally
<p>
</dd>
<dt>[<b>-text</b>]
</dt>
<dd>
try not to make pictures from running text
<p>
</dd>
<dt>[<b>-debug</b>]
</dt>
<dd>
enable debug output
<p>
</dd>
</dl>
<h5><a name="section_41">asy - Asymptote Format</a></h5>
No driver specific options
<h5><a name="section_42">cairo - cairo driver</a></h5>
generates compilable c code for rendering with cairo
<p>
<dl compact>
<dt>[<b>-pango</b>]
</dt>
<dd>
use pango for font rendering
<p>
</dd>
<dt>[<font class="optstyle">-funcname</font><font class="argstyle"> string</font>]
</dt>
<dd>
sets the base name for the generated functions and variables. e.g. myfig
<p>
</dd>
<dt>[<font class="optstyle">-header</font><font class="argstyle"> string</font>]
</dt>
<dd>
sets the output file name for the generated C header file. e.g. myfig.h
<p>
</dd>
</dl>
<h5><a name="section_43">cfdg - Context Free Design Grammar</a></h5>
Context Free Design Grammar, usable by Context Free Art (http://www.contextfreeart.org/)
<p>
No driver specific options
<h5><a name="section_44">dxf - CAD exchange format</a></h5>
<dl compact>
<dt>[<b>-polyaslines</b>]
</dt>
<dd>
use LINE instead of POLYLINE in DXF
<p>
</dd>
<dt>[<b>-mm</b>]
</dt>
<dd>
use mm coordinates instead of points in DXF (mm=pt/72*25.4)
<p>
</dd>
<dt>[<b>-ctl</b>]
</dt>
<dd>
map colors to layers
<p>
</dd>
<dt>[<b>-splineaspolyline</b>]
</dt>
<dd>
approximate splines with PolyLines (only for -f dxf_s)
<p>
</dd>
<dt>[<b>-splineasnurb</b>]
</dt>
<dd>
experimental (only for -f dxf_s)
<p>
</dd>
<dt>[<b>-splineasbspline</b>]
</dt>
<dd>
experimental (only for -f dxf_s)
<p>
</dd>
<dt>[<b>-splineassinglespline</b>]
</dt>
<dd>
experimental (only for -f dxf_s)
<p>
</dd>
<dt>[<b>-splineasmultispline</b>]
</dt>
<dd>
experimental (only for -f dxf_s)
<p>
</dd>
<dt>[<b>-splineasbezier</b>]
</dt>
<dd>
use Bezier splines in DXF format (only for -f dxf_s)
<p>
</dd>
<dt>[<font class="optstyle">-splineprecision</font><font class="argstyle"> number</font>]
</dt>
<dd>
number of samples to take from spline curve when doing approximation with -splineaspolyline or -splineasmultispline - should be >= 2 (default 5)
<p>
</dd>
<dt>[<b>-dumplayernames</b>]
</dt>
<dd>
dump all layer names found to standard output
<p>
</dd>
<dt>[<font class="optstyle">-layers</font><font class="argstyle"> string</font>]
</dt>
<dd>
layers to be shown (comma separated list of layer names, no space)
<p>
</dd>
<dt>[<font class="optstyle">-layerfilter</font><font class="argstyle"> string</font>]
</dt>
<dd>
layers to be hidden (comma separated list of layer names, no space)
<p>
</dd>
</dl>
<h5><a name="section_45">dxf_s - CAD exchange format with splines</a></h5>
<dl compact>
<dt>[<b>-polyaslines</b>]
</dt>
<dd>
use LINE instead of POLYLINE in DXF
<p>
</dd>
<dt>[<b>-mm</b>]
</dt>
<dd>
use mm coordinates instead of points in DXF (mm=pt/72*25.4)
<p>
</dd>
<dt>[<b>-ctl</b>]
</dt>
<dd>
map colors to layers
<p>
</dd>
<dt>[<b>-splineaspolyline</b>]
</dt>
<dd>
approximate splines with PolyLines (only for -f dxf_s)
<p>
</dd>
<dt>[<b>-splineasnurb</b>]
</dt>
<dd>
experimental (only for -f dxf_s)
<p>
</dd>
<dt>[<b>-splineasbspline</b>]
</dt>
<dd>
experimental (only for -f dxf_s)
<p>
</dd>
<dt>[<b>-splineassinglespline</b>]
</dt>
<dd>
experimental (only for -f dxf_s)
<p>
</dd>
<dt>[<b>-splineasmultispline</b>]
</dt>
<dd>
experimental (only for -f dxf_s)
<p>
</dd>
<dt>[<b>-splineasbezier</b>]
</dt>
<dd>
use Bezier splines in DXF format (only for -f dxf_s)
<p>
</dd>
<dt>[<font class="optstyle">-splineprecision</font><font class="argstyle"> number</font>]
</dt>
<dd>
number of samples to take from spline curve when doing approximation with -splineaspolyline or -splineasmultispline - should be >= 2 (default 5)
<p>
</dd>
<dt>[<b>-dumplayernames</b>]
</dt>
<dd>
dump all layer names found to standard output
<p>
</dd>
<dt>[<font class="optstyle">-layers</font><font class="argstyle"> string</font>]
</dt>
<dd>
layers to be shown (comma separated list of layer names, no space)
<p>
</dd>
<dt>[<font class="optstyle">-layerfilter</font><font class="argstyle"> string</font>]
</dt>
<dd>
layers to be hidden (comma separated list of layer names, no space)
<p>
</dd>
</dl>
<h5><a name="section_46">fig - .fig format for xfig</a></h5>
The xfig format driver supports special fontnames, which may be produced by using a fontmap file. The following types of names are supported : <br>
<pre>
General notation:
"Postscript Font Name" ((LaTeX|PostScript|empty)(::special)::)XFigFontName
Examples:
Helvetica LaTeX::SansSerif
Courier LaTeX::special::Typewriter
GillSans "AvantGarde Demi"
Albertus PostScript::special::"New Century Schoolbook Italic"
Symbol ::special::Symbol (same as Postscript::special::Symbol)
</pre>
See also the file examplefigmap.fmp in the misc directory of the pstoedit source distribution for an example font map file for xfig. Please note that the Fontname has to be among those supported by xfig. See - <a href ="http://www.xfig.org/userman/fig-format.html"><tt>http://www.xfig.org/userman/fig-format.html</tt></a>
for a list of legal font names
<p>
<dl compact>
<dt>[<font class="optstyle">-startdepth</font><font class="argstyle"> number</font>]
</dt>
<dd>
Set the initial depth (default 999)
<p>
</dd>
<dt>[<b>-metric</b>]
</dt>
<dd>
Switch to centimeter display (default inches)
<p>
</dd>
<dt>[<b>-usecorrectfontsize</b>]
</dt>
<dd>
don't scale fonts for xfig. Use this if you also use this option with xfig
<p>
</dd>
<dt>[<font class="optstyle">-depth</font><font class="argstyle"> number</font>]
</dt>
<dd>
Set the page depth in inches (default 11)
<p>
</dd>
</dl>
<h5><a name="section_47">xfig - .fig format for xfig</a></h5>
See fig format for more details.
<p>
<dl compact>
<dt>[<font class="optstyle">-startdepth</font><font class="argstyle"> number</font>]
</dt>
<dd>
Set the initial depth (default 999)
<p>
</dd>
<dt>[<b>-metric</b>]
</dt>
<dd>
Switch to centimeter display (default inches)
<p>
</dd>
<dt>[<b>-usecorrectfontsize</b>]
</dt>
<dd>
don't scale fonts for xfig. Use this if you also use this option with xfig
<p>
</dd>
<dt>[<font class="optstyle">-depth</font><font class="argstyle"> number</font>]
</dt>
<dd>
Set the page depth in inches (default 11)
<p>
</dd>
</dl>
<h5><a name="section_48">tfig - .fig format for xfig</a></h5>
Test only
<p>
<dl compact>
<dt>[<font class="optstyle">-startdepth</font><font class="argstyle"> number</font>]
</dt>
<dd>
Set the initial depth (default 999)
<p>
</dd>
<dt>[<b>-metric</b>]
</dt>
<dd>
Switch to centimeter display (default inches)
<p>
</dd>
<dt>[<b>-usecorrectfontsize</b>]
</dt>
<dd>
don't scale fonts for xfig. Use this if you also use this option with xfig
<p>
</dd>
<dt>[<font class="optstyle">-depth</font><font class="argstyle"> number</font>]
</dt>
<dd>
Set the page depth in inches (default 11)
<p>
</dd>
</dl>
<h5><a name="section_49">gcode - emc2 gcode format</a></h5>
See also: <a href ="http://linuxcnc.org/"><tt>http://linuxcnc.org/</tt></a>
<p>
No driver specific options
<h5><a name="section_50">gnuplot - gnuplot format</a></h5>
No driver specific options
<h5><a name="section_51">gschem - gschem format</a></h5>
See also: <a href ="http://www.geda.seul.org/tools/gschem/"><tt>http://www.geda.seul.org/tools/gschem/</tt></a>
<p>
No driver specific options
<h5><a name="section_52">idraw - Interviews draw format (EPS)</a></h5>
No driver specific options
<h5><a name="section_53">java1 - java 1 applet source code</a></h5>
<dl compact>
<dt>[<font class="optstyle">java class name</font><font class="argstyle"> string</font>]
</dt>
<dd>
name of java class to generate
<p>
</dd>
</dl>
<h5><a name="section_54">java2 - java 2 source code</a></h5>
<dl compact>
<dt>[<font class="optstyle">java class name</font><font class="argstyle"> string</font>]
</dt>
<dd>
name of java class to generate
<p>
</dd>
</dl>
<h5><a name="section_55">kil - .kil format for Kontour</a></h5>
No driver specific options
<h5><a name="section_56">latex2e - LaTeX2e picture format</a></h5>
<dl compact>
<dt>[<b>-integers</b>]
</dt>
<dd>
round all coordinates to the nearest integer
<p>
</dd>
</dl>
<h5><a name="section_57">lwo - LightWave 3D Object Format</a></h5>
No driver specific options
<h5><a name="section_58">mma - Mathematica Graphics</a></h5>
<dl compact>
<dt>[<b>-eofillfills</b>]
</dt>
<dd>
Filling is used for eofill (default is not to fill)
<p>
</dd>
</dl>
<h5><a name="section_59">mpost - MetaPost Format</a></h5>
No driver specific options
<h5><a name="section_60">noixml - Nemetschek NOI XML format</a></h5>
Nemetschek Object Interface XML format
<p>
<dl compact>
<dt>[<font class="optstyle">-r</font><font class="argstyle"> string</font>]
</dt>
<dd>
Allplan resource file
<p>
</dd>
<dt>[<font class="optstyle">-bsl</font><font class="argstyle"> number</font>]
</dt>
<dd>
Bezier Split Level (default 3)
<p>
</dd>
</dl>
<h5><a name="section_61">pcbi - engrave data - insulate/PCB format</a></h5>
See <a href ="http://home.vr-web.de/~hans-juergen-jahn/software/devpcb.html"><tt>http://home.vr-web.de/~hans-juergen-jahn/software/devpcb.html</tt></a>
for more details.
<p>
No driver specific options
<h5><a name="section_62">pcb - pcb format</a></h5>
See also: <a href ="http://pcb.sourceforge.net"><tt>http://pcb.sourceforge.net</tt></a>
and <a href ="http://www.penguin.cz/~utx/pstoedit-pcb/"><tt>http://www.penguin.cz/~utx/pstoedit-pcb/</tt></a>
<p>
<dl compact>
<dt>[<font class="optstyle">-grid</font><font class="argstyle"> missing arg name</font>]
</dt>
<dd>
attempt to snap relevant output to grid (mils) and put failed objects to a different layer
<p>
</dd>
<dt>[<font class="optstyle">-snapdist</font><font class="argstyle"> missing arg name</font>]
</dt>
<dd>
grid snap distance ratio (0 < snapdist <= 0.5, default 0.1)
<p>
</dd>
<dt>[<font class="optstyle">-tshiftx</font><font class="argstyle"> missing arg name</font>]
</dt>
<dd>
additional x shift measured in target units (mils)
<p>
</dd>
<dt>[<font class="optstyle">-tshifty</font><font class="argstyle"> missing arg name</font>]
</dt>
<dd>
additional y shift measured in target units (mils)
<p>
</dd>
<dt>[<font class="optstyle">-grid</font><font class="argstyle"> missing arg name</font>]
</dt>
<dd>
attempt to snap relevant output to grid (mils) and put failed objects to a different layer
<p>
</dd>
<dt>[<b>-mm</b>]
</dt>
<dd>
Switch to metric units (mm)
<p>
</dd>
<dt>[<b>-stdnames</b>]
</dt>
<dd>
use standard layer names instead of descriptive names
<p>
</dd>
<dt>[<b>-forcepoly</b>]
</dt>
<dd>
force all objects to be interpreted as polygons
<p>
</dd>
</dl>
<h5><a name="section_63">pcbfill - pcb format with fills</a></h5>
See also: <a href ="http://pcb.sourceforge.net"><tt>http://pcb.sourceforge.net</tt></a>
<p>
No driver specific options
<h5><a name="section_64">pdf - Adobe's Portable Document Format</a></h5>
No driver specific options
<h5><a name="section_65">pptx - PresentationML (PowerPoint) format</a></h5>
This is the format used internally by Microsoft PowerPoint. LibreOffice can also read/write PowerPoint files albeit with some lack of functionality.
<p>
<dl compact>
<dt>[<font class="optstyle">-colors</font><font class="argstyle"> string</font>]
</dt>
<dd>
"original" to retain original colors (default), "theme" to convert randomly to theme colors, or "theme-lum" also to vary luminance
<p>
</dd>
<dt>[<font class="optstyle">-fonts</font><font class="argstyle"> string</font>]
</dt>
<dd>
use "windows" fonts (default), "native" fonts, or convert to the "theme" font
<p>
</dd>
<dt>[<font class="optstyle">-embed</font><font class="argstyle"> string</font>]
</dt>
<dd>
embed fonts, specified as a comma-separated list of EOT-format font files
<p>
</dd>
</dl>
<h5><a name="section_66">rib - RenderMan Interface Bytestream</a></h5>
No driver specific options
<h5><a name="section_67">rpl - Real3D Programming Language Format</a></h5>
No driver specific options
<h5><a name="section_68">sample - sample driver: if you don't want to see this, uncomment the corresponding line in makefile and make again</a></h5>
this is a long description for the sample driver
<p>
<dl compact>
<dt>[<font class="optstyle">-sampleoption</font><font class="argstyle"> integer</font>]
</dt>
<dd>
just an example
<p>
</dd>
</dl>
<h5><a name="section_69">sk - Sketch Format</a></h5>
No driver specific options
<h5><a name="section_70">svm - StarView/OpenOffice.org metafile</a></h5>
StarView/OpenOffice.org metafile, readable from OpenOffice.org 1.0/StarOffice 6.0 and above.
<p>
<dl compact>
<dt>[<b>-m</b>]
</dt>
<dd>
map to Arial
<p>
</dd>
<dt>[<b>-nf</b>]
</dt>
<dd>
emulate narrow fonts
<p>
</dd>
</dl>
<h5><a name="section_71">text - text in different forms </a></h5>
<dl compact>
<dt>[<font class="optstyle">-height</font><font class="argstyle"> number</font>]
</dt>
<dd>
page height in terms of characters
<p>
</dd>
<dt>[<font class="optstyle">-width</font><font class="argstyle"> number</font>]
</dt>
<dd>
page width in terms of characters
<p>
</dd>
<dt>[<b>-dump</b>]
</dt>
<dd>
dump text pieces
<p>
</dd>
</dl>
<h5><a name="section_72">tgif - Tgif .obj format</a></h5>
<dl compact>
<dt>[<b>-ta</b>]
</dt>
<dd>
text as attribute
<p>
</dd>
</dl>
<h5><a name="section_73">tk - tk and/or tk applet source code</a></h5>
<dl compact>
<dt>[<b>-R</b>]
</dt>
<dd>
swap HW
<p>
</dd>
<dt>[<b>-I</b>]
</dt>
<dd>
no impress
<p>
</dd>
<dt>[<font class="optstyle">-n</font><font class="argstyle"> string</font>]
</dt>
<dd>
tagnames
<p>
</dd>
</dl>
<h5><a name="section_74">vtk - VTK driver: if you don't want to see this, uncomment the corresponding line in makefile and make again</a></h5>
this is a long description for the VTKe driver
<p>
<dl compact>
<dt>[<font class="optstyle">-VTKeoption</font><font class="argstyle"> integer</font>]
</dt>
<dd>
just an example
<p>
</dd>
</dl>
<h5><a name="section_75">wmf - Windows metafile</a></h5>
<dl compact>
<dt>[<b>-m</b>]
</dt>
<dd>
map to Arial
<p>
</dd>
<dt>[<b>-nf</b>]
</dt>
<dd>
emulate narrow fonts
<p>
</dd>
<dt>[<b>-drawbb</b>]
</dt>
<dd>
draw bounding box
<p>
</dd>
<dt>[<b>-p</b>]
</dt>
<dd>
prune line ends
<p>
</dd>
<dt>[<b>-nfw</b>]
</dt>
<dd>
Newer versions of Windows (2000, XP, Vista) will not accept WMF/EMF files generated when this option is set and the input contains Text. But if this option is not set, then the WMF/EMF driver will estimate interletter spacing of text using a very coarse heuristic. This may result in ugly looking output. On the other hand, OpenOffice can still read EMF/WMF files where pstoedit delegates the calculation of the inter letter spacing to the program reading the WMF/EMF file. So if the generated WMF/EMF file shall never be processed under Windows, use this option. If WMF/EMF files with high precision text need to be generated under *nix the only option is to use the -pta option of pstoedit. However that causes every text to be split into single characters which makes the text hard to edit afterwards. Hence the -nfw options provides a sort of compromise between portability and nice to edit but still nice looking text. Again - this option has no meaning when pstoedit is executed under Windows anyway. In that case the output is portable but nevertheless not split and still looks fine.
<p>
</dd>
<dt>[<b>-winbb</b>]
</dt>
<dd>
let the Windows API calculate the Bounding Box (Windows only)
<p>
</dd>
<dt>[<b>-OO</b>]
</dt>
<dd>
generate OpenOffice compatible EMF file
<p>
</dd>
</dl>
<h5><a name="section_76">emf - Enhanced Windows metafile</a></h5>
<dl compact>
<dt>[<b>-m</b>]
</dt>
<dd>
map to Arial
<p>
</dd>
<dt>[<b>-nf</b>]
</dt>
<dd>
emulate narrow fonts
<p>
</dd>
<dt>[<b>-drawbb</b>]
</dt>
<dd>
draw bounding box
<p>
</dd>
<dt>[<b>-p</b>]
</dt>
<dd>
prune line ends
<p>
</dd>
<dt>[<b>-nfw</b>]
</dt>
<dd>
Newer versions of Windows (2000, XP, Vista) will not accept WMF/EMF files generated when this option is set and the input contains Text. But if this option is not set, then the WMF/EMF driver will estimate interletter spacing of text using a very coarse heuristic. This may result in ugly looking output. On the other hand, OpenOffice can still read EMF/WMF files where pstoedit delegates the calculation of the inter letter spacing to the program reading the WMF/EMF file. So if the generated WMF/EMF file shall never be processed under Windows, use this option. If WMF/EMF files with high precision text need to be generated under *nix the only option is to use the -pta option of pstoedit. However that causes every text to be split into single characters which makes the text hard to edit afterwards. Hence the -nfw options provides a sort of compromise between portability and nice to edit but still nice looking text. Again - this option has no meaning when pstoedit is executed under Windows anyway. In that case the output is portable but nevertheless not split and still looks fine.
<p>
</dd>
<dt>[<b>-winbb</b>]
</dt>
<dd>
let the Windows API calculate the Bounding Box (Windows only)
<p>
</dd>
<dt>[<b>-OO</b>]
</dt>
<dd>
generate OpenOffice compatible EMF file
<p>
</dd>
</dl>
<p>
<h2><a name="section_77">NOTES</a></h2>
<p>
<h4><a name="section_78">autotrace</a></h4>
<p>
pstoedit cooperates with autotrace. Autotrace can now produce a dump file
for further processing by pstoedit using the <b>-bo</b>
(backend only) option.
Autotrace is a program written by a group around Martin Weber and can be
found at <a href ="http://sourceforge.net/projects/autotrace/"><tt>http://sourceforge.net/projects/autotrace/</tt></a>.
<p>
<h4><a name="section_79">Ps2ai</a></h4>
<p>
The ps2ai output format driver is not a native pstoedit output format driver. It does not use the
pstoedit postcript flattener, instead it uses the PostScript program
ps2ai.ps which is installed in the GhostScript distribution directory. It
is included to provide the same "look-and-feel" for the conversion to AI.
The additional benefit is that this conversion is now available also via
the "convert-to-vector" menu of Gsview. However, lot's of files don't
convert nicely or at all using ps2ai.ps. So a native pstoedit driver would
be much better. Anyone out there to take this? The AI format is usable for
example by Mayura Draw (<a href ="http://www.mayura.com"><tt>http://www.mayura.com</tt></a>).
Also a driver to the
Mayura native format would be nice.
<p>
An alternative to the ps2ai based driver is available via the -f plot:ai format if the libplot(ter) is installed.
<p>
You should use a version of GhostScript greater than or equal to 6.00 for using the ps2ai output format driver.
<p>
<h4><a name="section_80">MetaPost</a></h4>
<p>
Note that, as far as Scott knows, MetaPost does not support PostScript's
eofill. The metapost output format driver just converts eofill to fill, and issues a warning if
verbose is set. Fortunately, very few PostScript programs rely on the
even-odd fill rule, even though many specify it.
<p>
For more on MetaPost see:
<p>
<a href ="http://cm.bell-labs.com/who/hobby/MetaPost.html"><tt>http://cm.bell-labs.com/who/hobby/MetaPost.html</tt></a>
<p>
<h4><a name="section_81">Context Free - CFDG</a></h4>
The driver for the CFDG format (drvcfdg) defines
one shape per page of PostScript, but only the first shape is actually
rendered (unless the user edits the generated CFDG code, of course).
CFDG doesn't support multi-page output, so this probably a reasonable thing to do.
<p>
For more on Context Free see:
<a href ="http://www.contextfreeart.org/"><tt>http://www.contextfreeart.org/</tt></a>
<p>
<h4><a name="section_82">LaTeX2e</a></h4>
<p>
<ul compact>
<li>LaTeX2e's picture environment is not very powerful. As a result, many
elementary PostScript constructs are ignored -- fills, line
thicknesses (besides "thick" and "thin"), and dash patterns, to name a
few. Furthermore, complex pictures may overrun TeX's memory capacity.
<p>
</li>
<li>Some PostScript constructs are not supported directly by "picture",
but can be handled by external packages. If a figure uses color, the
top-level document will need to do a <tt>"\usepackage{color}"</tt>. And if a
figure contains rotated text, the top-level document will need to do a
<tt>"\usepackage{rotating}"</tt>.
<p>
</li>
<li>All lengths, coordinates, and font sizes output by the output format driver are in
terms of <tt>\unitlength</tt>, so scaling a figure is simply a matter of doing
a <tt>"\setlength{\unitlength}{...}"</tt>.
<p>
</li>
<li>The output format driver currently supports one output format driver specific option,
"integers", which rounds all lengths, coordinates, and font sizes to
the nearest integer. This makes hand-editing the picture a little
nicer.
<p>
</li>
<li>Why is this output format driver useful? One answer is portability; any LaTeX2e
system can handle the picture environment, even if it can't handle
PostScript graphics. (pdfLaTeX comes to mind here.) A second answer
is that pictures can be edited easily to contain any arbitrary LaTeX2e
code. For instance, the text in a figure can be modified to contain
complex mathematics, non-Latin alphabets, bibliographic citations, or
-- the real reason Scott wrote the LaTeX2e output format driver -- hyperlinks to the
surrounding document (with help from the hyperref package).
</li>
</ul>
<p>
<h4><a name="section_83">Creating a new output format driver</a></h4>
<p>
To implement a new output format driver you can start from <tt>drvsampl.cpp</tt>
and
<tt>drvsampl.h</tt>.
See also comments in <tt>drvbase.h</tt>
and
<tt>drvfuncs.h</tt>
for an explanation of methods that should be implemented
for a new output format driver.
<p>
<h2><a name="section_84">ENVIRONMENT VARIABLES</a></h2>
<p>
A default PostScript interpreter to be called by pstoedit is specified at
compile time. You can overwrite the default by setting the GS environment
variable to the name of a suitable PostScript interpreter.
<p>
You can check which name of a PostScript interpreter was compiled into
pstoedit using: <strong>pstoedit</strong>
<b>-help -v</b>.
<p>
See the GhostScript manual for descriptions of environment variables used by
Ghostscript most importantly <tt>GS_FONTPATH</tt> and <tt>GS_LIB</tt>; other
environment variables also affect output to display, print, and additional
filtering and processing. See the related documentation.
<p>
<tt>pstoedit</tt>
allocates temporary files using the function <font class="commandname">tempnam</font>(3).
Thus the location for temporary files might be controllable by other
environment variables used by this function. See the <font class="commandname">tempnam</font>(3)
manpage
for descriptions of environment variables used. On UNIX like system this is
probably the <tt>TMPDIR</tt> variable, on DOS/WINDOWS either <tt>TMP</tt> or
<tt>TEMP</tt>.
<p>
<h2><a name="section_85">TROUBLE SHOOTING</a></h2>
<p>
If you have problems with <tt>pstoedit</tt>
first try whether Ghostscript
successfully displays your file. If yes, then try
<strong>pstoedit</strong>
<b>-f ps</b>
<i>infile.ps</i>
<i>testfile.ps</i>
and check whether <i>testfile.ps</i>
still displays correctly using
Ghostscript. If this file doesn't look correctly then there seems to be a
problem with <tt>pstoedit</tt>'s
PostScript frontend. If this file looks good
but the output for a specific format is wrong, the problem is probably in
the output format driver for the specific format. In either case send bug fixes and
reports to the author.
<p>
A common problem with PostScript files is that the PostScript file redefines
one of the standard PostScript operators inconsistently. There is no effect
of this if you just print the file since the original PostScript "program"
uses these new operator in the new meaning and does not use the original
ones anymoew. However, when run under the control of pstoedit, these
operators are expected to work with the original semantics.
<p>
So far I've seen redefinitions for:
<p>
<ul compact>
<p>
<li>lt - "less-then" to mean "draw a line to"
</li>
<li>string - "create a string object" to mean "draw a string"
</li>
<li>length - "get the length of e.g. a string" to a "float constant"
<p>
</li>
</ul>
<p>
I've included work-arounds for the ones mentioned above, but some others
could show up in addition to those.
<p>
<h2><a name="section_86">RESTRICTIONS</a></h2>
<p>
<ul compact>
<li>Non-standard fonts (e.g. TeXbitmap fonts) are mapped to a default font which
can be changed using the <b>-df</b>
option. <tt>pstoedit</tt>
chooses the size of
the replacement font such that the width of the string in the original font is
the same as in the replacement font. This is done for each text fragment
displayed. Special character encoding support is limited in this case. If a
character cannot be mapped into the target format, pstoedit displays a '#'
instead. See also the -uchar option.
<p>
</li>
<li>pstoedit supports bitmap graphics only for some output format drivers.
<p>
</li>
<li>Some output format drivers, e.g. the Gnuplot output format driver or the 3D output format driver (rpl, lwo, rib) do not support text.
<p>
</li>
<li>For most output format drivers pstoedit does not support clipping (mainly due to limitations in the target format). You can try to use the
<b>-sclip</b>
option to simulate clipping. However, this doesn't work in all cases
as expected.
<p>
</li>
<li>Special note about the Java output format drivers (java1 and java2).
The java output format drivers generate a java source file that needs other files in
order to be compiled and usable. These other files are Java classes (one
applet and support classes) that allow to step through the individual pages
of a converted PostScript document. This applet can easily be activated from
a html-document. See the <tt>contrib/java/java1/readme_java1.txt</tt>
or
<tt>contrib/java/java2/readme_java2.htm</tt>
file for more details.
<p>
</li>
</ul>
<p>
<h2><a name="section_87">FAQs</a></h2>
<p>
<ol compact>
<li value =1>Why do letters like O or B get strange if converted to tgif/xfig
using the <b>-dt</b>
option?
<p>
This is because most output format drivers don't support composite paths with
intermediate gaps (moveto's) and second don't support very well the (eo)fill
operators of PostScript (winding rule). For such objects <tt>pstoedit</tt>
breaks
them into smaller objects whenever such a gap is found. This results in the
"hole" beeing filled with black color instead of beeing transparent. Since
version 3.11 you can try the <b>-ssp</b>
option in combination with the xfig
output format driver.
<p>
</li>
<li value =2>Why does pstoedit produce ugly results from PostScript files generated
by dvips?
<p>
TeX documents usually use bitmap fonts. Such fonts cannot be used as native
font in other format. So pstoedit replaces the TeX font with another native
font. Of course, the replacement font will in most cases produce another
look, especially if mathematical symbols are used.
Try to use PostScript fonts instead of the bitmap fonts when generating a PostScript file from TeX or LaTeX.
<p>
</li>
</ol>
<p>
<h2><a name="section_88">AUTHOR</a></h2>
<p>
Wolfgang Glunz, <a href ="mailto:wglunz35_AT_pstoedit.net"><tt>wglunz35_AT_pstoedit.net</tt></a>,
<a href ="http://de.linkedin.com/in/wolfgangglunz"><tt>http://de.linkedin.com/in/wolfgangglunz</tt></a>
<p>
<h2><a name="section_89">CANONICAL ARCHIVE SITE</a></h2>
<p>
<a href ="http://www.pstoedit.net/pstoedit/"><tt>http://www.pstoedit.net/pstoedit/</tt></a>
<p>
At this site you also find more information about <tt>pstoedit</tt>
and related
programs and hints how to subscribe to a mailing list in order to get informed
about new releases and bug-fixes.
<p>
If you like pstoedit - please express so also at Facebook <a href ="http://www.facebook.com/pages/pstoedit/260606183958062"><tt>http://www.facebook.com/pages/pstoedit/260606183958062</tt></a>.
<p>
<h2><a name="section_90">ACKNOWLEDGEMENTS</a></h2>
<p>
<ul compact>
<p>
<li>Klaus Steinberger <a href ="mailto:Klaus.Steinberger_AT_physik.uni-muenchen.de"><tt>Klaus.Steinberger_AT_physik.uni-muenchen.de</tt></a>
wrote the initial version of this manpage.
<p>
</li>
<li>Lar Kaufman revised the increasingly complex
command syntax diagrams and updated the structure and content of this
manpage following release 2.5.
<p>
</li>
<li>David B. Rosen <a href ="mailto:rosen_AT_unr.edu"><tt>rosen_AT_unr.edu</tt></a> provided ideas and some PostScript
code from his ps2aplot program.
<p>
</li>
<li>Ian MacPhedran <a href ="mailto:Ian_MacPhedran_AT_engr.USask.CA"><tt>Ian_MacPhedran_AT_engr.USask.CA</tt></a> provided the xfig
output format driver.
<p>
</li>
<li>Carsten Hammer <a href ="mailto:chammer_AT_hermes.hrz.uni-bielefeld.de"><tt>chammer_AT_hermes.hrz.uni-bielefeld.de</tt></a> provided the
gnuplot output format driver and the initial DXF output format driver.
<p>
</li>
<li>Christoph Jaeschke provided the OS/2 metafile (MET) output format driver.
Thomas Hoffmann <a href ="mailto:thoffman_AT_zappa.sax.de"><tt>thoffman_AT_zappa.sax.de</tt></a>
did some further updates on the OS/2 part.
<p>
</li>
<li>Jens Weber <a href ="mailto:rz47b7_AT_PostAG.DE"><tt>rz47b7_AT_PostAG.DE</tt></a> provided the Windows metafile (WMF)
output format driver, and a graphical user interface (GUI).
<p>
</li>
<li>G. Edward Johnson <a href ="mailto:lorax_AT_nist.gov"><tt>lorax_AT_nist.gov</tt></a> provided the CGM Draw library
used in the CGM output format driver.
<p>
</li>
<li>Gerhard Kircher <a href ="mailto:kircher_AT_edvz.tuwien.ac.at"><tt>kircher_AT_edvz.tuwien.ac.at</tt></a> provided some bug
fixes.
<p>
</li>
<li>Bill Cheng <a href ="mailto:bill.cheng_AT_acm.org"><tt>bill.cheng_AT_acm.org</tt></a> provided help with the tgif
format and some changes to tgif to make the output format driver easier to implement.
<a href ="http://bourbon.usc.edu:8001/"><tt>http://bourbon.usc.edu:8001/</tt></a>
<p>
</li>
<li>Reini Urban <a href ="mailto:rurban_AT_sbox.tu-graz.ac.at"><tt>rurban_AT_sbox.tu-graz.ac.at</tt></a> provided input for the
extended DXF output format driver.(<a href ="http://autocad.xarch.at/"><tt>http://autocad.xarch.at/</tt></a>)
<p>
</li>
<li>Glenn M. Lewis <a href ="mailto:glenn_AT_gmlewis.com"><tt>glenn_AT_gmlewis.com</tt></a> provided RenderMan (RIB),
Real3D (RPL), and LightWave 3D (LWO) output format drivers.
(<a href ="http://www.gmlewis.com/"><tt>http://www.gmlewis.com/</tt></a>)
<p>
</li>
<li>Piet van Oostrum <a href ="mailto:piet_AT_cs.ruu.nl"><tt>piet_AT_cs.ruu.nl</tt></a> made several bug fixes.
<p>
</li>
<li>Lutz Vieweg <a href ="mailto:lkv_AT_mania.robin.de"><tt>lkv_AT_mania.robin.de</tt></a> provided several bug fixes and
suggestions for improvements.
<p>
</li>
<li>Derek B. Noonburg <a href ="mailto:derekn_AT_vw.ece.cmu.edu"><tt>derekn_AT_vw.ece.cmu.edu</tt></a> and Rainer Dorsch
<a href ="mailto:rd_AT_berlepsch.wohnheim.uni-ulm.de"><tt>rd_AT_berlepsch.wohnheim.uni-ulm.de</tt></a>
isolated and resolved a
Linux-specific core dump problem.
<p>
</li>
<li>Rob Warner <a href ="mailto:rcw2_AT_ukc.ac.uk"><tt>rcw2_AT_ukc.ac.uk</tt></a> made pstoedit compile under RiscOS.
<p>
</li>
<li>Patrick Gosling <a href ="mailto:jpmg_AT_eng.cam.ac.uk"><tt>jpmg_AT_eng.cam.ac.uk</tt></a> made some suggestions
regarding the usage of pstoedit in Ghostscript's SAFER mode.
<p>
</li>
<li>Scott Pakin <a href ="mailto:scott+ps2ed_AT_pakin.org"><tt>scott+ps2ed_AT_pakin.org</tt></a> for the Idraw output format driver and the
autoconf support.
<p>
</li>
<li>Peter Katzmann <a href ="mailto:p.katzmann_AT_thiesen.com"><tt>p.katzmann_AT_thiesen.com</tt></a> for the HPGL output format driver.
<p>
</li>
<li>Chris Cox <a href ="mailto:ccox_AT_airmail.net"><tt>ccox_AT_airmail.net</tt></a> contributed the Tcl/Tk output format driver.
<p>
</li>
<li>Thorsten Behrens <a href ="mailto:Thorsten_Behrens_AT_public.uni-hamburg.de"><tt>Thorsten_Behrens_AT_public.uni-hamburg.de</tt></a> and
Bjoern Petersen for reworking the WMF output format driver.
<p>
</li>
<li>Leszek Piotrowicz <a href ="mailto:leszek_AT_sopot.rodan.pl"><tt>leszek_AT_sopot.rodan.pl</tt></a> implemented the image
support for the xfig driver and a JAVA based GUI.
<p>
</li>
<li>Egil Kvaleberg <a href ="mailto:egil_AT_kvaleberg.no"><tt>egil_AT_kvaleberg.no</tt></a> contributed the pic output format driver.
<p>
</li>
<li>Kai-Uwe Sattler <a href ="mailto:kus_AT_iti.cs.uni-magdeburg.de"><tt>kus_AT_iti.cs.uni-magdeburg.de</tt></a> implemented the
output format driver for Kontour.
<p>
</li>
<li>Scott Pakin, <a href ="mailto:scott+ps2ed_AT_pakin.org"><tt>scott+ps2ed_AT_pakin.org</tt></a> provided the MetaPost and LaTeX2e and PowerPoint output format driver.
<p>
</li>
<li>The PowerPoint driver uses the libzip library - <a href ="http://www.nih.at/libzip"><tt>http://www.nih.at/libzip</tt></a>. Under Windows, this library is linked into the provided binary statically. Thanks to the whole libzip team.
<p>
</li>
<li>Burkhard Plaum <a href ="mailto:plaum_AT_IPF.Uni-Stuttgart.de"><tt>plaum_AT_IPF.Uni-Stuttgart.de</tt></a> added support for
complex filled paths for the xfig output format driver.
<p>
</li>
<li>Bernhard Herzog <a href ="mailto:herzog_AT_online.de"><tt>herzog_AT_online.de</tt></a> contributed the output format driver for
sketch ( <a href ="http://www.skencil.org/"><tt>http://www.skencil.org/</tt></a>
)
<p>
</li>
<li>Rolf Niepraschk (<a href ="mailto:niepraschk_AT_ptb.de"><tt>niepraschk_AT_ptb.de</tt></a>) converted the HTML man page
to LaTeX. This allows to generate the UNIX style and the HTML manual from this
base format.
<p>
</li>
<li>Several others sent smaller bug fixed and bug reports. Sorry if I don't
mention them all here.
<p>
</li>
<li>Gisbert W. Selke (<a href ="mailto:gisbert_AT_tapirsoft.de"><tt>gisbert_AT_tapirsoft.de</tt></a>) for the Java 2 output format driver.
<p>
</li>
<li>Robert S. Maier (<a href ="mailto:rsm_AT_math.arizona.edu"><tt>rsm_AT_math.arizona.edu</tt></a>) for many improvements on
the libplot output format driver and for libplot itself.
</li>
<li>The authors of pstotext (<a href ="mailto:mcjones_AT_pa.dec.com"><tt>mcjones_AT_pa.dec.com</tt></a> and <a href ="mailto:birrell_AT_pa.dec.com"><tt>birrell_AT_pa.dec.com</tt></a>)
for giving me the permission to use their simple PostScript code for
performing rotation.
</li>
<li>Daniel Gehriger <a href ="mailto:gehriger_AT_linkcad.com"><tt>gehriger_AT_linkcad.com</tt></a> for his help concerning the handling of Splines in the DXF format.
</li>
<li>Allen Barnett <a href ="mailto:libemf_AT_lignumcomputing.com"><tt>libemf_AT_lignumcomputing.com</tt></a> for his work on the libEMF which allows to create WMF/EMF files under *nix systems.
</li>
<li>Dave <a href ="mailto:dave_AT_opaque.net"><tt>dave_AT_opaque.net</tt></a> for providing the libming which is a multiplatform library for generating SWF files.
</li>
<li>Masatake Yamoto for the introduction of autoconf, automake and libtool into pstoedit
</li>
<li>Bob Friesenhahn for his help and the building of the Magick++ API to ImageMagick.
</li>
<li>But most important: Peter Deutsch <a href ="mailto:ghost_AT_aladdin.com"><tt>ghost_AT_aladdin.com</tt></a> and Russell
Lang <a href ="mailto:gsview_AT_ghostgum.com.au"><tt>gsview_AT_ghostgum.com.au</tt></a>
for their help and answers regarding
GhostScript and gsview.
<p>
</li>
</ul>
<p>
<h2><a name="section_91">LEGAL NOTICES</a></h2>
<p>
Trademarks mentioned are the property of their respective owners.
<p>
Some code incorporated in the pstoedit package is subject to copyright or
other intellectual property rights or restrictions including attribution
rights. See the notes in individual files.
<p>
<tt>pstoedit</tt>
is controlled under the Free Software Foundation GNU Public
License (GPL). However, this does not apply to importps and the additional
plugins.
<p>
Aladdin Ghostscript is a redistributable software package with copyright
restrictions controlled by Aladdin Software.
<p>
<tt>pstoedit</tt>
has no other relation to Ghostscript besides calling it in a
subprocess.
<p>
The authors, contributors, and distributors of pstoedit are not responsible
for its use for any purpose, or for the results generated thereby.
<p>
Restrictions such as the foregoing may apply in other countries according to
international conventions and agreements.
<p>
</body>
</html>
<!-- NOTE: This file is generated, DO NOT EDIT. -->
|