[Scribus] A sample script

Craig Ringer craig
Wed Dec 15 07:15:58 CET 2004

On Tue, 2004-12-14 at 22:39, kobuswolf wrote:

> Also for the scripters amoung you I have run into a few snags, like
> determining the size of a picture and font sizes (length of text in
> mm)

Determining the width of a given string in a given font is a known issue
- I've been meaning to have a go at writing a function to do it for
ages, but haven't yet had the time to read the (huge) amount of core
Scribus code required to figure out where and how to implement it.

If by determining the size of a picture you mean getting the pixel
dimensions or the suggested width/height/resolution of the actual image,
that's a good point. It would be useful in the scripter ... just a
matter of time to code it.

Craig Ringer

More information about the scribus mailing list