After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 144588 - improve text-circle script
improve text-circle script
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Script-Fu
unspecified
Other Linux
: Low enhancement
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2004-06-18 10:22 UTC by Zak B. Elep
Modified: 2005-08-18 19:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Zak B. Elep 2004-06-18 10:22:28 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
Comment 1 Sven Neumann 2004-06-18 10:29:39 UTC
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.
Comment 2 Sven Neumann 2004-06-18 10:33:31 UTC
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.
Comment 3 Joao S. O. Bueno 2004-06-18 13:59:29 UTC
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.  
 
 
Comment 4 Juri Chomé 2004-09-15 10:45:54 UTC
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.
Comment 5 Nathan Summers 2004-09-16 15:10:34 UTC
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
Comment 6 Kevin Cozens 2004-09-17 05:26:48 UTC
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.
Comment 7 Sven Neumann 2005-06-23 14:19:24 UTC
We should review this modified script and decide if the changes should be
incorporated into CVS:

http://www.scriptkitties.com/gimp/text-circle2.scm
Comment 8 Kevin Cozens 2005-06-24 20:49:59 UTC
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.
Comment 9 Kevin Cozens 2005-08-18 19:59:25 UTC
The updated script has been committed to the 2.2 branch of GIMP. Closing this
report.