Archiv für Kategorie Technik

Ordentliche Apache config

Wer kennt das nicht? Eine Apache config die über Jahre “gepflegt” wurde und eigentlich nicht mehr lesbar ist. Aber es gibt ja nichts wofür Perl keine Lösung hätte.

Keine Kommentare

QtOctave 0.10.1 for Windows

Hi,

I’ve just finished the build for windows. Feel free to download it.

I recognized some problems on my Win XP machine and rebuild it. The link stays the same.

For the interested audience, I’ve uploaded my changes to the code.

32 Kommentare

Poppler-utils 0.15 for Windows binary

I made a build of the poppler-utils-0.15 on Windows. I needed a newer version of pdftops, the one from the xpdf binaries was to old…

The build works on my machine, I hope it does on others as well. Feel free to try it.

8 Kommentare

PDFs mit OpenSource optimieren

Nicht jeder hat eine Adobe Acrobat Professional Lizenz und noch weniger hat man unbedingt ein Betriebssystem auf dem der Acrobat läuft. Deshalb habe ich nach einer Möglichkeit gesucht um mit Open Source Software PDFs zu optimieren, also die Dateigröße durch Neuberechnung von Bildern und Kompression zu verkleinern.
Und ich bin auch fündig geworden. Mit der Kombination xpdf und ghostscript lässt sich das bewerkstelligen.

Ich habe ein kleines Script für Windows zusammengebaut bei dem man nur die Pfade anpassen muss:

set xpdf="X:\Path\to\xpdf"
set ghostscript="X:\Path\to\ghostscript\bin"
set suffix="_opt.pdf"
%xpdf%\pdftops.exe -paper match -level3 hsq.pdf tmp.ps
%ghostscript%\gswin32c.exe -sDEVICE=pdfwrite -dPDFSETTINGS=/ebook -dColorConversionStrategy=/LeaveColorUnchanged -dBATCH -dNOPAUSE -sOutputFile=hsq.pdf%suffix% tmp.ps
del tmp.ps

Das ganze geht natürlich auch unter Linux/Mac sofern xpdf und ghostscript installiert sind:

suffix="_opt.pdf"
pdftops -paper match -level3 hsq.pdf tmp.ps
gs -sDEVICE=pdfwrite -dPDFSETTINGS=/ebook -dColorConversionStrategy=/LeaveColorUnchanged -dBATCH -dNOPAUSE -sOutputFile=hsq.pdf$suffix tmp.ps
rm tmp.ps

Je aktueller die jeweiligen Versionen sind um so besser sieht das Ergebnis aus. Ist zumindest meine Erfahrung.

2 Kommentare

QtOctave 0.9.1 Win32 Bugfix

To version 0.10.1.

I found a bug in my windows version.  So I patched the source, to fix it.
The problem was, that qtoctave changes it’s own cwd when a file is loaded, and then the share directory isn’t in place anymore.

A fresh build of qtoctave-win32-0.9.1-2 qtoctave-win32-0.9.1-3

The new version qtoctave-win32-0.10.1 should fix these problems.

[Update]
Thx Dan for the report. I forgot a “\\”+ in octave_connection.cpp line 118. I uploaded version 0.9.1-3.

42 Kommentare