RSS/Atom feed Twitter
Site is read-only, email is disabled

how to clone a text layer (not how to do clone on a layer)

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

20 of 20 messages available
Toggle history

Please log in to manage your subscriptions.

how to clone a text layer (not how to do clone on a layer) zhangweiwu@realss.com 25 Feb 08:51
  how to clone a text layer (not how to do clone on a layer) Daniel Hornung 25 Feb 16:23
   how to clone a text layer (not how to do clone on a layer) saulgoode@flashingtwelve.brickfilms.com 25 Feb 17:34
    how to clone a text layer (not how to do clone on a layer) Chris Mohler 25 Feb 18:41
     how to clone a text layer (not how to do clone on a layer) zhangweiwu@realss.com 27 Feb 10:04
      how to clone a text layer (not how t o do clone on a layer ) Daniel Hornung 27 Feb 16:36
      how to clone a text layer (not how to do clone on a layer) Chris Mohler 27 Feb 18:23
       how to clone a text layer (not how to do clone on a layer) David Gowers 27 Feb 22:31
    how to clone a text layer (not how to do clone on a layer) zhangweiwu@realss.com 27 Feb 03:08
     how to clone a text layer (not how to do clone on a layer) saulgoode@flashingtwelve.brickfilms.com 27 Feb 17:00
      how to clone a text layer (not how to do clone on a layer) zhangweiwu@realss.com 01 Mar 03:55
       how to clone a text layer (not how to do clone on a layer) Sven Neumann 01 Mar 12:12
        how to clone a text layer (not how to do clone on a layer) Chris Mohler 01 Mar 20:10
         how to clone a text layer (not how to do clone on a layer) Sven Neumann 01 Mar 23:33
          how to clone a text layer (not how to do clone on a layer) zhangweiwu@realss.com 02 Mar 07:37
           how to clone a text layer (not how to do clone on a layer) Chris Mohler 02 Mar 18:50
       how to clone a text layer (not how to do clone on a layer) Daniel Hornung 01 Mar 16:58
how to clone a text layer (not how to do clone on a layer) Bob Long 02 Mar 09:48
  how to clone a text layer (not how to do clone on a layer) Chris Mohler 02 Mar 18:45
how to clone a text layer (not how to do clone on a layer) Bob Long 02 Mar 22:57
zhangweiwu@realss.com
2009-02-25 08:51:02 UTC (almost 16 years ago)

how to clone a text layer (not how to do clone on a layer)

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!

Daniel Hornung
2009-02-25 16:23:32 UTC (almost 16 years ago)

how to clone a text layer (not how to do clone on a layer)

On Wednesday 25 February 2009, zhangweiwu@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

saulgoode@flashingtwelve.brickfilms.com
2009-02-25 17:34:21 UTC (almost 16 years ago)

how to clone a text layer (not how to do clone on a layer)

Quoting Daniel Hornung :

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

Chris Mohler
2009-02-25 18:41:22 UTC (almost 16 years ago)

how to clone a text layer (not how to do clone on a layer)

On Thu, Feb 26, 2009 at 10:34 AM, wrote:

Quoting Daniel Hornung :

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

zhangweiwu@realss.com
2009-02-27 03:08:57 UTC (almost 16 years ago)

how to clone a text layer (not how to do clone on a layer)

saulgoode@flashingtwelve.brickfilms.com schrieb:

Quoting Daniel Hornung :

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

zhangweiwu@realss.com
2009-02-27 10:04:00 UTC (almost 16 years ago)

how to clone a text layer (not how to do clone on a layer)

Chris Mohler schrieb:

On Thu, Feb 26, 2009 at 10:34 AM, wrote:

Quoting Daniel Hornung :

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...

Daniel Hornung
2009-02-27 16:36:51 UTC (almost 16 years ago)

how to clone a text layer (not how t o do clone on a layer )

On Friday 27 February 2009, zhangweiwu@realss.com wrote:

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

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...

The latest stable is 2.6.5. Cutting edge versions (more or less snapshots from svn), if they exist, have odd minor version numbers, e.g. 2.7* at the moment.

Daniel

saulgoode@flashingtwelve.brickfilms.com
2009-02-27 17:00:22 UTC (almost 16 years ago)

how to clone a text layer (not how to do clone on a layer)

Quoting zhangweiwu@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.

Chris Mohler
2009-02-27 18:23:46 UTC (almost 16 years ago)

how to clone a text layer (not how to do clone on a layer)

On Sat, Feb 28, 2009 at 3:04 AM, 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

David Gowers
2009-02-27 22:31:44 UTC (almost 16 years ago)

how to clone a text layer (not how to do clone on a layer)

Hi Zhang and Chris!

On Sat, Feb 28, 2009 at 3:53 AM, Chris Mohler wrote:

On Sat, Feb 28, 2009 at 3:04 AM,   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

zhangweiwu@realss.com
2009-03-01 03:55:51 UTC (almost 16 years ago)

how to clone a text layer (not how to do clone on a layer)

saulgoode@flashingtwelve.brickfilms.com schrieb:

Quoting zhangweiwu@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.

Sven Neumann
2009-03-01 12:12:50 UTC (almost 16 years ago)

how to clone a text layer (not how to do clone on a layer)

Hi,

On Sun, 2009-03-01 at 10:55 +0800, zhangweiwu@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

Daniel Hornung
2009-03-01 16:58:44 UTC (almost 16 years ago)

how to clone a text layer (not how to do clone on a layer)

On Sunday 01 March 2009, zhangweiwu@realss.com wrote:

saulgoode@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

Chris Mohler
2009-03-01 20:10:14 UTC (almost 16 years ago)

how to clone a text layer (not how to do clone on a layer)

On Mon, Mar 2, 2009 at 5:12 AM, Sven Neumann wrote:

Hi,

On Sun, 2009-03-01 at 10:55 +0800, zhangweiwu@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

Sven Neumann
2009-03-01 23:33:47 UTC (almost 16 years ago)

how to clone a text layer (not how to do clone on a layer)

Hi,

On Mon, 2009-03-02 at 13:10 +0000, 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

zhangweiwu@realss.com
2009-03-02 07:37:26 UTC (almost 16 years ago)

how to clone a text layer (not how to do clone on a layer)

Sven Neumann schrieb:

Hi,

On Mon, 2009-03-02 at 13:10 +0000, 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 (sheeee?? 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

Bob Long
2009-03-02 09:48:33 UTC (almost 16 years ago)

how to clone a text layer (not how to do clone on a layer)

zhangweiwu@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 (sheeee?? 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).

Chris Mohler
2009-03-02 18:45:00 UTC (almost 16 years ago)

how to clone a text layer (not how to do clone on a layer)

On Tue, Mar 3, 2009 at 2:48 AM, Bob Long wrote:

zhangweiwu@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 (sheeee?? 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

Chris Mohler
2009-03-02 18:50:21 UTC (almost 16 years ago)

how to clone a text layer (not how to do clone on a layer)

On Tue, Mar 3, 2009 at 12:37 AM, wrote:

Sven Neumann schrieb:

Hi,

On Mon, 2009-03-02 at 13:10 +0000, 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 (sheeee?? 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

Bob Long
2009-03-02 22:57:21 UTC (almost 16 years ago)

how to clone a text layer (not how to do clone on a layer)

Chris Mohler wrote:

On Tue, Mar 3, 2009 at 2:48 AM, Bob Long 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.