GIMP Chat
http://gimpchat.com/

Diferent layout for plugin FontSlab by Skinnyhouse.
http://gimpchat.com/viewtopic.php?f=9&t=19616
Page 1 of 1

Author:  MareroQ [ Sat Sep 25, 2021 11:59 am ]
Post subject:  Diferent layout for plugin FontSlab by Skinnyhouse.

Hi Skinnyhouse.

I don't know if I can experiment with such a good plugin.
Will You accept the tabs (according to gimpfu3 by J.F. Garcia [arakne] ) and the new "Help" type for Your plugin?

If YES - tell me what would be the best division of tabs (names and attached commands)?.

Attachments:
Font_Slab.png
Font_Slab.png [ 115.15 KiB | Viewed 2130 times ]

Author:  Skinnyhouse [ Sat Sep 25, 2021 3:12 pm ]
Post subject:  Re: Diferent layout for plugin FontSlab by Skinnyhouse.

:bigthup :bigthup

This is very interesting and exciting stuff M.

You are way ahead of me here with Gimpfu3. You must provide more information.

I will have a think about the groups of options for the tabs and get back to you.

Author:  MareroQ [ Sat Sep 25, 2021 9:20 pm ]
Post subject:  Re: Diferent layout for plugin FontSlab by Skinnyhouse.

Some information about gimpfu3.

It was actually a coincidence: I was looking for an answer as to why the older plugins did not support the colors of the chosen theme.
Fallow-Path by arakne from 2014 was also such a plugin.
I looked at the code with interest and found it very easy to adapt gimpfu3 to other plugins (and doesn't require knowledge of gtk).
I act like this:
1. On site
'from gimpfu import *' paste gimpfu3 code (to avoid Windows problems with multipart plugs, but also for the user's convenience when installing the plugin),
2. I only modify the data contained in the register () according to simple rules and supplement def (.....) with added parameters.
This way, there is no conflict between the original gimpfu.py and gimpfu3, and I don't interfere with the plugin's runtime (whose logic sometimes I don't understand yet).

It's really simple and fast (just a few new PF_XYZ rules) and I still don't understand why these great solutions haven't been followed by other plugin authors. :roll:
I changed your plug in less than an hour and it works fine.
Just because only the author knows everything about his plugin, take your time to answer - you will learn the rules, change this plugin and a few others from your extensive collection. :bigthup
Ideally, you should also add a preview, but fu_preview has a few additional limitations. :geek

Author:  Skinnyhouse [ Sun Sep 26, 2021 2:26 am ]
Post subject:  Re: Diferent layout for plugin FontSlab by Skinnyhouse.

Wonderful - sounds almost too good to be true M. :tyspin

I have thought about the grouping of the tabs and know how I would like this to look.

I think that I would also like a drop-down option to replace the 'Use custom font' toggle with 'Use custom font' and 'Use normal font'.

Would it be easier if I altered the existing version of FontSlab with these changes to the dialog and passed it over to you or should I work from your existing version of the tabbed FontSlab?

Not sure about a preview option.

:coolthup

Author:  MareroQ [ Sun Sep 26, 2021 5:19 am ]
Post subject:  Re: Diferent layout for plugin FontSlab by Skinnyhouse.

I think You should have full personal control - so play with my attachment (to be removed when You publish an authorized version).

Attachment removed 29/09/2021.
Skinnyhouse works very fast. :yes
The operation was successful.
Authorized version for download here.


Attachments:
FS012TAB.jpg
FS012TAB.jpg [ 96.75 KiB | Viewed 2008 times ]

Author:  Skinnyhouse [ Sun Sep 26, 2021 6:02 am ]
Post subject:  Re: Diferent layout for plugin FontSlab by Skinnyhouse.

That's very generous of you M.

Here is the look of the untabbed version that would use the new dialog arrangement and slight modifications...


Attachment:
Dialog_v0_13.jpg
Dialog_v0_13.jpg [ 101.42 KiB | Viewed 1994 times ]


This would equate to 3 tabs for the filter options plus 1 tab for the tutorials

Tab 1: Fonts & Colours
Tab 2: Size and Spacing
Tab 3: Rotation, Repeats & Reversals
Tab 4: Help Guide

Attachment:
Fun_Begin.jpg
Fun_Begin.jpg [ 89.41 KiB | Viewed 1994 times ]

Author:  MareroQ [ Sun Sep 26, 2021 6:36 am ]
Post subject:  Re: Diferent layout for plugin FontSlab by Skinnyhouse.

It looks very good. :yes
I will be looking forward to your version.
I can also dream of adding other options / tabs (only available for CustomFonts type: BRL, Glow, Sheen ...et cetera :jackbox ).
All in one is a bit of an exaggeration, but there can be many more tabs. :hi5

Author:  PixLab [ Sun Sep 26, 2021 7:40 am ]
Post subject:  Re: Diferent layout for plugin FontSlab by Skinnyhouse.

Skinnyhouse wrote:
Not sure about a preview option.

If I may...
As a user, having a preview is always a must to have, as we don't have to guess then Ctrl+Z then re-do it and so. If we can adjust live (like in the MareroQ's BoxText) that would be awesome.
Also GIMP pushing everything GEGL = thus preview, people will prefer to have a preview ;)
Just my thought as a user :mrgreen:

Author:  MareroQ [ Sun Sep 26, 2021 7:58 am ]
Post subject:  Re: Diferent layout for plugin FontSlab by Skinnyhouse.

The whole problem with fu_preview by cli345 is that when a plug-in uses: PF_BRUSH, PF_CHANNEL, PF_DIRNAME, PF_FILE, PF_FILENAME, PF_VECTORS it, it stops working.
So you can't (yet???) adapt a lot of cool plugins ...

Author:  Skinnyhouse [ Sun Sep 26, 2021 7:59 am ]
Post subject:  Re: Diferent layout for plugin FontSlab by Skinnyhouse.

PixLab:
It's not that I wouldn't like a preview - it's the amount of work involved.

M:
Perhaps put every custom font tool into a tabbed version? ;) :hehe
Way to go then!

Author:  Skinnyhouse [ Sun Sep 26, 2021 10:29 am ]
Post subject:  Re: Diferent layout for plugin FontSlab by Skinnyhouse.

All done as version 0.14 Tab.

Just need to redo the help guide for the new dialog...

:bigthup

Author:  Skinnyhouse [ Sun Sep 26, 2021 11:44 am ]
Post subject:  Re: Diferent layout for plugin FontSlab by Skinnyhouse.

New dialog tabs...
Attachment:
Dialog_v0_14-Tab.jpg
Dialog_v0_14-Tab.jpg [ 233.73 KiB | Viewed 1093 times ]

Author:  Skinnyhouse [ Sun Sep 26, 2021 1:39 pm ]
Post subject:  Re: Diferent layout for plugin FontSlab by Skinnyhouse.

Attachment:
Example.jpg
Example.jpg [ 172.25 KiB | Viewed 1084 times ]

Author:  Skinnyhouse [ Tue Sep 28, 2021 3:06 am ]
Post subject:  Re: Diferent layout for plugin FontSlab by Skinnyhouse.

I have just finished updating the guides to FontSlab v0.14-tab with the the new tabbed dialogs.

It is rather unfortunate that these changes come shortly after introducing the new guide - but the tabs will make the plug-in easier to display for those people who have trouble accessing long dialogs - thanks to MrQ's good work on accessing gimpu3.

The remaining job to do is to update the links in the plug-in to the online guides; once uploaded when I will know the actual web links.

So for a short time after posting the new thread the new plug-in itself will not be available.

I hope to do this in the next few days - sorry for any inconvenience in advance. :hoh :gaah :bigthup

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/