xod

Outlined / Gradient text

Recommended Posts

The plugin it does exactly what the name says. Found in Effects > Text Formations.

UI:

GradientFillTextUI.png

I thanks to BoltBait who improved very much this plugin.

Download

 

You can get a very smooth text:

7nneDmT.png

Edited by xod
Replaced with version 1.2 (Added some hatch brushes)
  • Like 5
  • Upvote 3

Share this post


Link to post
Share on other sites

BoltBait, the plugin posted here was built on your updated code.
So without the Intensity slider, you're right is useless.

Share this post


Link to post
Share on other sites

Yes, but while you were building and posting, I made another change.

 

The updated code now allows the diagonal gradients to have reflection too.

  • Upvote 1

Share this post


Link to post
Share on other sites

Oooooo - I like it ;)   This looks really cool @xod I'm sure I'll use it often.  You are doing great with making Plugins - well done :pizza::lol:

Share this post


Link to post
Share on other sites

xod, I updated the screenshot in your post.  Hope you don't mind.

 

Pro Tip:  If the diagonal gradients don't have enough of an angle, try putting the same number of blank lines above and below your text.

  • Like 2
  • Upvote 1

Share this post


Link to post
Share on other sites

Someone asked me to add a font style.
I added the Bold, Italic and Underlined style in the new version.

 

Question: How to change version of plugin in CodeLab?

Share this post


Link to post
Share on other sites

Hi @xod

After making the change in the Version line of the CS file - when you hit build - you will see another place to edit the Version number with control buttons. It doesn't carry over.

Manually change the number in your text box as well under Help Contents

This is a best guess scenario and I'm sure I will be corrected if I'm wrong :lol:

 

Share this post


Link to post
Share on other sites

Hello,

I downloaded the version of "Outlined Gradient Text" modified by xod. Unfortunately Paint. net crashes again and again.  

I downloaded xods -link because I couldn't find the modified BoltBait link. Can someone please tell me the modivied link?

Thank you and good night from Hamburg, Germany

lifeday

 

Attached the error message of Paint. net.

 

File: C:\Program Files\paint.net\Effects\OutlinedGradientText.dll

      Name: OutlinedGradientText1Effect.OutlinedGradientText1EffectPlugin

      Version: 1.2.6631.35197

      Author: Copyright ©2018 by xod & BoltBait

      Copyright: Draws outlined, gradient filled text

      Website: http://www.getpaint.net/redirect/plugins.html

      Full error message: PaintDotNet.WorkerThreadException: Worker thread threw an exception ---> System.ArgumentException: Font 'Aharoni' does not support style 'Regular'.

   at System.Drawing.Font.CreateNativeFont()

   at System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)

   at System.Drawing.Font..ctor(FontFamily family, Single emSize)

   at OutlinedGradientText1Effect.OutlinedGradientText1EffectPlugin.Render(Surface dst, Surface src, Rectangle rect)

   at OutlinedGradientText1Effect.OutlinedGradientText1EffectPlugin.OnRender(Rectangle[] rois, Int32 startIndex, Int32 length)

   at PaintDotNet.Effects.Effect`1.Render(EffectConfigToken parameters, RenderArgs dstArgs, RenderArgs srcArgs, Rectangle[] rois, Int32 startIndex, Int32 length) in D:\src\pdn\src\Effects\Effect`1.cs:line 98

   at PaintDotNet.Effects.BackgroundEffectRenderer.RenderWithClipMask(Effect effect, EffectConfigToken token, RenderArgs dstArgs, RenderArgs srcArgs, Rectangle[] rois, IRenderer`1 clipMaskRenderer) in D:\src\pdn\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 170

   at PaintDotNet.Effects.BackgroundEffectRenderer.RendererContext.RenderTile(EffectConfigToken token, Int32 tileIndex) in D:\src\pdn\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 150

   at PaintDotNet.Effects.BackgroundEffectRenderer.RendererContext.RenderNextTile(EffectConfigToken token) in D:\src\pdn\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 142

   at PaintDotNet.Effects.BackgroundEffectRenderer.ThreadFunction() in D:\src\pdn\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 239

   --- End of inner exception stack trace ---

   at PaintDotNet.Effects.BackgroundEffectRenderer.DrainExceptions() in D:\src\pdn\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 418

   at PaintDotNet.Effects.BackgroundEffectRenderer.Abort() in D:\src\pdn\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 374

   at PaintDotNet.Effects.BackgroundEffectRenderer.Start() in D:\src\pdn\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 320

   at PaintDotNet.Menus.EffectMenuBase.<>c__DisplayClass42_5.<RunEffectImpl>b__5() in D:\src\pdn\src\PaintDotNet\Menus\EffectMenuBase.cs:line 1032

 

Share this post


Link to post
Share on other sites
41 minutes ago, lifeday said:

Full error message: PaintDotNet.WorkerThreadException: Worker thread threw an exception ---> System.ArgumentException: Font 'Aharoni' does not support style 'Regular'.

 

Source code needs more try/catch blocks around creating fonts.

  • Upvote 1

Share this post


Link to post
Share on other sites

@lifeday

Strange, it works very well for me.
Until I fix the issue, try making a copy of the font on the desktop then delete the font from the fonts folder in windows.
Now I'm at work.

Edited by xod

Share this post


Link to post
Share on other sites
Just now, xod said:

Strange, it works very well for me.

 

That is because your default font (the first font in the list) has a regular version.  This person's default font has only italics.

Share this post


Link to post
Share on other sites

Well, you can argue all you want... but, the fix is the same.

Share this post


Link to post
Share on other sites

Hello, Xod,
Hello Bolt Bait,

thank you for discussing my problem.
Meanwhile, I researched and found out that this font is probably no longer supported by Word. (in De)

With the plugin "Spaced Text" I can display Aharono Bolt in Paint. Net; the font is integrated in the plugin for clicking on it.

It's as it is, I liked the plugin because it offers everything concerning the color representation and editing. But you can't always have everything.

Thank you very much for the many great tips and tricks and the great plugins and instructions.
Greetings from Hamburg/Germany
lifeday

Translation of this text via Deepl. Translator. Sorry for that!

 

Share this post


Link to post
Share on other sites

Hi Xod,

 

I deleted the plugin from Paint.Net and replaced it with the newly downloaded one. Here is the result: The error message has become another - added picture
I had to go that way so I could paste the picture.

 

I wish you a good start to the new week
lifeday

 

fehlermeldung_outlined gradient.png

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.