GNOME Bugzilla – Bug 144588
improve text-circle script
Last modified: 2005-08-18 19:59:25 UTC
1. Start the GIMP 2. Select Xtns -> Script-Fu -> Logos -> Text-Circle 3. Fill in all that's needed 4. Go Script-Fu! 5. Notice the logo: the text direction's clockwise, the bottom of the letters are nearest to the invisible "circle", you can't really read the text on the bottom of the text-circle easily w/o turning upside-down... I suggest more functionality with this script-fu. I bet a lot of GIMPers will like to see this implemented in the next release: - Counter-clockwise text: more control on specifying radii (like accepting negative radii for counter-clockwise text - Top of letters should also be made nearer the invisible "circle" the text flows with. This is best seen at the bottom half of circular school logos, emblems, etc. This is also the primary reason I'm posting this bug, 'coz I want to do this and I need to do this. Cheers, Zakame
The script is crappy and I don't see a chance to fix it's most fundamental problem which is the lack of Unicode support. Using any characters outside the 7bit ASCII range will just break it badly. I suggest that no effort is spent on improving this script. If at all it needs to be rewritten in a language that has support for UTF-8 strings.
Also instead of rotating the pixels created with the text tool, the text should be transformed before it is rendered. This depends on bug #125144 of course.
And so? 125144 seems almost in place. I have started a implementation of this script in python - but them I noted that some more options for rotate would be nice. I added a comment on that on bug 137053. Is someone looking at these? If not, I can finish the new generation text-circle without much improvements.
Well, I am also looking forward for the improved text-circle and if I understood right, rotating text before rendering is more a quality issue, which in this case I believe will not be that important. Personally I cant complain about the text quality. To me it would be more important having the plugin finished, but of course that is only my view on the problem.
UTF8: Doesn't tiny-fu support ut8? I was under the impression that we all agreed that we should switch to tiny-fu eventually, though maybe not before 2.2 is released Transformation: yes, definately Rotation: I'm not sure how counterclockwise text should work -- wouldn't it be backwards? (except in RTL languages, of course) I think what the reporter wants is the ability for the text to be "upside down" from the way it is now -- that is, the rightside-up text is at the bottom, instead of the top. I should note that it's not uncommon to see text where the top half is written with the letters "clockwise" (to use the reporter's terminology) and the bottom half "counterclockwise" ik l e t s hi It's easier to read than going in just one direction. You would need to supply the line break manually, of course, but this would be a good addition
The text circle script already supports counterclockwise text. Just enter a negative value for the fill angle. UTF8 support in Tiny-Fu is coming but not until after the 2.2 release of GIMP.
We should review this modified script and decide if the changes should be incorporated into CVS: http://www.scriptkitties.com/gimp/text-circle2.scm
There is no point to alter the script to move the tops of letters in relation to the circle as this depends on the specified font, the placement of the baseline in relation to the ascenders/descenders, and the direction of the text. Just specify a larger or smaller text for the desired effect. I have updated the script so that lettering appears in the same area around the circle for negative and positive fill angles. The updated script should probably be committed for GIMP 2.2 as well. 2005-06-24 Kevin Cozens <kcozens@cvs.gimp.org> * plug-ins/script-fu/scripts/text-circle.scm: Incorporated changes made by Daniel P. Stasinski in his text-circle3.scm script. Letters are now placed properly for both positive and negative fill angles. Last(?) fix for bug #144588.
The updated script has been committed to the 2.2 branch of GIMP. Closing this report.