Tejet, gyumolcsot, randomszamot csak minosegi forrasbol.
Milk, fruit, random number: only from quality source!
Tuesday, February 17, 2009
Monday, February 9, 2009
Ghostscript Font alignment problems
We use Ghostscript for creating PDF documents, it is a much cheaper solution than buying special printer drivers, Adobe Distiller or any other. We changed Distiller for Ghostscript because of many reasons, but first of all bugs and control problems from other soft. But this is a different story.
Ghostscript uses free URW fonts for PDF creating and as we found out, theese fonts are buggy! As there won't be soon any update, we had to find another solution. We convert postscript (ps) files to PDF, so the solution was to embed the used font in the postscript instead of using the built in fonts.
In windows: printer preferences -> TrueType font: Download as SoftFont
From C/C++ set PRINTER_INFO_2 pDevMode->dmTTOption = DMTT_DOWNLOAD;
Good luck
Ghostscript uses free URW fonts for PDF creating and as we found out, theese fonts are buggy! As there won't be soon any update, we had to find another solution. We convert postscript (ps) files to PDF, so the solution was to embed the used font in the postscript instead of using the built in fonts.
In windows: printer preferences -> TrueType font: Download as SoftFont
From C/C++ set PRINTER_INFO_2 pDevMode->dmTTOption = DMTT_DOWNLOAD;
Good luck
Labels:
adobe,
Degree,
Distiller,
Font,
Ghostscript,
kung-foo,
pdf,
postscript,
Sign
Tuesday, February 3, 2009
Zazriva
A place in Slovakia where we spent a weekend, beautiful place with hills, mountains, valleys, skiing... Actually the weather was not the best, cloudy and the snow was melting. That's why I did not make many pictures of the nature, but here is one, you can find a lot more on internet, UTFG.

We were not looking for geocaches because of the weather and the hangover :) It was a great party :D

We were not looking for geocaches because of the weather and the hangover :) It was a great party :D
Subscribe to:
Posts (Atom)