Recent Posts

Pages: 1 2 3 4 [5] 6 7 8 9 10
41
Scripts and Plugins / possible to get the baseline of text?
« Last post by Gibbz on May 13, 2019, 02:03:26 am »
Im working on a importer for my custom file format. Im wondering if there is a way to get/set the baseline value of text via scripter?
I want to bring in a new text box with an example string "example". I can only find a way to position by the text frame. But I need to position it via the baseline of the string.
42
PDF Generation / Re: Black text is not 100% black
« Last post by a.l.e on May 10, 2019, 01:01:40 pm »
- 1.4.8 is a bug fix release an should not contain any regression.
- as far as i recall it does fix some icc related things.
- you don't strictly need it, but it's not a bad idea to install it.

i'm no color expert, but i guess that you will have to use the grayscale ICC profile that matches the target printer.
or a generic grayscale profile...
43
General Discussion / Re: icc profile free
« Last post by a.l.e on May 10, 2019, 10:47:56 am »
i don't know exactly what your issue is... but, yes, using different color profiles will lead to a different rendering...
44
Scripts and Plugins / Re: Working on a pybind11 new Scripter for Scribus
« Last post by a.l.e on May 10, 2019, 10:46:19 am »
i've opened a ticket (for my self...) for the "output console"...

https://github.com/aoloe/scribus-plugin-scripter-pybind11/issues/13
45
Scripts and Plugins / Re: python how to embed or insert image data to frame?
« Last post by a.l.e on May 10, 2019, 10:44:07 am »
i don't think that the API call does exist yet...

but it's probably not that hard to add it... at least if you first write the data to a file and use the "standard" way to link the image and then embed it.

.... patches are welcome, i guess...
46
Scripts and Plugins / python how to embed or insert image data to frame?
« Last post by Gibbz on May 10, 2019, 08:27:30 am »
I have a base64 encoded image I want to embed into my document via python.
I know scribus support embedding images, how do I do this via python/scripter?
47
Scripts and Plugins / Re: Working on a pybind11 new Scripter for Scribus
« Last post by Gibbz on May 10, 2019, 06:36:06 am »
Id love to see python 3 support. One thing ive noticed is that working with python is very slow in some cases. I have some scripts that can take several minutes to process....

Ive made myself a util class that has a lot of helper functions, I guess with a new scripter update we shouldnt need as many of these?

Having some better logging of script to some kind of console would be very handy. Basically a way to open the scripter console window and print to it via python.
48
Scripts and Plugins / Re: Importing Python Modules in windows
« Last post by Gibbz on May 10, 2019, 06:24:54 am »
I need some help with this.
Im trying to use the YAML library with scribus.
Ive done
pip install pyyaml

But when trying to import yaml, I get errors. I found this thread. Pip install hack above didnt work for me on Windows.
Ive noticed scribus comes with its own copy of python in the directory. How can I install yaml in there?


Edit, extracted yaml folder from its source into scribus/python/lib/yaml/ and its working :)
49
General Discussion / icc profile free
« Last post by isuldotnet on May 10, 2019, 04:49:25 am »
Hi all,

I am debian user. I use (color-profile) icc profile free. But it's looks diferrent when i used icc profile (non-free). For example, cyan looks vivid like this below picture. Any body know ?
50
Text and Typography / Re: Problem with symbol fonts
« Last post by Anna on May 09, 2019, 07:02:50 pm »
Wow, thank you! I would have never figured that out. (And yes, all the fonts can be found in file>prefs>fonts.) Does not seem to make sense that I cannot use the symbol fonts just like any other font, but using the glyph via insert>glyph is a workaround I can live with. Again: Thank you!  :)
Pages: 1 2 3 4 [5] 6 7 8 9 10
palmate