GIMP Chat
http://gimpchat.com/

Update to Custom Font Layers from Fonts for Gimp 2.10 to Version 0.06
http://gimpchat.com/viewtopic.php?f=9&t=17640
Page 1 of 1

Author:  Skinnyhouse [ Tue Aug 13, 2019 9:11 am ]
Post subject:  Update to Custom Font Layers from Fonts for Gimp 2.10 to Version 0.06

Also posted on GimpLearn:

Attachment:
Custom_Font_Layers_From_Fonts_V0-06.zip [4.39 KiB]
Downloaded 200 times


I have added options to convert at least some French/German/Italian/Spanish characters to Custom Font layers.
Obviously the characters must be present in the original font.
I have also taken the opportunity to prevent empty layers from being added as character layers.

Attachment:
Language_Demo.jpg
Language_Demo.jpg [ 321.93 KiB | Viewed 4500 times ]

Author:  MareroQ [ Wed Aug 14, 2019 3:01 am ]
Post subject:  Re: Update to Custom Font Layers from Fonts for Gimp 2.10 to Version 0

Well done.

I have only a small suggestion:
When using national characters for "Create only the layers below" gives an error.
To consider:
- adding one line of code:
restricted_case = restricted_case.decode("utf-8")

- replacement of these lines:
    max_width = 0
    max_height = 0

on:
    max_width = 1
    max_height = 1

For me, after the changes it seems to work well.

Attachments:
Error utf.png
Error utf.png [ 75.54 KiB | Viewed 4457 times ]

Author:  Skinnyhouse [ Wed Aug 14, 2019 12:49 pm ]
Post subject:  Re: Update to Custom Font Layers from Fonts for Gimp 2.10 to Version 0

Thank goodness for people like you MareroQ.

I didn't think anyone actually used the restricted set of characters. But yes it would certainly throw up errors if you tried to use non-English characters in that option.

Bit busy at the moment but I shall certainly re-code that particular one.

Thanks again!

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