It is currently Sun Jun 30, 2024 11:42 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: custom font output problems[solved]
PostPosted: Wed Oct 21, 2020 12:09 am  (#1) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
GIMP Version: 2.8.14
Operating System: Windows
GIMP Experience: Intermediate Level

List any relevant plug-ins or scripts:
custom font



I have a folder with 346 custom fonts and I want to create a batch file to run each one with the text "Aa" as below and save each image to a folder with it's original xcf name for easy comparison of fonts, I might even put them all on the one image with the 'Roller plugin'

Image

but after I run custom font I am left with an image and layer without names so I tried to use (gimp-image-list) but hit a brick wall

> (gimp-image-list)
(1 #(2))
> (cadr (gimp-image-list))
#(2)
I can't get (set! img 2)

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Last edited by Graechan on Wed Oct 21, 2020 5:22 am, edited 1 time in total.

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: custom font output problems
PostPosted: Wed Oct 21, 2020 2:07 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Aug 08, 2016
Posts: 2060
Location: East Midlands of England
In my set of custom font tools there is a folder utility that generates png thumbnails for custom fonts. The code, although in python, may contain something you can use in scheme. Link here:

Custom Font Tools Release 12

It currently generates an image according to the rules:

'Ab' image when detecting upper-case and lower-case characters.
'AB' image when detecting only upper-case characters.

Examples below:

Attachment:
Bolonewt_Fizzy_Orange.png
Bolonewt_Fizzy_Orange.png [ 137.18 KiB | Viewed 2146 times ]


Attachment:
Bolonewt_Style_Whorl.png
Bolonewt_Style_Whorl.png [ 129.84 KiB | Viewed 2146 times ]

_________________
Image

"Let no one steal your dreams."
Paul Cookson


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


Top
 Post subject: Re: custom font output problems
PostPosted: Wed Oct 21, 2020 5:21 am  (#3) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Thanks for that Skinnyhouse I guess I was in a world of my own and didn't realize that what I wanted was already there :oops:

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) custom font

8

No new posts Can this be used for Custom Font?

5

No new posts Attachment(s) Custom Font Paragrapher v1.2 Tabbed

2

No new posts Attachment(s) Custom Font Tools: Release 14

0

No new posts Attachment(s) Custom Font Character Paths

39


cron

* Login  



Powered by phpBB3 © phpBB Group