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

ttf problem

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.

6 of 7 messages available
Toggle history

Please log in to manage your subscriptions.

ttf problem Oleg Bartunov 26 May 15:11
  ttf problem Sven Neumann 26 May 16:22
   ttf problem Oleg Bartunov 26 May 17:48
    ttf problem Sven Neumann 26 May 20:00
     ttf problem Oleg Bartunov 28 May 11:19
20040526192851.GA6382@imagi... 07 Oct 20:23
  ttf problem Oleg Bartunov 27 May 08:53
Oleg Bartunov
2004-05-26 15:11:53 UTC (almost 20 years ago)

ttf problem

Hello,

I'm using gimp 2.01 on my Linux machine and don't understand why some truetype font ( bulgarian Kursiv ) doesn't displayed properly - english letters looks as expected, but cyrillic one looks like normal serif. gfontview shows all characters fine.

megera@mira:~$ xlsfonts | grep bulg -misc-bulgarian kursiv-medium-i-normal--0-0-0-0-p-0-iso10646-1 -misc-bulgarian kursiv-medium-i-normal--0-0-0-0-p-0-iso8859-1

Regards, Oleg
______________

Sven Neumann
2004-05-26 16:22:02 UTC (almost 20 years ago)

ttf problem

Hi,

Oleg Bartunov writes:

I'm using gimp 2.01 on my Linux machine and don't understand why some truetype font ( bulgarian Kursiv ) doesn't displayed properly - english letters looks as expected, but cyrillic one looks like normal serif. gfontview shows all characters fine.

megera@mira:~$ xlsfonts | grep bulg -misc-bulgarian kursiv-medium-i-normal--0-0-0-0-p-0-iso10646-1 -misc-bulgarian kursiv-medium-i-normal--0-0-0-0-p-0-iso8859-1

The output of xlsinfo is completely unrelated to fonts in GIMP 2.0. Please read http://gimp.org/unix/fonts.html

Sven

Oleg Bartunov
2004-05-26 17:48:57 UTC (almost 20 years ago)

ttf problem

On Wed, 26 May 2004, Sven Neumann wrote:

Hi,

Oleg Bartunov writes:

I'm using gimp 2.01 on my Linux machine and don't understand why some truetype font ( bulgarian Kursiv ) doesn't displayed properly - english letters looks as expected, but cyrillic one looks like normal serif. gfontview shows all characters fine.

megera@mira:~$ xlsfonts | grep bulg -misc-bulgarian kursiv-medium-i-normal--0-0-0-0-p-0-iso10646-1 -misc-bulgarian kursiv-medium-i-normal--0-0-0-0-p-0-iso8859-1

The output of xlsinfo is completely unrelated to fonts in GIMP 2.0.

yes, I know. It's just for illustration.

Please read http://gimp.org/unix/fonts.html

I have no problem with finding font, it's shown in list of fonts, I could select him. The problem is that cyrillic characters picked from another font, while there is no problem with latin chars.

screenshot is available from http://www.sai.msu.su/~megera/gimp/shot.png

Oleg

Sven

Sven Neumann
2004-05-26 20:00:47 UTC (almost 20 years ago)

ttf problem

Hi,

Oleg Bartunov writes:

Please read http://gimp.org/unix/fonts.html

I have no problem with finding font, it's shown in list of fonts, I could select him. The problem is that cyrillic characters picked from another font, while there is no problem with latin chars.

screenshot is available from http://www.sai.msu.su/~megera/gimp/shot.png

Does the font provide any cyrillic glyphs at all? Pango will fall back (based on info from fontconfig) to a different font if the choosen font cannot provide the requested glyph.

Sven

Oleg Bartunov
2004-05-27 08:53:22 UTC (almost 20 years ago)

ttf problem

On Wed, 26 May 2004, Dov Grobgeld wrote:

It appears that the font is not properly encoded. In order for fontconfig (which is part of the font technology used by gimp) to find the glyphs they have to be encoded in their unicode positions. I don't know what application you used to show the font map, but

gfontview

the cyrillic glyphs seem to be in the 128-255 range... Have a look at the font with gucharmap or pfedit instead.

Hmm, does that means I lost all fonts I used with old gimp ? Is't possible to convert ttf fonts to unicode ttf ?

Regards,
Dov

On Wed, May 26, 2004 at 07:48:57PM +0400, Oleg Bartunov wrote:

On Wed, 26 May 2004, Sven Neumann wrote:

Hi,

Oleg Bartunov writes:

I'm using gimp 2.01 on my Linux machine and don't understand why some truetype font ( bulgarian Kursiv ) doesn't displayed properly - english letters looks as expected, but cyrillic one looks like normal serif. gfontview shows all characters fine.

megera@mira:~$ xlsfonts | grep bulg -misc-bulgarian kursiv-medium-i-normal--0-0-0-0-p-0-iso10646-1 -misc-bulgarian kursiv-medium-i-normal--0-0-0-0-p-0-iso8859-1

The output of xlsinfo is completely unrelated to fonts in GIMP 2.0.

yes, I know. It's just for illustration.

Please read http://gimp.org/unix/fonts.html

I have no problem with finding font, it's shown in list of fonts, I could select him. The problem is that cyrillic characters picked from another font, while there is no problem with latin chars.

screenshot is available from http://www.sai.msu.su/~megera/gimp/shot.png

Oleg

Sven

Oleg Bartunov
2004-05-28 11:19:28 UTC (almost 20 years ago)

ttf problem

The problem was in font. Cyrillic glyphs (which I wanted to use) were in second half of ascii table, while in expected position in unicode table there were some other (dumb) cyrillci glyphs. This is the problem of all old truetype fonts. fontforge (pfaedit in past) has very nice feature, you may copy range of glyphs and paste them into desirable position. That way I've solved my problem. Probably, this problem could be mentioned in documentation.

Oleg
On Wed, 26 May 2004, Sven Neumann wrote:

Hi,

Oleg Bartunov writes:

Please read http://gimp.org/unix/fonts.html

I have no problem with finding font, it's shown in list of fonts, I could select him. The problem is that cyrillic characters picked from another font, while there is no problem with latin chars.

screenshot is available from http://www.sai.msu.su/~megera/gimp/shot.png

Does the font provide any cyrillic glyphs at all? Pango will fall back (based on info from fontconfig) to a different font if the choosen font cannot provide the requested glyph.

Sven