Last post by a.l.e - November 26, 2023, 11:09:31 AM
some feedback from my side:
guidesLock() and guidesSnap(): they need an argument -- defaulting to True -- for turning off the feature. probably the companions isGuidesLock() and isGuidesSnap() are also to be created in the same go (this is mostly an instinctive reaction: i'm not 100% sure that there is a use case for checking the state) finally, the commands should probably go to cmdpage, not cmdtext.
textFrameChainShow(): i'd rather call it showTextFramesChain() and as for the guides, it should have an argument to turn it off and a "getter" to test its state.
unlinkTextFrameAndCutText(): rather than creating a new function, i'd prefer to see a new named (optional) argument (cutText=False) in unlinkTextFrame().
selectObjectAlone(): it's indeed tedious to always need to clear the selection first. as for unlinking the text frames, i'd prefer a named argument "clearSelection=False" in selectObject, which would also "automatically" better document the "odd" behavior of selectObject()
placeSVGname(): i'd prefer to see placeSVG() to always return the name of the group that has been created (iirc, not trivial to do; but i think that i have an unfinished patch that goes in that direction)
placeSVGnameFromString(): i guess that the filename in placeSVG() should be optional and it needs a named argument svgString (or similar). probably, you saw that coming, after the previous comments : - )
insterHTMLFromString(): see above : - )
getDocumentation: you can achieve the same with python's dir (and with the inspect module it gets rather powerful: i have a script -- currently in a ḧeavy refactoring process (adding arbitrary text) -- that with the help of mkdocs produces https://impagina.org/scribus-scripter-api ). i'm not sure that this new command is really needed.
all in all, you seem to propose a few useful commands for the scripter api and a few others that can help in automatically setting up a "standard" environment.
if you need help for the changes i suggested just ask. it would be nice if you could propose patches that can get into scribus!
Last post by André - November 25, 2023, 11:30:41 PM
I'm from Austria, so pls. excuse my English.
I installed Scribus 1.4.8 on a mini some time ago, used it a bit, but not much. I switched to a Mac mini intel 3,2GHz i7 using the OS migration tool, all programs worked fine. But for Scribus. When I start Scribus now, it takes over ten minutes to boot and does not respond to inpute. I thought, OK, I should be able to run Scribus 1.5.8, but OS refuses to boot it, saying I should be 10.15, not 10.14 Deleted the folder, downloaded 1.4.8 from the website, reinstalled it - same effect.
When it boots up, it seems normal speed until it comes to "loading color profiles". I have no color profiles installd, to my knowledge
Does anybody know what went wrong and help me pls?
Last post by AdmFubar - November 25, 2023, 06:37:30 PM
A quick and dirty solution for this is to add a border/frame/stroke to the image and make it transparent. You will loose a few pixels of the image from how scribus adds border to an image but this might be acceptable.
Last post by utnik - November 25, 2023, 07:49:12 AM
go to 'properties' (f2)→ 'shape' → 'text flow'. select 'text flow around contour line'. then click on 'edit' and check the box 'edit contour line'. now you may either insert a value to increase the size of the contour line on all sides or select the control points direct on your document page (usually in pairs) and move them with the arrow keys (maybe with 'shift' or 'ctrl' as modifiers) or move them manually or select one point at a time and modify the x and y coordinates in the nodes editor...
Last post by PatJr - November 25, 2023, 01:56:35 AM
Did you try the Properties (F2) under shape and select the 2nd option for the Text flow? You also edit the image frame boundary box. Or try the Content Properties (F3) and then fiddle with the image scale, position, and frame size to get a padding that works. Is that what you are looking for?
Last post by Erik96 - November 24, 2023, 11:43:58 PM
Dear All, I searched in the issues of this forum, but I did not find anything similar, so I ask this question, even if I am convinced that others might have had the same doubts in the past. I would like to include in my text images. I have seen that when I create an image frame I can specify that the text flows around the image. But, I do not succeed in leaving a little white space between the image and the text, call it border or whatsoever. I tried with embedding the image frame in a textframe, this work, but I do not know if this is the ideal way of working. I would also need to put captions under the image to describe them (kind: Fig 1: Example of Config File). Yes, I could add under the image frame a text frame and embed the both in the textframe I mentioned before. Again, is this the recommended way of working ? Thank you very much Yours, sincerely Eryk