Recent posts

#1
PDF Generation / Re: Fractional font sizes are ...
Last post by Andrew Leach - November 08, 2025, 07:07:01 PM
You'll see from those examples that with Remembrance Sunday being this weekend, time was rather of the essence today! Thanks for testing for a second opinion. It was a bit of a surprise and it's good that it's not a general thing. I'll try and prepare a minimal test case.
#2
PDF Generation / Re: Fractional font sizes are ...
Last post by a.l.e - November 08, 2025, 06:31:33 PM
Cannot reproduce.

I've created a text with 12 pt and, on the same line a text with 12.9 pt.
Then put a line aligned with the highest point of the 12.9 pt text.

The attached PDF seems to respect the fractional font size.

fractional-font-size.png

Do you have a sample .sla (with the font!) and .pdf that show the problem?
#3
PDF Generation / Fractional font sizes are redu...
Last post by Andrew Leach - November 08, 2025, 12:22:41 PM
Scribus 1.6.4 on Windows 11

When creating a PDF, it appears that styles which have fractional sizes (say 8.8pt) are reduced to an integer value (8pt). But line spacing and character spacing remains the same, meaning that characters appear to be spaced out. See images.

This happens with two different versions of gswin64c.exe, but it does not happen if I print using a PDF printer driver — even one using gswin64c.exe. I've just upgraded from 1.5.8 [so can't go back  :( ] but at least PDF "printing" works.

In the scanned images here, the one with closer tracking is correct. You can also see that the small acknowledgement text is unchanged: this has an integer size (6pt).

Given that everything was fine in v1.5.8 and is OK with PDF printer drivers, it looks like this is caused by something in v1.6.4. Is there anything I can do to get it right?
#4
General Discussion / Re: (Auto) Font-Size to match ...
Last post by prcek - November 07, 2025, 08:56:10 PM
I've seen a script doing it somewhere recently.
Basically it was increasing the font until text frame was overflowing and then decreased the font until it was not. I think a magic constant was there, for a corner case.

I agree with a.l.e it is not a greatest idea.
#5
Layout Issues / Re: Opening on 2nd PC failed
Last post by prcek - November 07, 2025, 08:52:26 PM
WRT images. Save project as uncompressed and you can open *.sla in a text editor - it is a XML data - and check how are paths to images stored. - search for "PFILE" text, at least in 1.6.4 it is name of attribute. I've hit this problem when on one of my computer the folder was a symlink.
#6
Layout Issues / Re: Opening on 2nd PC failed
Last post by juergo - November 07, 2025, 07:08:01 PM
i see alle the text "mit texteditor bearbeiten" but no text is visible in the textfield in scribus

the shapes are not visible on pc2 only the placeholders

i removed all pictures on pc1 and saved sla file again.
on pc2 when i load a picture in the empty imageframe the picture is not shown.
only when i add a new image frame and load a picture, the picture is shown
#7
Layout Issues / Re: Opening on 2nd PC failed
Last post by utnik - November 07, 2025, 06:14:23 PM
Quote from: Nermander on November 07, 2025, 04:29:43 PM...Scribus unfortunately uses absolute paths...
this is not my experience. (...and i just checked it with scribus 1.6.4 on mac os 26.0.1.) as long as the images are on the same volume as the .sla file i see relative paths.
under 'extras' → 'manage images' scribus shows the absolute path. but that's not what is stored in the file. take a look at the code an you will find a relative path.
if the folder '/fotos' is managed by the operating system, it might have another name or another path 'under the hood' than the one the user sees.
(on my computer there is a standard folder called 'bilder'. but in the console its path says '/users/my username/pictures'...)

but as long as the relative path is the same, scribus should find the images.

utnik
#8
Layout Issues / Re: Opening on 2nd PC failed
Last post by Nermander - November 07, 2025, 04:29:43 PM
For the text, it looks as if all text frames are overflowing. Do the two PCs have the same fonts?

You can easily check this by opening the text frames in the story editor and see if the text is there.

For the images, Scribus unfortunately uses absolute paths, so if you for example have different user names on the two PCs it may fail to locate the images (there is a picture manager to help with that situation though).
#9
Layout Issues / Opening on 2nd PC failed
Last post by juergo - November 07, 2025, 03:23:02 PM
hi,

i have on both pcs windows11 scribus 1.7.1 svn installed

when i open my sla file on 2nd pc i get no pictures and no text.

all pictures are in same folder /fotos where sla file is suited.

thank you for help!


#10
Beginner Talk / Re: Automatic Contour wrap
Last post by a.l.e - November 06, 2025, 06:11:02 PM
Voilà, after having struggled a bit to get a few "strange" things to work, now I have:

  • A new Scripter command setObjectContour()
  • A script that uses it to apply a contour line that it has detected with OpenCV!

contour-line-in-scribus.gif

During the weekend, I will need to do some cleanup, publish the patch for Scribus and publish the script!