Switch to full style
Post your gradients and patterns here
Post a reply

Adding Larger Custom Fonts (Trial Number 2)

Sun Feb 19, 2023 10:05 am

Thanks to those who downloaded the first trial version of my Splitter plug-in which sadly threw errors in Linux.

Trial 2: Version 01 of the plug-in.

If you would like to try this out, download the plug-in, extract it and place it in your user plug-ins folder.

Custom_Font_File_Stitcher_v_01.zip
(3.91 KiB) Downloaded 3485 times


Download the two custom font file attachments. Only the first (which, when de-compressed, exceeds the file size limit here) is zipped.
Create a suitable folder for this task and extract the first file and then place both files into your new test folder.

Mama_Fusion.zip
(3.82 MiB) Downloaded 3462 times


Mama_Fusion_1.xcf
(4.05 MiB) Downloaded 3526 times


Instructions for using stitcher in next post...

Re: Adding Larger Custom Fonts (Trial Number 2)

Sun Feb 19, 2023 10:17 am

It worked!
The output of the variables:
Code:
Parent image filepath = /tmp/Fonttest/Mama_Fusion.xcf

Parent image base = /tmp/Fonttest/Mama_Fusion

Parent folder path = /tmp/Fonttest/Mama_Fusion.xc

Child file 1 = /tmp/Fonttest/Mama_Fusion_1.xcf

Re: Adding Larger Custom Fonts (Trial Number 2)

Sun Feb 19, 2023 10:24 am

Instructions for Stitcher v 01

Start up Gimp and open the parent file Mama_Fusion

File>Open...

Navigate to your folder and find the file to open.

Call up the filter dialog using:

Filters>Custom Fonts>Constructing Tools>Custom Font File Stitcherv01...

Stitcher_Dialog_01.jpg
Stitcher_Dialog_01.jpg (44.05 KiB) Viewed 763027 times


The new option provides a means of viewing the filenames and paths used - but only if the filter succeeds!

If successful all 72 characters (the thumbnail below doesn't count the space character) of the original custom font should now be available in Gimp ready to be re-saved.

As before I would appreciate it if users could let me know if it works on non-Windows OS.

Mama_Fusion.png
Mama_Fusion.png (267.6 KiB) Viewed 763027 times

Re: Adding Larger Custom Fonts (Trial Number 2)

Sun Feb 19, 2023 10:41 am

:bigthup Thanks Nelo - boy you're quick off the mark!

Re: Adding Larger Custom Fonts (Trial Number 2)

Sun Feb 19, 2023 8:34 pm

OK, this time it worked under some conditions. :bigthup
It works only if I opened the file without numbering first. (yes I'm dumb, but I'm ok with that :mrgreen: )

The first try I opened the file called Mama_Fusion_1.xcf and got this error:
screenshot_20230220-091615.jpg
screenshot_20230220-091615.jpg (99.02 KiB) Viewed 763003 times


It adds an "_1" to the file name it is searching for, instead of reading/opening Mama_Fusion_1.xcf, it tries to open Mama_Fusion_1_1.xcf (2 times "_1")
Um... How to say it, I got another horrible thought :rofl
Maybe a add function to open all file-name-[x].xcf / file-name.xcf except the one file-name-[y].xcf / file-name.xcf which is already open?
I'm almost sure that I won't be the only one to do that dumb thing :hehe

Again thank you so much Skinnyhouse

Re: Adding Larger Custom Fonts (Trial Number 2)

Mon Feb 20, 2023 2:36 am

Thanks for testing Patrice.

That error sounds good - that's what i would expect to happen. A little bit of code will check for that occurence in future and sort it out.

As for splitting the files apart in the first place - the Splitter plug-in already exists - you don't think I did it manually. :hehe

Re: Adding Larger Custom Fonts (Trial Number 2)

Mon Feb 20, 2023 8:09 am

Skinnyhouse wrote:the Splitter plug-in already exists - you don't think I did it manually. :hehe


:rofl
Thanks for the laughter, that was a good one ;)
Post a reply