GIMP Chat
http://gimpchat.com/

Font Changing
http://gimpchat.com/viewtopic.php?f=8&t=19552
Page 1 of 1

Author:  nixnine [ Wed Aug 18, 2021 2:27 pm ]
Post subject:  Font Changing

GIMP Version: 2.10.24
Operating System: Linux
OS Version: Linux Mint 20.1 Cinnamon (Kernel 5.4.0-58)
GIMP Experience: Experienced User



I will create a design with specific fonts. When I reopen that design and try to edit the text, the font always changes to "Standard Symbols".

How can I prevent this from happening?

Author:  rich2005 [ Thu Aug 19, 2021 3:29 am ]
Post subject:  Re: Font Changing

No replies ?

It might be peculiar to your installation, however the usual cause is simply the font is no longer available to Gimp.

It might be the .xcf file was made on another machine and the font used is not installed on the current computer
or
The font is not 'global' it is a Gimp only font and for some reason moved out of the Gimp user fonts folder. This can happen when using a resource manager.

You might already have this plugin, A little ofnuts utility text-info-0.1.py (dated 2014-08-26) from http://sourceforge.net/projects/gimp-to ... s/scripts/

Providing you have not 'altered' the text layer, it gives some details. A 30 second example here: https://i.imgur.com/YKN2dBY.mp4

The plugin entry is bottom of the layers menu.
Then it is down to a search for the missing font ;)

edit: Just a thought. Gimp 2.10.24 - then not default which is 2.10.18 - is this a flatpak / snap / PPA gimp 2.10.24 ?

Author:  nixnine [ Thu Aug 19, 2021 11:33 am ]
Post subject:  Re: Font Changing

I am using flatpak 2.10.24.

I have installed the plug-in you suggested and that does help in identifying the fonts prior to editing them.

All my fonts travel with me from one installation to the next. My Gimp file folder, which is set up in the preferences at every system/version update, is always available. When I go to edit the text, it just changes to the "Standard Symbols" font yet the font which was used is still available in the font menu.

It's odd, for sure.

I thought there might be a default somewhere that I missed.

Thanks.

Author:  rich2005 [ Thu Aug 19, 2021 11:50 am ]
Post subject:  Re: Font Changing

Best guess, but you might have covered it in your post. However FWIW.
I do not have a Gimp 2.10.24 flatpak, similar, this is the development flatpak in a Mint 20 VM

Attachment:
appimage.jpg
appimage.jpg [ 65.65 KiB | Viewed 2077 times ]


I would check the paths to the fonts folders in your installation and if necessary put the missing fonts in
either
~/.var/app/org.gimp.GIMP/config/Gimp/2.10/fonts (crazy flatpak user profile)
or
add a new path pointing to your fonts.

Author:  Tas_mania [ Thu Aug 19, 2021 5:53 pm ]
Post subject:  Re: Font Changing

Quote:
I reopen that design and try to edit the text


Just a reminder - Gimp is an image app and not a publishing app. When you save your work [that contains fonts] as an XCF file, you now have an image of those fonts not the fonts themselves.

Author:  racer-x [ Thu Aug 19, 2021 6:27 pm ]
Post subject:  Re: Font Changing

I have a weird font problem on my Gimp 2.10.24 installed via PPA. It doesn't recognize Bitstream Character Bold that is installed on my system. Yet the Gimp 2.10.24 Appimage has no such problems.

Attachment:
font.png
font.png [ 24.68 KiB | Viewed 2041 times ]

Author:  Tas_mania [ Fri Aug 20, 2021 4:14 am ]
Post subject:  Re: Font Changing

Hi racer. The installed Gimp version fonts are in /$HOME/.config/GIMP/2.10/fonts/
I copied all the fonts from $HOME/.config/GIMP-AppImage/2.10/fonts/ to above location.

This is what I get when I use bitstream charter bold with installed Gimp:

Image

None of the fonts that have those symbols next to them work for me also.
The font works OK in the Gimp appimage. I recon this is one for rich2005.

Author:  rich2005 [ Fri Aug 20, 2021 6:06 am ]
Post subject:  Re: Font Changing

All to do with the version of linux used and the pango libraries for font rendering. To keep it short, ubuntu 20.04 (and Mint 20) use a recent version of pango that does not support Adobe Type 1 and bitmap fonts. See: https://github.com/GNOME/pango/blob/main/NEWS down at version 1.44 The appimage has a older built-in version of pango and renders the fonts. This in my kubuntu 20.04 with a Gimp that uses system libraries (top) versus a Gimp 2.10.25 appimage.

Attachment:
adobefont.jpg
adobefont.jpg [ 121.15 KiB | Viewed 1991 times ]



Nixnine's issue might be that, but I think is a bit different, opens a Gimp image, tries to edit text and it reverts to the default font. A sure sign the original font is missing, probably compounded by a 'sandboxed' flatpak Gimp.

Author:  nixnine [ Sat Aug 21, 2021 12:37 am ]
Post subject:  Re: Font Changing

Tas_mania wrote:
Quote:
I reopen that design and try to edit the text


Just a reminder - Gimp is an image app and not a publishing app. When you save your work [that contains fonts] as an XCF file, you now have an image of those fonts not the fonts themselves.



I'm sorry, but I'm not sure what this means. In my years of using Gimp, saved XCF files have always opened up with the fonts, if they were accessible to the program via the path listed in the font folder preference.

Author:  nixnine [ Sat Aug 21, 2021 12:40 am ]
Post subject:  Re: Font Changing

rich2005 wrote:
Best guess, but you might have covered it in your post. However FWIW.
I do not have a Gimp 2.10.24 flatpak, similar, this is the development flatpak in a Mint 20 VM

Attachment:
appimage.jpg


I would check the paths to the fonts folders in your installation and if necessary put the missing fonts in
either
~/.var/app/org.gimp.GIMP/config/Gimp/2.10/fonts (crazy flatpak user profile)
or
add a new path pointing to your fonts.


Yes, that was the first thing I did. Anyway, the ofnuts plugin is a big help until I can grok what the issue is. Thanks!

Author:  Tas_mania [ Sat Aug 21, 2021 5:00 am ]
Post subject:  Re: Font Changing

Quote:
saved XCF files have always opened up with the fonts

I see what you mean. If you leave the text tool layer active when you save to XCF you can re-open and edit text with the same font.
(or any other font)

Try Edit>Preferences>Tool Options > Reset Saved Tool Options To Default Values. It should remember the last font used after that I recon. You may lose some other tool option you previously set. Maybe another Gimp user knows another way to do it?

Author:  rich2005 [ Sat Aug 21, 2021 7:30 am ]
Post subject:  Re: Font Changing

This is for the 'old'.xcf file and missing font issue with flatpak Gimp 2.10.24

Flatpak Gimp is sandboxed and is 'picky' about networked / external drives. If you keep your Gimp resources on say a memory stick chances are Gimp will not see them.

You can of course use the flatpak Gimp user profile ~/.var/app/org.gimp.GIMP/config/Gimp/2.10 but it is a tedious location.
My suggestion for fonts is back to linux basics and create a ~/.fonts folder. Any font in there is available to user applications as well as Gimp.

My example of this - 3 minutes duration - Mint20 - Gimp 2.10.24 flatpak https://youtu.be/pi88_tujXFY

Author:  Qruqs [ Mon Aug 23, 2021 5:52 pm ]
Post subject:  Re: Font Changing

You could say that again! Had huge problems with G'MIC due to those locked down things (tried snap as well, same-ish problem). Installed from the repo (slightly older version) because I was too lazy to dig out all the docs on how to compile Gimp.

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