It is currently Thu Mar 28, 2024 9:05 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Update to Custom Font Bevel Reflect BRL to Version 1.10 Tabbed
PostPosted: Tue Aug 23, 2022 6:50 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Aug 08, 2016
Posts: 1950
Location: East Midlands of England
Following up MareroQ's recent post concerning errors when using BRL contours, here is an update.

The issue was caused by my update to a deprecated pdb in which I failed to use the correct value type. Unfortunately the correctly updated pcb does not apply the curves in the same way as used byGnuTux so I have reverted to the deprecated pcb call. It works for me on Windows still - and if I can replicate GnuTux's curves with the new call in the future I will replace it.

Download, extract and install the plug-in to your user plug-ins folder:

Attachment:
Custom_Font_Bevel_Reflect_BRL_1_6_V_110_Tabbed.zip [18.42 KiB]
Downloaded 42 times


The filter can be located with the following menu path:

Filters>>Custom Font Tools>>Custom Font Bevel Reflect BRL 1.6 V 1.10 Tabbed

The dialog tabs:

Attachment:
Dialog_Highlight.jpg
Dialog_Highlight.jpg [ 397.34 KiB | Viewed 1248 times ]


The new option for using the outline contours is highlighted with a red outline.
New wording is highlighted in solid red.

_________________
Image

"Let no one steal your dreams."
Paul Cookson


Latest plug-in update: Stitcher v.0.3
Custom Font Links
Tools
Character Paths
White Bases


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Update to Custom Font Bevel Reflect BRL to Version 1.10 Tabbed
PostPosted: Tue Aug 23, 2022 7:04 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Aug 08, 2016
Posts: 1950
Location: East Midlands of England
The outline contours work better when the contour depth is set to a value of 4 or more.

The example below shows the original custom font and then with the outline (using an orange and black gradient) set to 1 - which is barely visible. Click on the images to see a slightly more detailed view.

Attachment:
00_OriginalAndThinOutline.jpg
00_OriginalAndThinOutline.jpg [ 81.86 KiB | Viewed 1240 times ]


This set of examples show the three outline types (Outline, Ouline(Inner Bevel), Outline(Outer Bevel)) with a controur depth set to 4:

Attachment:
08_AllOutlineCharactersDepth4.jpg
08_AllOutlineCharactersDepth4.jpg [ 179.9 KiB | Viewed 1240 times ]


The last set of examples show the effect using the outlines only option:

Attachment:
09_AllOutlinesDepth4.jpg
09_AllOutlinesDepth4.jpg [ 124.55 KiB | Viewed 1240 times ]

_________________
Image

"Let no one steal your dreams."
Paul Cookson


Latest plug-in update: Stitcher v.0.3
Custom Font Links
Tools
Character Paths
White Bases


Top
 Post subject: Re: Update to Custom Font Bevel Reflect BRL to Version 1.10 Tabbed
PostPosted: Tue Aug 23, 2022 8:14 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2231
Location: Poland
Hi Skinnyhouse.
Thanks a lot for the update. :bigthup
Outstanding work should be widely available, so it's also here.


Attachments:
Thanks to Skinnyhouse.png
Thanks to Skinnyhouse.png [ 128.62 KiB | Viewed 1233 times ]

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Update to Custom Font Bevel Reflect BRL to Version 1.10 Tabbed
PostPosted: Tue Aug 23, 2022 3:07 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Aug 08, 2016
Posts: 1950
Location: East Midlands of England
Careful there MareroQ - I might have to blush :oops: at such praise.

And after a little poking around it looks as if the values required by gimp-drawable-curves-spline should be normalized (i.e. between 0.0 and 1.00). It would have been useful if this information was noted in the procedure browser.

:hoh So Version 1.11 to come then. (Couldn't find a smilie for pain in the butt.)

_________________
Image

"Let no one steal your dreams."
Paul Cookson


Latest plug-in update: Stitcher v.0.3
Custom Font Links
Tools
Character Paths
White Bases


Top
 Post subject: Re: Update to Custom Font Bevel Reflect BRL to Version 1.10 Tabbed
PostPosted: Wed Aug 24, 2022 3:28 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2231
Location: Poland
I no longer care about outdated procedures (avoid - but if it does, nothing happens). They work in Gimp-2.10 and plugins for Gimp-3.0 will have to be rewritten anyway.
However, I get annoyed by messages from Gimp (run with options: --verbose) such as:
... ”as a menu label, this is deprecated and will be a bug in GIMP 3.0 Plug in "...
Obvious obviousness.

Is the attached version with 'Preview' acceptable for You?


Attachments:
Untitled-BRL1.png
Untitled-BRL1.png [ 154.41 KiB | Viewed 1173 times ]
Untitled-BRL2.png
Untitled-BRL2.png [ 57.54 KiB | Viewed 1173 times ]

_________________
Image

Slava
Ukraini!


Last edited by MareroQ on Fri Aug 26, 2022 12:55 am, edited 1 time in total.
Top
 Post subject: Re: Update to Custom Font Bevel Reflect BRL to Version 1.10 Tabbed
PostPosted: Wed Aug 24, 2022 4:33 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: Aug 08, 2016
Posts: 1950
Location: East Midlands of England
Looks pretty good to me at first play M. :bigthup :bigthup

Don't forget to give credit to yourself and relevant others in the help part of the dialog - especially GnuTux.

I ran the filter on a custom font with preview active and it successfully applied the effect to all characters - but it did throw up this error message right at the very end:

Attachment:
MrQ_ErrorMess.jpg
MrQ_ErrorMess.jpg [ 73.99 KiB | Viewed 1134 times ]

_________________
Image

"Let no one steal your dreams."
Paul Cookson


Latest plug-in update: Stitcher v.0.3
Custom Font Links
Tools
Character Paths
White Bases


Top
 Post subject: Re: Update to Custom Font Bevel Reflect BRL to Version 1.10 Tabbed
PostPosted: Wed Aug 24, 2022 5:12 pm  (#7) 
Offline
GimpChat Member

Joined: Jul 28, 2018
Posts: 1195
I don't know if MareroQ answered you through PM, but this plugin is working fine with no errors on my end.
Image

_________________
https://www.deviantart.com/pocholo17
Image


Top
 Post subject: Re: Update to Custom Font Bevel Reflect BRL to Version 1.10 Tabbed
PostPosted: Thu Aug 25, 2022 1:05 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2231
Location: Poland
@Pocholo.
Thanks a lot for trying it out.

@Skinnyhause.
This is the first time I see such an error message.
The 'gimp-drawable-sub-thumbnail' routine is not present in this plugin - but something indirectly forces the thumbnail preview to be updated.
If You clear the thumbnails in the 'Document History' tab [Ctrl + Recreate preview] can You repeat this message?
I haven't found anything on the internet about it. :hoh
The bug is probably harmless - but until this problem is resolved, this is my last plugin with a preview. :(

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: Update to Custom Font Bevel Reflect BRL to Version 1.10 Tabbed
PostPosted: Thu Aug 25, 2022 3:41 am  (#9) 
Offline
GimpChat Member
User avatar

Joined: Aug 08, 2016
Posts: 1950
Location: East Midlands of England
A little light...

The error happens when using the layer custom font naming convention (i.e. .png suffix) - no matter how many layers are present.
This suggests that the error happens when my original code attempts to locate the original first layer in order to mark it as the active layer in the treated file.
This is the very last step in my code - after all the layers have had BRL effects applied - so it is a fairly harmless bug.

I will look later when I have more time (chores calling) - I also have a function to add which will use the original curves data with the new pdb call.

Hope this helps. :hi5

_________________
Image

"Let no one steal your dreams."
Paul Cookson


Latest plug-in update: Stitcher v.0.3
Custom Font Links
Tools
Character Paths
White Bases


Top
 Post subject: Re: Update to Custom Font Bevel Reflect BRL to Version 1.10 Tabbed
PostPosted: Thu Aug 25, 2022 4:34 am  (#10) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2231
Location: Poland
But that didn't happen when there was no preview???
This suggests a different problem for me.
I am waiting patiently for Your investigation.

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: Update to Custom Font Bevel Reflect BRL to Version 1.10 Tabbed
PostPosted: Thu Aug 25, 2022 8:50 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: Aug 08, 2016
Posts: 1950
Location: East Midlands of England
:? No luck with my theory M...

No error message when custom font layers are not used.
No error message when custom font layers are used and the preview is off.
BUT still...
Error message when custom font layers are used and preview is on.

Oh and another thing that may or nay not be connected...

In my custom font version the layer visiblity is turned off for all but the first character but with the preview version all layers are visible on completion.

There is a conflict somewhere - to state the blindingly obvious!

_________________
Image

"Let no one steal your dreams."
Paul Cookson


Latest plug-in update: Stitcher v.0.3
Custom Font Links
Tools
Character Paths
White Bases


Top
 Post subject: Re: Update to Custom Font Bevel Reflect BRL to Version 1.10 Tabbed
PostPosted: Thu Aug 25, 2022 10:33 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2231
Location: Poland
Thanks to Your explanations, now I can repeat this mistake.
BRL with preview should only work on one active layer.
However, when there are more layers named with a single letter, the code handles them all, and that creates a problem.
For custom fonts, your preview solution (as a new image) is the only option.
For BRL with Preview, you need to limit the operation to the active layer (i.e. all text in one pass - which saves time and probably the same result as those processed separately).
If you have time, can You change it?
I don't want to mess with Your code anymore, so I can possibly add a constraint (but inelegant: e.g. by applying only to visible layers or renaming them).

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: Update to Custom Font Bevel Reflect BRL to Version 1.10 Tabbed
PostPosted: Fri Aug 26, 2022 12:57 am  (#13) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2231
Location: Poland
Here is the code with the fix (for you to consider - ignore it if you have your own fix in the code):
- rename all layers in the image,
- execute the BRL code (only on the active layer),
- restore old layer names,
- add the option to save a newly created emap (as a layer).
-- complete the 'Help' tab.


Attachments:
Bevel_Reflect_Logo_1_6_V_110_P BF.zip [19.55 KiB]
Downloaded 20 times
BugFixBRL.png
BugFixBRL.png [ 62.02 KiB | Viewed 371 times ]

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Update to Custom Font Bevel Reflect BRL to Version 1.10 Tabbed
PostPosted: Fri Aug 26, 2022 1:55 am  (#14) 
Offline
GimpChat Member
User avatar

Joined: Aug 08, 2016
Posts: 1950
Location: East Midlands of England
OK, thanks - will look...

Had a go last night at modifying your previous upload- it worked but broke the preview :cry - so went to bed in disgust. :otb

Thought that I might as well go back to my first upload on this thread and do a version just for the active layer.

back soon...

_________________
Image

"Let no one steal your dreams."
Paul Cookson


Latest plug-in update: Stitcher v.0.3
Custom Font Links
Tools
Character Paths
White Bases


Top
 Post subject: Re: Update to Custom Font Bevel Reflect BRL to Version 1.10 Tabbed
PostPosted: Fri Aug 26, 2022 2:18 am  (#15) 
Offline
GimpChat Member
User avatar

Joined: Aug 08, 2016
Posts: 1950
Location: East Midlands of England
Ok have had a look and your new version, renaming the layers, certainly works without throwing up errors. :bigthup
So if you want to proceed with that it will do the business.

I have a busy chore day again so will not be able to do anything until tonight.
Some of my custom font files consist of 180+ character layers which will work with renaming but would create a sort of delay in applying the filter.
This would not be the case for the typical user however.

I will probably still look at another version for active layer use and present that if and when I can.

_________________
Image

"Let no one steal your dreams."
Paul Cookson


Latest plug-in update: Stitcher v.0.3
Custom Font Links
Tools
Character Paths
White Bases


Top
 Post subject: Re: Update to Custom Font Bevel Reflect BRL to Version 1.10 Tabbed
PostPosted: Fri Aug 26, 2022 3:27 am  (#16) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2231
Location: Poland
To be clear to everyone: :wvy
BRL with preview should not replace "Custom_Font_Bevel_Reflect_BRL_1_6_V_110_Tabbed.py".
It's just an alternative like Custom_Font_Metallic_Effects and Metallic_Effects_009-P.py (which is also one of the most downloaded on gimpsripts.net).
However, I would like you to be the maintainer of both versions of Bevel_Reflect_BRL. :bowdown

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: Update to Custom Font Bevel Reflect BRL to Version 1.10 Tabbed
PostPosted: Fri Aug 26, 2022 3:55 am  (#17) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
MareroQ wrote:
Here is the code with the fix (for you to consider - ignore it if you have your own fix in the code):
- rename all layers in the image,
- execute the BRL code (only on the active layer),
- restore old layer names,
- add the option to save a newly created emap (as a layer).
-- complete the 'Help' tab.

Works really well with flat gradient images. Thx! :bigthup

Attachment:
Gradient-Reflect-Image_RD-2022-08-26_044153.jpg
Gradient-Reflect-Image_RD-2022-08-26_044153.jpg [ 308.64 KiB | Viewed 348 times ]


Original gradient image.
Attachment:
Gradient 70_RD1.png
Gradient 70_RD1.png [ 5.32 MiB | Viewed 348 times ]

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Update to Custom Font Bevel Reflect BRL to Version 1.10 Tabbed
PostPosted: Fri Aug 26, 2022 6:20 am  (#18) 
Offline
GimpChat Member
User avatar

Joined: Aug 08, 2016
Posts: 1950
Location: East Midlands of England
Hmmm Have been told that it is family time this evening so I will be out of action then too...


MareroQ wrote:
Quote:
However, I would like you to be the maintainer of both versions of Bevel_Reflect_BRL. :bowdown


Does that mean I get a salary increase? :hehe :hehe

_________________
Image

"Let no one steal your dreams."
Paul Cookson


Latest plug-in update: Stitcher v.0.3
Custom Font Links
Tools
Character Paths
White Bases


Top
 Post subject: Re: Update to Custom Font Bevel Reflect BRL to Version 1.10 Tabbed
PostPosted: Fri Aug 26, 2022 8:41 am  (#19) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2231
Location: Poland
@Rod.
Thanks for the test. Your result looks very professional.

@Sinnyhouse.
Of course.
Your salary = 5000 BRL*
Consultation Pocholo = - 1000 BRL
Consultation Rod = - 1000 BRL
Fixed costs = - 3000 BRL
Tax = - 500 BRL
Inflation = - 500 BRL
The sum to be refunded = BRL 1000
Send to account: https://www.gimpscripts.net/

*The similarity between the names of the bank and the currency is coincidental.


Attachments:
1000 BRL.png
1000 BRL.png [ 246.71 KiB | Viewed 332 times ]

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Update to Custom Font Bevel Reflect BRL to Version 1.10 Tabbed
PostPosted: Fri Aug 26, 2022 11:58 am  (#20) 
Offline
GimpChat Member
User avatar

Joined: Aug 08, 2016
Posts: 1950
Location: East Midlands of England
OK M...
Already spent...
Finished chores early so here is another version (no preview) with tabs that works on the active layer only - no matter what the name of the layer is.

It currently lives in Filters>>Alpha to Logo

If you like it then you can add a preview and that should be job done. As a bonus this one also updates the deprecated curves spline pdb call.

Attachment:
Active_Layer_Bevel_Reflect_BRL_1_6_V_111_Tabbed.zip [18.28 KiB]
Downloaded 24 times


Attachment:
Active_Layer_BRL_Test.jpg
Active_Layer_BRL_Test.jpg [ 278.91 KiB | Viewed 312 times ]


Did I mention that I also have an update for Metallic Filters?

_________________
Image

"Let no one steal your dreams."
Paul Cookson


Latest plug-in update: Stitcher v.0.3
Custom Font Links
Tools
Character Paths
White Bases


Top
Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Update to Custom Font Bevel Reflect Tabbed for Gimp 2.10 to V1.09

5

No new posts Attachment(s) Update to Custom Font Faux 3D to Version 0.04 Tabbed

1

No new posts Attachment(s) Update to Custom Font Lighting Effects GT Style to Version 0.05 Tabbed

1

No new posts Attachment(s) Custom Font Bevel Reflect for Gimp 2.10 Release 1.08

1

No new posts Attachment(s) Custom Font Bevel Reflect for Gimp 2.10 Release 1.00

6



* Login  



Powered by phpBB3 © phpBB Group