You are here

GIMP: Font Directory

5 posts / 0 new
Last post
raddar
Offline
Last seen: 8 years 7 months ago
Joined: 2016-04-05 10:58
GIMP: Font Directory

Hello,
I want to add fonts to GIMP Portable 2.8.14 on Windows portableapps, not to Windows to use them on any PC.
1- Is there a Directory already planned for this in GIMP portableapps?
2 - In GIMP: Edit> Preferences> Folders> Fonts, you can point font folders. How to Write a relative path (relative to the path and letter of changing drive where GIMP is depending on the PC)?

thank you

John T. Haller
John T. Haller's picture
Online
Last seen: 6 min 42 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Location

The best thing to do is add them to the PortableApps.com Platform so that GIMP can use them as well as all your other apps:

PortableApps\PortableApps.com\Data\Fonts

You can also add them only for GIMP Portable here:

GIMPPortable\Data\.gimp\fonts

Sometimes, the impossible can become possible, if you're awesome!

raddar
Offline
Last seen: 8 years 7 months ago
Joined: 2016-04-05 10:58
GIMP Font Directory

Here is the solution:
It is better to install a single directory containing all relevant font in all applications. So "PortableApps \ PortableApps.com \ Data \ Fonts" from John T. Haller.
It must then go to preferences : "Edit> Preferences> Folders> Fonts" and specify a RELATVE path in GIMP.
"..\..\..\..\..\Data\Fonts" (without the quotes) ... It works.
Or if you want to place the fonts in a GIMP directory. For example "GIMPPortable \ Data \ gimp \ fonts". The RELATIVE path is :
"..\..\..\Data\.gimp\fonts" (without the quotes) ... It works.

mrw2day
Offline
Last seen: 1 year 1 month ago
Joined: 2013-12-23 07:30
Could there be an error in gimp launcher

John, I am finding PortableApps\Data\Fonts being set in portable Gimp as an alternative font source and not PortableApps\PortableApps.com\Data\Fonts. Might there be an error in the launcher files which determine this. I sorta looked around at a couple ini files and didn't see anything, but I don't really know what I'm looking for. I know I can correct within Gimp preferences, but won't I be out of luck if I use a different computer that sets a different drive letter for my thumb drive?

Thanks for all you do!

Marshall

John T. Haller
John T. Haller's picture
Online
Last seen: 6 min 42 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
DefaultData Bug

It looks like a DefaultData bug. The gimprc within DefaultData should be as follows:

# GIMP gimprc
# 
# This is your personal gimprc file.  Any variable defined in this file takes
# precedence over the value defined in the system-wide gimprc:
# ..\GIMPPortable\App\gimp\etc\gimp\2.0\gimprc
# Most values can be set within GIMP by changing some options in the
# Preferences dialog.

(font-path "(INITIALGIMPDATADIRECTORY)\\.gimp\\fonts;(INITIALPORTABLEAPPSDIRECTORY)\\PortableApps.com\\Data\\Fonts")


# end of gimprc

You can manually set it to the correct location now by editing it and it should be automatically adjusted by the launcher going forward. I'll have the fix in the next release for new Data sets. I'll likely also code in a fix to adjust it on upgrade for existing users with custom installer code.

I've created a bug to track this here: https://portableapps.com/node/57513

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments