RSS/Atom feed Twitter
Site is read-only, email is disabled

fonts

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

9 of 9 messages available
Toggle history

Please log in to manage your subscriptions.

fonts William Skaggs 10 Sep 19:47
  fonts Sven Neumann 10 Sep 20:39
  fonts Nathan Summers 11 Sep 05:26
   fonts Michael Schumacher 11 Sep 08:01
   fonts Sven Neumann 11 Sep 09:28
    fonts Nathan Summers 11 Sep 10:17
     fonts Sven Neumann 12 Sep 13:55
    fonts Tor Lillqvist 11 Sep 17:10
fonts William Skaggs 13 Sep 18:51
William Skaggs
2004-09-10 19:47:52 UTC (over 19 years ago)

fonts

Hi,

I would like to add some information about fonts to gimp-help-2, but I'm hampered by lack of knowledge. Here is what I know: In Linux, you can add a Truetype or Freetype font by putting it in your ~/.fonts directory or your .gimp-2.0/fonts directory.

Here is what I would like to know:

1) Can you use other types of fonts in GIMP? Are there any types for which special things need to be done?

2) Are there any Linux setups on which GIMP 2.0 or GIMP 2.1 runs but where you need to do things differently?

3) How do you add fonts in Windows, and what types of fonts can GIMP use there?

I know enough about the problems people have had with malformed fonts to be able to give some useful advice, I think (i.e., don't close the console window that pops up!). One more question, though:

4) If you want to create special characters (i.e., non-ascii) with the Text tool, what is the right (and/or easiest) way to do it?

Thanks for any informatin,

-- Bill

______________ ______________ ______________ ______________ Sent via the KillerWebMail system at primate.ucdavis.edu

Sven Neumann
2004-09-10 20:39:08 UTC (over 19 years ago)

fonts

Hi,

"William Skaggs" writes:

I would like to add some information about fonts to gimp-help-2,

You have read http://gimp.org/unix/fonts.html, haven't you?

I would also suggest not to duplicate that information in gimp-help-2 but simply to link to this page. If there's info missing, it should probably be added there.

Here is what I know: In Linux, you can add a Truetype or Freetype font by putting it in your ~/.fonts directory or your .gimp-2.0/fonts directory.

I am sorry, but what is a FreeType font? You probably mean OpenType?!

Here is what I would like to know:

1) Can you use other types of fonts in GIMP? Are there any types for which special things need to be done?

You can use any font that FreeType2 can handle. By default, FreeType2 supports the following font formats:

* TrueType fonts (and collections) * Type 1 fonts
* CID-keyed Type 1 fonts
* CFF fonts
* OpenType fonts (both TrueType and CFF variants) * SFNT-based bitmap fonts
* X11 PCF fonts
* Windows FNT fonts
* BDF fonts (including anti-aliased ones) * PFR fonts
* Type42 fonts (limited support)

(see http://www.freetype.org/freetype2/index.html#features).

3) How do you add fonts in Windows, and what types of fonts can GIMP use there?

The same code is used to render fonts on Windows so the same information applies here. Actually we should move http://gimp.org/unix/fonts.html out of the unix directory.

4) If you want to create special characters (i.e., non-ascii) with the Text tool, what is the right (and/or easiest) way to do it?

Use a character picker tool like gucharmap. gucharmap can also install a GTK+ input module so it is directly available from the right-click menu in the GIMP text editor.

Sven

Nathan Summers
2004-09-11 05:26:56 UTC (over 19 years ago)

fonts

On Fri, 10 Sep 2004 10:47:52 -0700, William Skaggs wrote:

3) How do you add fonts in Windows, and what types of fonts can GIMP use there?

The easiest way is to drag the file onto the Fonts directory and let the shell do its magic. Unless you've done something creative, it's probably in its default location of C:\windows\fonts or C:\winnt\fonts. Sometimes double-clicking on a font will install it as well as display it; sometimes it only displays it. I don't know what the pattern is.

I would imagine that GIMP can use any type of font on Windows that FreeType can handle, although figuring out how to install fonts that Windows can't handle natively is left as an exercise for the reader.

The support Windows has varies by version; all that GIMP runs on support at least TrueType, Windows FON, and Windows FNT. 2000 and later support Type 1 and OpenType. ME supports OpenType. I don't know about Type 1.

To install a Type 1 file, you need both the .pfb and .pfm. Drag the one that gets an icon into the fonts folder. The other one doesn't strictly need to be in the same directory when you drag the file, since it uses some kind of search algorithm to find it if it's not, but I'm not sure what the algorithm is, and only know that it does this because I've accidentally put the other file in the wrong directory.

Rockwalrus

Michael Schumacher
2004-09-11 08:01:11 UTC (over 19 years ago)

fonts

Nathan Summers schrieb:

On Fri, 10 Sep 2004 10:47:52 -0700, William Skaggs wrote:

3) How do you add fonts in Windows, and what types of fonts can GIMP use there?

The easiest way is to drag the file onto the Fonts directory and let the shell do its magic. Unless you've done something creative, it's probably in its default location of C:\windows\fonts or C:\winnt\fonts. Sometimes double-clicking on a font will install it as well as display it; sometimes it only displays it. I don't know what the pattern is.

Fonts files that can be installed have an "Install" entry in their context menu, too. Additionally, copy&paste of fonts files works as well.

I would imagine that GIMP can use any type of font on Windows that FreeType can handle, although figuring out how to install fonts that Windows can't handle natively is left as an exercise for the reader.

I hope that the docs will describe that arbitrary other font directories can be added in GIMP's preferences.

HTH, Michael

Sven Neumann
2004-09-11 09:28:54 UTC (over 19 years ago)

fonts

Hi,

Nathan Summers writes:

3) How do you add fonts in Windows, and what types of fonts can GIMP use there?

The easiest way is to drag the file onto the Fonts directory and let the shell do its magic. Unless you've done something creative, it's probably in its default location of C:\windows\fonts or C:\winnt\fonts. Sometimes double-clicking on a font will install it as well as display it; sometimes it only displays it. I don't know what the pattern is.

I would imagine that GIMP can use any type of font on Windows that FreeType can handle, although figuring out how to install fonts that Windows can't handle natively is left as an exercise for the reader.

The support Windows has varies by version; all that GIMP runs on support at least TrueType, Windows FON, and Windows FNT. 2000 and later support Type 1 and OpenType. ME supports OpenType. I don't know about Type 1.

To install a Type 1 file, you need both the .pfb and .pfm. Drag the one that gets an icon into the fonts folder. The other one doesn't strictly need to be in the same directory when you drag the file, since it uses some kind of search algorithm to find it if it's not, but I'm not sure what the algorithm is, and only know that it does this because I've accidentally put the other file in the wrong directory.

The information given above may be appropriate for adding fonts to your win32 system but it is irrelevant for GIMP on Win32. Please read my other mail in this very thread.

Sven

Nathan Summers
2004-09-11 10:17:24 UTC (over 19 years ago)

fonts

On 11 Sep 2004 09:28:54 +0200, Sven Neumann wrote:

The information given above may be appropriate for adding fonts to your win32 system but it is irrelevant for GIMP on Win32. Please read my other mail in this very thread.

That's funny. Works for me. I'd call the method I use to install fonts that I use in GIMP on Win32 very relevant. I don't do anything that is gimp-specific. Please see my other mail in this very thread.

Rockwalrus

Tor Lillqvist
2004-09-11 17:10:39 UTC (over 19 years ago)

fonts

Sven Neumann writes:
> The information given above may be appropriate for adding fonts to > your win32 system but it is irrelevant for GIMP on Win32.

On Win32, fontconfig by default uses the Windows fonts directory, i.e. the same fonts that Windows uses itself.

--tml

Sven Neumann
2004-09-12 13:55:13 UTC (over 19 years ago)

fonts

Hi,

Nathan Summers writes:

The information given above may be appropriate for adding fonts to your win32 system but it is irrelevant for GIMP on Win32. Please read my other mail in this very thread.

That's funny. Works for me. I'd call the method I use to install fonts that I use in GIMP on Win32 very relevant. I don't do anything that is gimp-specific. Please see my other mail in this very thread.

If it works, it works because fontconfig on Win32 is by default setup to pick the fonts from the same directories that the operating systems expects them. That is of course intentional but doesn't change the fact that GIMP on Win32 doesn't care about whether fonts are installed for the win32 operating system or not. All it cares about is whether fontconfig sees them. So what you've written about how to install fonts is rather misleading because it makes people believe that GIMP would request the system fonts which it doesn't.

Sven

William Skaggs
2004-09-13 18:51:05 UTC (over 19 years ago)

fonts

Sven, Tor, Michael, Nathan, thanks for all the information. I've tried to synthesize it into something both correct and helpful. The result should show up at http://docs.gimp.org/en/ within a couple of days, in section 2.4.11: maybe you can look it over to see if there's anything I've screwed up.

Best, -- Bill


______________ ______________ ______________ ______________ Sent via the KillerWebMail system at primate.ucdavis.edu