Post Reply 

1023 characters limit in plugins strings

Mar 15, 2012, 19:42
Post: #1
1023 characters limit in plugins strings
I noticed a 1023 chars limit for strings passed to plugins, in particular I noticed that issuing this into the script-foo console
Code:
(gimp-text-get-extents-fontname "text" size n "font")
gimps reports error if "text" is longer than 1023 characters:
Code:
Error: Error reading string

If its increase doesn't require a rework of a whole chain of functions' interfaces it should be easy to do.

I'd like also to point out that this would enlarge the gimp's usage scope, especially when it is used as a building block for other software rather than as a tool on its own.

Thank you.
Find all posts by this user
Quote this message in a reply
Mar 15, 2012, 20:59
Post: #2
RE: 1023 characters limit in plugins strings
(Mar 15, 2012 19:42)Davide Wrote:  I noticed a 1023 chars limit for strings passed to plugins, in particular I noticed that issuing this into the script-foo console
Code:
(gimp-text-get-extents-fontname "text" size n "font")
gimps reports error if "text" is longer than 1023 characters:
Code:
Error: Error reading string

If its increase doesn't require a rework of a whole chain of functions' interfaces it should be easy to do.

I'd like also to point out that this would enlarge the gimp's usage scope, especially when it is used as a building block for other software rather than as a tool on its own.

Thank you.

I think you're posting this in the wrong place. Have a look at the GIMP Bugs page where it talks about how to go about making enhancement requests: http://www.gimp.org/bugs/

Kevin
Find all posts by this user
Quote this message in a reply
Mar 15, 2012, 23:02
Post: #3
RE: 1023 characters limit in plugins strings
I also tend to thing that if you are using 1024 character strings with Gimp, you are looking at the wrong software. Have a look at InkScape, or maybe even OpenOffice..

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Accented characters wihtin "text string" prevent script from loading Shadowes 1 281 Aug 28, 2014 15:37
Last Post: Shadowes
  Sample plugins not showing up at all. oconzer 8 968 Feb 26, 2014 00:20
Last Post: fluffybunny2
  Plugins in Batch Mode fergusondavid6 3 899 Jan 20, 2014 10:22
Last Post: rich2005
  Downloading plugins angster 0 578 Oct 14, 2012 20:23
Last Post: angster
  What plugins to get? thehundefor 1 823 Aug 10, 2012 09:44
Last Post: ofnuts

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS