[scribus] updating positions by editing positions

Gregory Pittman gpittman at iglou.com
Tue Oct 30 00:32:42 UTC 2018


On 10/29/18 7:12 PM, Gary Dale wrote:
> One of the things I hate about Scribus is that it seems to duplicate styles on a whim. In one document I'm currently working on, it created 40 copies of the styles. One of the things I like about it is that I can fix this with a text editor by removing the duplicated styles directly then saving the file. This is a lot faster than removing them using the style delete dialogue.
> 
> I have a document that I need to make multiple changes to the positions and widths of numerous text objects - the same changes for each of hundreds of objects that I could presumably do directly by editing the .sla file. However when I look at the object positions, the numbers don't make sense.
> 
> For example, a 136mm x 7mm text object that is located 9mm from the left margin and 7mm from the top of the page shows as XPOS="125.512611023622" YPOS="1343.85051968504" WIDTH="385.511811023622" HEIGHT="19.8425196850394".
> 
> Another 24mm x 28mm object 5mm lower shows as XPOS="125.512611023622" YPOS="1358.0237480315" WIDTH="68.0314960629921" HEIGHT="79.3700787401575".
> 
> From the width & height, and the offset for the second object, it appears that the internal unit is around 0.3mm but where do the XPOS and YPOS numbers come from?
> 

I'm not sure why, but it looks like these numbers are points, and are referenced to the canvas -- the space around the document.

Greg




More information about the scribus mailing list