Re: [Gimp-user] how to clone a text layer (not how to do clone on a layer)

2009-03-02 Thread Bob Long
zhangwe...@realss.com wrote:

 Nope. I also have a second computer runs Ubuntu 8.04 (I didn't upgrade
 to 8.10 yet), that every time the system tell me to upgrade I would do
 it (last time was in last week). But it still uses Gimp 2.5.4
 (sh?? an unstable version?).

My standard Ubuntu 8.10 with all updates is running GIMP 2.4.5 (repeat: 
2.4.5, not 2.5.4).

-- 
Bob Long

___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] how to clone a text layer (not how to do clone on a layer)

2009-03-02 Thread Chris Mohler
On Tue, Mar 3, 2009 at 2:48 AM, Bob Long b...@oblong.com.au wrote:
 zhangwe...@realss.com wrote:

 Nope. I also have a second computer runs Ubuntu 8.04 (I didn't upgrade
 to 8.10 yet), that every time the system tell me to upgrade I would do
 it (last time was in last week). But it still uses Gimp 2.5.4
 (sh?? an unstable version?).

 My standard Ubuntu 8.10 with all updates is running GIMP 2.4.5 (repeat:
 2.4.5, not 2.5.4).

Well, we're getting pretty off-topic here, but maybe you meant 8.04?

$ cat /etc/issue
Ubuntu 8.10

$ aptitude show gimp
Package: gimp
State: installed
Automatically installed: no
Version: 2.6.1-1ubuntu3

IIRC, 8.04 ships with the 2.4 series of GIMP, but as Sven mentioned,
Ubuntu would do well to backport the 2.6 series to their LTS
version...

Chris
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] how to clone a text layer (not how to do clone on a layer)

2009-03-02 Thread Chris Mohler
On Tue, Mar 3, 2009 at 12:37 AM,  zhangwe...@realss.com wrote:
 Sven Neumann schrieb:
 Hi,

 On Mon, 2009-03-02 at 13:10 +, Chris Mohler wrote:


 GIMP 2.6 is out for five months already. There is really no good reason
 why your distribution does not offer it yet. Perhaps time to switch to a
 more reasonable Linux distribution?

 Yes, but even Ubuntu is still shipping 2.6.1 with their latest stable
 version (8.10) and shipping 2.4.x with the long-term-support version
 (8.04).


 They have 2.6.3 in intrepid-backports, so a user of the latest stable
 version should have that at least. 2.6.3 is already much more recent
 than 2.6.1 and has lots of bug-fixes. But yeah, Ubuntu should do their
 users a favor and provide more recent bug-fix releases.


 Nope. I also have a second computer runs Ubuntu 8.04 (I didn't upgrade
 to 8.10 yet), that every time the system tell me to upgrade I would do
 it (last time was in last week). But it still uses Gimp 2.5.4 (sh??
 an unstable version?).

 If Ubuntu has 2.6 without a system-upgrade, I'd be glad to try. I don't
 want to fight the hassle of system-upgrade in recent months. Usually a
 system-upgrade means I need to get used to something a bit different, I
 prefer trying that in less heavy-working days


When I was running Ubuntu 8.04, I compiled GIMP 2.6 and installed into
/opt - this seemed the easiest solution for me.  however, you may be
able to get .deb files from getdeb, as outlined here:
http://angpilipinogimp.wordpress.com/2008/10/07/install-gimp-26-on-ubuntu-804-hardy-heron/
Or, you could browse their repo and download them manually and install
with dpkg...

Some months ago, I upgraded to 8.10 - but I understand your
hesitation: the upgrade worked pretty well, but a few things needed to
be reconfigured.

Chris
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] how to clone a text layer (not how to do clone on a layer)

2009-03-02 Thread Bob Long
Chris Mohler wrote:
 On Tue, Mar 3, 2009 at 2:48 AM, Bob Long b...@oblong.com.au wrote:
[..]
 My standard Ubuntu 8.10 with all updates is running GIMP 2.4.5 (repeat: 
 2.4.5, not 2.5.4).

 Well, we're getting pretty off-topic here, but maybe you meant 8.04?

 $ cat /etc/issue
 Ubuntu 8.10

 $ aptitude show gimp
 Package: gimp
 State: installed
 Automatically installed: no
 Version: 2.6.1-1ubuntu3

Oops - you are right! I looked at the wrong machine, which still has 8.04. 
My 8.10 machine has 2.6.1-1ubuntu3.

-- 
Bob Long

___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] how to clone a text layer (not how to do clone on a layer)

2009-03-01 Thread Sven Neumann
Hi,

On Sun, 2009-03-01 at 10:55 +0800, zhangwe...@realss.com wrote:

 It will take months until gimp reaches 2.6 on Gentoo stable. 

GIMP 2.6 is out for five months already. There is really no good reason
why your distribution does not offer it yet. Perhaps time to switch to a
more reasonable Linux distribution?


Sven


___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] how to clone a text layer (not how to do clone on a layer)

2009-03-01 Thread Daniel Hornung
On Sunday 01 March 2009, zhangwe...@realss.com wrote:
 saulgo...@flashingtwelve.brickfilms.com schrieb:

 Hi. Thanks a lot. I'll re-try both plugins you recommended after once
 day my operating system (gentoo) bring me to 2.6.x. I can manually make
 an upgrade to 2.6.x by changing some configuration files, but I prefer
 to wait because gimp's dependencies might change the system (gtk upgrade
 to 2.18). I'm not in hurry.

The number of required changes is actually quite small, iirc.  And 2.6 and its 
dependencies compile and work flawlessly for many people (including myself).  
Sometimes gentoo stable feels like debian sta(b)le. ;-)

Daniel


signature.asc
Description: This is a digitally signed message part.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] how to clone a text layer (not how to do clone on a layer)

2009-03-01 Thread Chris Mohler
On Mon, Mar 2, 2009 at 5:12 AM, Sven Neumann s...@gimp.org wrote:
 Hi,

 On Sun, 2009-03-01 at 10:55 +0800, zhangwe...@realss.com wrote:

 It will take months until gimp reaches 2.6 on Gentoo stable.

 GIMP 2.6 is out for five months already. There is really no good reason
 why your distribution does not offer it yet. Perhaps time to switch to a
 more reasonable Linux distribution?

Yes, but even Ubuntu is still shipping 2.6.1 with their latest stable
version (8.10) and shipping 2.4.x with the long-term-support version
(8.04).

Personally, I compile GEGL, BABL, and GIMP and install them in /opt so
I can use the latest version of GIMP - once you go through it once or
twice it's pretty easy - YMMV.

Chris
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] how to clone a text layer (not how to do clone on a layer)

2009-03-01 Thread Sven Neumann
Hi,

On Mon, 2009-03-02 at 13:10 +, Chris Mohler wrote:

  GIMP 2.6 is out for five months already. There is really no good reason
  why your distribution does not offer it yet. Perhaps time to switch to a
  more reasonable Linux distribution?
 
 Yes, but even Ubuntu is still shipping 2.6.1 with their latest stable
 version (8.10) and shipping 2.4.x with the long-term-support version
 (8.04).

They have 2.6.3 in intrepid-backports, so a user of the latest stable
version should have that at least. 2.6.3 is already much more recent
than 2.6.1 and has lots of bug-fixes. But yeah, Ubuntu should do their
users a favor and provide more recent bug-fix releases.


Sven


___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] how to clone a text layer (not how to do clone on a layer)

2009-03-01 Thread zhangweiwu
Sven Neumann schrieb:
 Hi,

 On Mon, 2009-03-02 at 13:10 +, Chris Mohler wrote:

   
 GIMP 2.6 is out for five months already. There is really no good reason
 why your distribution does not offer it yet. Perhaps time to switch to a
 more reasonable Linux distribution?
   
 Yes, but even Ubuntu is still shipping 2.6.1 with their latest stable
 version (8.10) and shipping 2.4.x with the long-term-support version
 (8.04).
 

 They have 2.6.3 in intrepid-backports, so a user of the latest stable
 version should have that at least. 2.6.3 is already much more recent
 than 2.6.1 and has lots of bug-fixes. But yeah, Ubuntu should do their
 users a favor and provide more recent bug-fix releases.

   
Nope. I also have a second computer runs Ubuntu 8.04 (I didn't upgrade
to 8.10 yet), that every time the system tell me to upgrade I would do
it (last time was in last week). But it still uses Gimp 2.5.4 (sh??
an unstable version?).

If Ubuntu has 2.6 without a system-upgrade, I'd be glad to try. I don't
want to fight the hassle of system-upgrade in recent months. Usually a
system-upgrade means I need to get used to something a bit different, I
prefer trying that in less heavy-working days
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] how to clone a text layer (not how to do clone on a layer)

2009-02-28 Thread zhangweiwu
saulgo...@flashingtwelve.brickfilms.com schrieb:
 Quoting zhangwe...@realss.com:

 Hi. Thanks! I put the .scm file in /usr/share/gimp/2.0/scripts and try
 it. When I click OK in clone text properties dialog I was told the
 following:

 Error while executing
 (sg-clone-text-attributes 1 3 0 TRUE FALSE FALSE FALSE FALSE FALSE
 FALSE FALSE FALSE FALSE FALSE FALSE FALSE)

 Error: eval: unbound variable: gimp-drawable-is-text-layer

 It would seem you are using an outdated version of GIMP. Latest stable
 (2.6.5) supports text operations through the Procedural database that
 weren't available in earlier versions.

Hi. Thanks a lot. I'll re-try both plugins you recommended after once
day my operating system (gentoo) bring me to 2.6.x. I can manually make
an upgrade to 2.6.x by changing some configuration files, but I prefer
to wait because gimp's dependencies might change the system (gtk upgrade
to 2.18). I'm not in hurry.

It will take months until gimp reaches 2.6 on Gentoo stable. I'll not
forget to re-test these things by that time. I keep a good when xx
happen do xx todo list management.


Thanks a lot for your solutions.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] how to clone a text layer (not how to do clone on a layer)

2009-02-27 Thread zhangweiwu
Chris Mohler schrieb:
 On Thu, Feb 26, 2009 at 10:34 AM,
 saulgo...@flashingtwelve.brickfilms.com wrote:
   
 Quoting Daniel Hornung daniel.horn...@gmx.de:

 
 Or you could try
 and write a script that changes the text of all text layers in the same way,
 I think that should be possible at least in theory.
   
 Yes, such is possible (and owing to recent additions to the Procedural
 DataBase, not just in theory).
 

 I wrote a trivial text 'find and replace' script for GIMP 2.6:
 http://registry.gimp.org/node/12212

 Currently it operates in all layers - I'd love to get some feedback on
 how it works in real-world cases...
sounds interesting!
Does it work on 2.4.6? In the real world people like me are afraid of
the cutting edge and use the latest stable...
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] how to clone a text layer (not how to do clone on a layer)

2009-02-27 Thread saulgoode
Quoting zhangwe...@realss.com:

 Hi. Thanks! I put the .scm file in /usr/share/gimp/2.0/scripts and try
 it. When I click OK in clone text properties dialog I was told the
 following:

 Error while executing
 (sg-clone-text-attributes 1 3 0 TRUE FALSE FALSE FALSE FALSE FALSE
 FALSE FALSE FALSE FALSE FALSE FALSE FALSE)

 Error: eval: unbound variable: gimp-drawable-is-text-layer

It would seem you are using an outdated version of GIMP. Latest stable  
(2.6.5) supports text operations through the Procedural database that  
weren't available in earlier versions.


___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] how to clone a text layer (not how to do clone on a layer)

2009-02-27 Thread Chris Mohler
On Sat, Feb 28, 2009 at 3:04 AM,  zhangwe...@realss.com wrote:
 Chris Mohler schrieb:

 I wrote a trivial text 'find and replace' script for GIMP 2.6:
 http://registry.gimp.org/node/12212

 Currently it operates in all layers - I'd love to get some feedback on
 how it works in real-world cases...
 sounds interesting!
 Does it work on 2.4.6? In the real world people like me are afraid of
 the cutting edge and use the latest stable...

I don't think so - I think the needed text procedures were added in
the 2.6.x series.  2.6 is stable for me and has new features - I can't
think of any reason to keep using 2.4

Chris
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] how to clone a text layer (not how to do clone on a layer)

2009-02-27 Thread David Gowers
Hi Zhang and Chris!

On Sat, Feb 28, 2009 at 3:53 AM, Chris Mohler cr33...@gmail.com wrote:
 On Sat, Feb 28, 2009 at 3:04 AM,  zhangwe...@realss.com wrote:
 Chris Mohler schrieb:

 I wrote a trivial text 'find and replace' script for GIMP 2.6:
 http://registry.gimp.org/node/12212

 Currently it operates in all layers - I'd love to get some feedback on
 how it works in real-world cases...
 sounds interesting!
 Does it work on 2.4.6? In the real world people like me are afraid of
 the cutting edge and use the latest stable...

 I don't think so - I think the needed text procedures were added in
 the 2.6.x series.  2.6 is stable for me and has new features - I can't
 think of any reason to keep using 2.4

In fact the 'latest stable' *IS* 2.6. That's why it has an even version number!

David
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] how to clone a text layer (not how to do clone on a layer)

2009-02-26 Thread zhangweiwu
saulgo...@flashingtwelve.brickfilms.com schrieb:
 Quoting Daniel Hornung daniel.horn...@gmx.de:

   
 Or you could try
 and write a script that changes the text of all text layers in the same way,
 I think that should be possible at least in theory.
 

 Yes, such is possible (and owing to recent additions to the Procedural  
 DataBase, not just in theory).

 The following Script-fu will add a new command to the Layers Menu  
 (accessible by right-clicking on a thumbnail preview in the Layers  
 Dialog). The command is called Clone text attributes... and presents  
 a list of several attributes from which the user can choose to  
 transfer to the target layers. Target layers can be limited to visible  
 layers, linked layers, or all layers (only text layers are affected).

 http://flashingtwelve.brickfilms.com/GIMP/Scripts/sg-clone-text-attributes.scm
   
Hi. Thanks! I put the .scm file in /usr/share/gimp/2.0/scripts and try
it. When I click OK in clone text properties dialog I was told the
following:

Error while executing
(sg-clone-text-attributes 1 3 0 TRUE FALSE FALSE FALSE FALSE FALSE
FALSE FALSE FALSE FALSE FALSE FALSE FALSE)

Error: eval: unbound variable: gimp-drawable-is-text-layer

___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] how to clone a text layer (not how to do clone on a layer)

2009-02-25 Thread Daniel Hornung
On Wednesday 25 February 2009, zhangwe...@realss.com wrote:
 Hello. Is there a feature in gimp that behave like inkscape, where a
 text layer (in Inkscape an object or a group of object) can have some
 clone text layers. 

No, (linked) clones are not available in GIMP (yet?), maybe in one or two 
years.

 I need this feature because I have an illustration where a word appeared
 multiple times. I need to change this word from time to time. But I have
 about 12 layers with the same word, doing the same text change to 12
 layers from time to time look stupid. In Inkscape it would be easier.

If you work a lot with texts and if changing the text is the last step in your 
workflow, maybe those steps are easier in Inkscape anyway?  Or you could try 
and write a script that changes the text of all text layers in the same way, 
I think that should be possible at least in theory.

Sorry if I couldn't help you more,
Daniel


signature.asc
Description: This is a digitally signed message part.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] how to clone a text layer (not how to do clone on a layer)

2009-02-25 Thread saulgoode
Quoting Daniel Hornung daniel.horn...@gmx.de:

 Or you could try
 and write a script that changes the text of all text layers in the same way,
 I think that should be possible at least in theory.

Yes, such is possible (and owing to recent additions to the Procedural  
DataBase, not just in theory).

The following Script-fu will add a new command to the Layers Menu  
(accessible by right-clicking on a thumbnail preview in the Layers  
Dialog). The command is called Clone text attributes... and presents  
a list of several attributes from which the user can choose to  
transfer to the target layers. Target layers can be limited to visible  
layers, linked layers, or all layers (only text layers are affected).

http://flashingtwelve.brickfilms.com/GIMP/Scripts/sg-clone-text-attributes.scm

___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] how to clone a text layer (not how to do clone on a layer)

2009-02-25 Thread Chris Mohler
On Thu, Feb 26, 2009 at 10:34 AM,
saulgo...@flashingtwelve.brickfilms.com wrote:
 Quoting Daniel Hornung daniel.horn...@gmx.de:

 Or you could try
 and write a script that changes the text of all text layers in the same way,
 I think that should be possible at least in theory.

 Yes, such is possible (and owing to recent additions to the Procedural
 DataBase, not just in theory).

I wrote a trivial text 'find and replace' script for GIMP 2.6:
http://registry.gimp.org/node/12212

Currently it operates in all layers - I'd love to get some feedback on
how it works in real-world cases...

HTH,
Chris
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp-user] how to clone a text layer (not how to do clone on a layer)

2009-02-24 Thread zhangweiwu
Hello. Is there a feature in gimp that behave like inkscape, where a
text layer (in Inkscape an object or a group of object) can have some
clone text layers. If the source text layer changes its color, size,
text etc, the cloned layer automatically change accordingly.

In fact, I am more happy if the cloned layer only changes its text when
the source layer's text is changed.

I need this feature because I have an illustration where a word appeared
multiple times. I need to change this word from time to time. But I have
about 12 layers with the same word, doing the same text change to 12
layers from time to time look stupid. In Inkscape it would be easier.

Thanks in advance!

___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user