Autor Beitrag
Jakob_Ullmann
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1747
Erhaltene Danke: 15

Win 7, *Ubuntu GNU/Linux*
*Anjuta* (C, C++, Python), Geany (Vala), Lazarus (Pascal), Eclipse (Java)
BeitragVerfasst: Di 13.10.09 12:42 
Hallo!

Folgende Situation: Ich habe ein Programm (BKChem), welches Strukturformeln zeichnet. Diese kann ich aber bloß als SVG oder PNG oder PDF oder Postscript konvertieren (und ODG). MS Office kann aber bei Vektorgrafik nur EMF (Enhanced Metafile), WMF (Windows Metafile) oder EPS lesen. Letzteres habe ich noch nicht probiert, ich weiß lediglich, dass ein entsprechender Eintrag im Grafik-Menü existiert. Sämtliche Inkscape-Exporte sind aber für Word nicht öffenbar (LaTeX akzeptiert sie dagegen problemlos). Jetzt gibt es ne Probleme:

- Der EMF-Export von Inkscape ist SCH...lecht
- Beim PNG-Export von BKChem wird die Schrift nicht skaliert
- Und Microsoft kann *warumauchimmer* kein SVG lesen
- OpenOffice kann zwar EMF exportieren, allerdings mit deutlichem Qualitätsverlust: Linien werden zu Mini-Keilen.

Ich bräuchte also einen guten Exporter SVG-EMF. Kennt jemand einen?
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Di 13.10.09 12:51 
Ich empfehl dir an der Stelle die Nutzung von EPS (Encapsulated PostScript). Das ist am portabelsten und liefert eigentlich ganz brauchbare Resultate.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Jakob_Ullmann Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1747
Erhaltene Danke: 15

Win 7, *Ubuntu GNU/Linux*
*Anjuta* (C, C++, Python), Geany (Vala), Lazarus (Pascal), Eclipse (Java)
BeitragVerfasst: Di 13.10.09 12:57 
Aber einen EPS-Export bietet BKChem nicht und sowohl die EPS- alsauch die EMF-Exporte von Inkscape sind nicht zu gebrauchen.

Wenn du jetzt also noch ein Programm kennst, dass beispielsweise SVG oder PS in EPS oder EMF umwandelt, wäre das absolute Spitze. Denn soweit ich weiß, sind EPS und PS ja nicht kompatibel, oder??

EDIT: Notlösung wäre halt, dass ich mit Inkscape ein Riesen-PNG exportiere. Aber eine schöne Lösung ist das nicht gerade.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Di 13.10.09 13:03 
Gegenüber PS hat EPS noch eine Boundingbox; ansonsten sind die IIRC identisch.

Konvertieren geht z.B. mit GhostScript recht gut (Oder GUI: GSview).

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Jakob_Ullmann Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1747
Erhaltene Danke: 15

Win 7, *Ubuntu GNU/Linux*
*Anjuta* (C, C++, Python), Geany (Vala), Lazarus (Pascal), Eclipse (Java)
BeitragVerfasst: Di 13.10.09 14:21 
Da ich GostScript zwar installiert, jedoch nie selbst damit gearbeitet habe, werde ich mir GSview mal ansehen. Danke!