Recent Posts

Pages: 1 2 3 4 5 6 7 [8] 9 10
71
I knew I'd seen it someplace else as well.  In LibreOffice you can choose wrap with no special functions and it just does above and below.  I'm using Scribus 1.4.8 and it does not have a simple way of doing it.  It would not be fun if you had a whole ton of images in a document.
I must be thining about LO as well as i've not used pagestream in 15-20 years.


Joop
 Another usful solution but not as elegant as a operation to apply.
Time to pester the developers with a suggestion to add this to scribus.
72
I have made pre formatted frames. If I want to insert a picture then I copy the frame from the pre formatted frame to my working document. It is a group, above the picture a text frame and below the picture a text frame. You can use those for comments or a picture title or leave them empty. The other task is that the text in the article is not end just above the picture or start just at the bottom line of the picture, there need to be some white between the two. The group, text and image frames are the same wide as the column or the page. Ungroup, insert the image, size it to the frame and insert if wanted some text above or below. As you have a copy  in the buffer, past it on the right place and you can go on. As it is the same width as or you page or the columns you don't have issues like your question. But this is my way of working, you have  to find your setup and stick to it.
73
In the meantime I have programmed the desired solution.

It works like intended. I have added the functionality to start calendar creation at any desired month (f.ex. to make a calendar starting Juli 2023 until June 2024). Still there are some restrictions (only DIN A3 landscape orientation and no good input routine) so some work still has to be done.
If someone is interested I'll post my solution here when it's 'presentable'.

Stephan
74
I knew I'd seen it someplace else as well.  In LibreOffice you can choose wrap with no special functions and it just does above and below.  I'm using Scribus 1.4.8 and it does not have a simple way of doing it.  It would not be fun if you had a whole ton of images in a document.
75
I know about the contour line, an tedious process if you have a many images/graphics  to do. I thought there was a simple option that would do that for you and had gone missing.
ah it was from another dtp program
https://www.pagestream.org/?action=Documents&id=794
76
Use contour line, and drag it out to either side of the text.
77
Thought I saw this option available, perhaps i'm thinking of another program. Is there an quick way to flow text around an image, top and bottom only, not on either side?
78
PDF Generation / Re: Custom font problem with pdf generated by CLI and python
« Last post by zacl on January 07, 2023, 01:51:30 am »
I managed to embed font  ;D
I pass the name of the font in "pdf.subsetList" (not yet documented) instead of "pdf.fonts" and it worked!

SubsetList code here : https://github.com/scribusproject/scribus/blob/185141911977459c2399b96480f1345f1ff7fd44/scribus/plugins/scriptplugin/objpdffile.cpp#L1398

Code: [Select]
import os
import scribus

if scribus.haveDoc() :
    filename = os.path.splitext(scribus.getDocName())[0]
    pdf = scribus.PDFfile()
    #pdf.fonts = ["emoji Regular"]
    pdf.subsetList = ["emoji Regular","Middara Regular"]
    pdf.file = filename+"-direct.pdf"
    pdf.save()
   
else :
    print("No file open")

Bug Report submited https://bugs.scribus.net/view.php?id=16885
79
PDF Generation / Re: Custom font problem with pdf generated by CLI and python
« Last post by zacl on January 06, 2023, 10:57:26 pm »
So, in the end, only "subset part " is usefull to succesfully export to pdf.

To generate them in the sla file :
  • I manually open the file and export to pdf with embed/subset
  • I save and close the file (subsets are written in sla file)

After that I can call the script to-pdf.py to generate a pdf with font embeded.

I will open a bug report cause it must embed font directly. PDF().fonts methods must be usefull to declare subset but I didn't managed to make it work
80
PDF Generation / Re: Custom font problem with pdf generated by CLI and python
« Last post by zacl on January 06, 2023, 09:00:17 pm »
I have found a solution with a kind of "black magic" manipulation of the file 8)

It is not automated because I have to manually configure and save the file once between 2 call of PDF generation script  ???
So my case this case is not solved but it can indicate a configuration or setup needed for it to work.

I reproduced this procedure with a new file that contain only the dice character using emoji font.
Using my trick I noticed a modification in the sla at 'PDF' part.
  • FirstUse is set to 0
  • Subset of font are added
  • An unamed color appeared ?


After that the automatic generation works

Part of the modifcated code :
Code: [Select]
<PDF firstUse="0" ...>
            <Subset Name="Arial Regular"/>
            <Subset Name="emoji Regular"/>
            <LPI Color="" Frequency="133" Angle="45" SpotFunction="3"/>
            |
            <LPI Color=.../>
        </PDF>
Pages: 1 2 3 4 5 6 7 [8] 9 10
palmate