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
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Accented characters wihtin "text string" prevent script from loading Shadowes 1 610 Aug 28, 2014 15:37
Last Post: Shadowes
  Sample plugins not showing up at all. oconzer 6 1,532 Feb 26, 2014 00:20
Last Post: fluffybunny2
  Plugins in Batch Mode fergusondavid6 2 1,579 Jan 20, 2014 10:22
Last Post: rich2005
  Downloading plugins angster 0 749 Oct 14, 2012 20:23
Last Post: angster
  Plugins for Mac?? stereoG 2 2,552 Aug 10, 2012 08:13
Last Post: thehundefor

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS