Showing posts with label libspectre. Show all posts
Showing posts with label libspectre. Show all posts

Tuesday, May 07, 2013

gs 9.07 can't render ps files on comma-locales [fixed]

Okular and other libspectre based PostScript viewers can't render some ps files when using a locale that uses , instead of . for decimals.

This happens because of a bug in ghostscript 9.07 that has now been fixed.

I'm not a huge fan of distro-patches myself, but in this case it may make sense to have one, so feel free to ping your distribution if you are a PostScript user.

Saturday, February 02, 2008

Okular and libspectre

Since KDE 4.0 okular has been using libspectre to render PS files. Due to libspectre being too new we decided to package it inside okular sources in the KDE 4.0.x tree. That has been corrected in trunk because everyone knows having other libraries inside your own source tree sucks, so for now on you need libspectre to get PS support on okular. The downside of that is that i could only find Debian and Pardus libspectre packages, so go to your distro and file a bug and tell them to package libspectre.

Thursday, January 03, 2008

libspectre 0.2.0 now available

A new libspectre release is now available from http://libspectre.freedesktop.org/releases/libspectre-0.2.0.tar.gz

That means more work for when KDE 4.1 branch opens, damn!

Changes since libspectre 0.1.0
==================================

API additions:

- Rendering unstructured documents: it's a bit confusing calling
get_page for a document with no pages. The following functions has
been added for rendering unstructured documents:

* spectre_document_render
* spectre_document_render_full
* spectre_document_get_page_size

- Tile rendering: spectre_page_render_slice has been added to allow
rendering rectangles of the page. (Bug #13754)

API changes:

- spectre_render_context_set_page_size determines the size of the
output image, but it doesn't affect the scale factor anymore.

- spectre_render_context_[set|get]_scale now require the scale factor for
both the X and Y dimensions.