toe_head2001 Posted August 25, 2015 Share Posted August 25, 2015 (edited) Text Window Effects -> Text Formations -> Text Window Description Used to repeat text to create word images. Screenshots Notes If you do not intend to repeat the text, please use the Text tool as seen below. Spoiler Change Log v1.4 (July 5, 2018) Added: Russian translation by @ReMake is now included. Changed: The Font dropdown now defaults to the Arial font, rather than the first one in the list. v1.3 (March 14, 2016) Changed: Unusable font are no longer listed in the UI, thus eliminating the "Font Error" messages. v1.2 (Oct 6, 2015) Changed: Simplified the algorithm for cutting out the window text New: Added font styles (bold, italic, underline, strikeout) Changed: Moved some code into OnSetRenderInfo. Makes it faster and use less system memory v1.1 (Aug 28, 2015) Fixed: Font error message is now modal Fixed: Background could be very slightly affected by the x Offset value if set to +1.0 (I had copy & pasted onto the wrong line without noticing...) v1.0 (Aug 25, 2015) Initial release Download TextWindow.zip Source Code Source files and Git history Edited July 6, 2018 by toe_head2001 8 Quote My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
ReMake Posted August 25, 2015 Share Posted August 25, 2015 A wonderful effect! I downloaded it and I hope I'll find a use for it. Thank you toe_head2001! Quote Link to comment Share on other sites More sharing options...
Maximilian Posted August 26, 2015 Share Posted August 26, 2015 (edited) Thanks for the source and the icon, toe_head! EDIT: those interested can find Text Window v1.2 for Paint.NET 3.5.11 in post 21 further below. Edited October 24, 2015 by Maximilian Quote Link to comment Share on other sites More sharing options...
Maximilian Posted August 26, 2015 Share Posted August 26, 2015 This is so good for textual works! (the outlines within the text windows were done with TR's Quick Outliner) 2 Quote Link to comment Share on other sites More sharing options...
Seerose Posted August 26, 2015 Share Posted August 26, 2015 3 Quote Live as if you were to die tomorrow. Learn as if you were to live forever. Gandhi Link to comment Share on other sites More sharing options...
toe_head2001 Posted August 26, 2015 Author Share Posted August 26, 2015 .... the outlines within the text windows were done with TR's Quick Outliner BoltBait's Outline Object would give a much better result in this case. Plus you don't need to make a selection before running it. Quote My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Maximilian Posted August 26, 2015 Share Posted August 26, 2015 Yes, I know, but I decided to leave things as they are because I was in a moment when I was testing both new plugins. Since I plan to go on using this, I'll also make further tests with the other outlining plugins. Quote Link to comment Share on other sites More sharing options...
homebrew Posted August 27, 2015 Share Posted August 27, 2015 a photoshop like effect very handy. you can then apply other effects (outline, drop shadow... without select). A feature that fills a gap, should be native! Quote Link to comment Share on other sites More sharing options...
ReMake Posted August 27, 2015 Share Posted August 27, 2015 (edited) I found a small problem. If the user gets an error message and accidentally presses the Cancel button on the user interface - as the result he gets the endless canceling process. This is because the message box is not a child window of the UI. For exit from this process, the user must click on Font Error in the Quick Launch bar and then click OK on the message box. Edited August 27, 2015 by ReMake Quote Link to comment Share on other sites More sharing options...
BoltBait Posted August 27, 2015 Share Posted August 27, 2015 Remake, that can be fixed by replacing: MessageBox.Show("You can not use the font '" + this.Amount4.Name + "'.\n\nPlease choose a different font.", "Font Error"); With: Form.ActiveForm.Invoke(new Action(delegate() { MessageBox.Show("You can not use the font '" + this.Amount4.Name + "'.\n\nPlease choose a different font.", "Font Error"); })); 2 Quote Click to play: Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game Link to comment Share on other sites More sharing options...
ReMake Posted August 27, 2015 Share Posted August 27, 2015 ...that can be fixed by replacing: With: Yes, it really solves a problem. BoltBait, thank You for this elegant solution. Quote Link to comment Share on other sites More sharing options...
Eli Posted August 27, 2015 Share Posted August 27, 2015 I do not know if it is possible but an option to control the space between the lines would be nice. Perhaps a rotation option as well. Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted August 27, 2015 Author Share Posted August 27, 2015 I found a small problem. If the user gets an error message and accidentally presses the Cancel button on the user interface -as the result he gets the endless canceling process. This is because the message box is not a child window of the UI. For exit from this process, the user must click on Font Error in the Quick Launch bar and then click OK on the message box. Remake, that can be fixed by replacing... Thanks guys. I'll include that in a new build later today. I do not know if it is possible but an option to control the space between the lines would be nice. Perhaps a rotation option as well. Both should be possible. I'll work on this later today. Quote My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
MJW Posted August 27, 2015 Share Posted August 27, 2015 (edited) Form.ActiveForm.Invoke(new Action(delegate() { MessageBox.Show("You can not use the font '" + this.Amount4.Name + "'.\n\nPlease choose a different font.", "Font Error"); })); Though that works, perhaps use the following instead, which is Rick Brewster-Approved: void ShowMessage(string msg, string caption) { PaintDotNet.Threading.PdnSynchronizationContext.Instance.Send( new System.Threading.SendOrPostCallback(delegate(object state) { // This line runs on the UI thread and not on the Render thread System.Windows.Forms.MessageBox.Show(msg, caption); }), null); } Edited August 27, 2015 by MJW 1 Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted August 28, 2015 Author Share Posted August 28, 2015 (edited) Though that works, perhaps use the following instead, which is Rick Brewster-Approved: Yeah, I think I like better. The render thread is no place for a messagebox. I do not know if it is possible but an option to control the space between the lines would be nice. Perhaps a rotation option as well. Ok, I've looked into both of these. Line Height: This can be done in .Net, but the only method I found was not very elegant, as it had to be calculated manually. I'm not sure I want to add it. https://msdn.microsoft.com/en-us/library/xwf9s90b.aspx Rotation: There are a few different ways to do it, depending on what you want. Thoughts? 1) Obviously, an regular rotation would give you this: You could either fill in the transparent corners with the background color, or you could tile the image (aka wrapped): 2) I could use the old Pythagorean theorem on the selection rectangle, and use the result as the height and width of my text rectangle. That way it would be large enough that there would be no transparent corners when rotated. I have not tried this yet, but I think it could work. Edited August 28, 2015 by toe_head2001 Quote My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Eli Posted August 28, 2015 Share Posted August 28, 2015 (edited) Well, I know BoltBait does not like counting/calculating manually so it must not be recommended. For the rotation option, I like the second approach. Independently of font size, I wonder if a"zoom" would help fill the rectangle. Post edit: Does the effect "Text+" use the same method for Line Space? Edited August 28, 2015 by Eli Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted August 28, 2015 Author Share Posted August 28, 2015 Does the effect "Text+" use the same method for Line Space? dpy never posted his source code for that, so can't say for sure. However, I suspect he did, or some variation of it. I don't like how Line Spacing was implemented in Text+ though. You have to set it to a fix amount, and that doesn't work well when you change the font size. It gives you 100% of control, but at the cost automation. I prefer how word processors do it: scale. Line spacing of 1.00x, 1.15x, 1.50x, 2.00x, ect. That way it can work with whichever font size. Quote My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
toe_head2001 Posted August 29, 2015 Author Share Posted August 29, 2015 V1.1 bugfix release. See first post. @Eli I tried a few approaches to rotation, but none of them worked in a way that would give a good user-experience. Sorry. Quote My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Pixey Posted October 5, 2015 Share Posted October 5, 2015 I only just noticed this Plugin - it's really neat - thanks . Quote How I made Jennifer & Halle in Paint.net My Gallery | My Deviant Art "Rescuing one animal may not change the world, but for that animal their world is changed forever!" anon. Link to comment Share on other sites More sharing options...
toe_head2001 Posted October 7, 2015 Author Share Posted October 7, 2015 Version v1.2 posted. See first post for change log. Quote My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Maximilian Posted October 9, 2015 Share Posted October 9, 2015 Thanks for the update, toe_head! I love the way the italic text follows a body's italic movement Follows the version of the plugin compatible with the vintage 3.5.11, should anyone else need it Text Window v1.2 for PdN 3.5.11.zip 1 Quote Link to comment Share on other sites More sharing options...
lynxster4 Posted October 18, 2015 Share Posted October 18, 2015 (edited) Oooohhhhh, this is very interesting plugin. Many possibilities are dancing in my head. Thank you, toe_head2001! I've been liking the plugins you've been creating. Edited July 27, 2017 by lynxster4 re-hosted image 1 Quote My Art Gallery | My Shape Packs | ShapeMaker Mini Tut | Air Bubble Stained Glass Chrome Text with Reflections | Porcelain Text w/ Variegated Coloring | Realistic Knit PatternOpalescent Stained Glass | Frosted Snowman Cookie | Leather Texture | Plastic Text | Silk Embroidery Visit my Personal Website "Never, ever lose your sense of humor - you'll live longer" Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted October 24, 2015 Share Posted October 24, 2015 Follows the version of the plugin compatible with the vintage 3.5.11, should anyone else need it Text Window v1.2 for PdN 3.5.11.zip Please update post #3 (i.e. remove the earlier version). Thanks. Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
Maximilian Posted October 24, 2015 Share Posted October 24, 2015 Done. Quote Link to comment Share on other sites More sharing options...
iiSponge Posted January 15, 2016 Share Posted January 15, 2016 How do I actually download it?? Just wondering coz its my first plugin off this page. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.