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

Wrong font size

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.

5 of 5 messages available
Toggle history

Please log in to manage your subscriptions.

Wrong font size bruno 16 Mar 01:50
  Wrong font size David Gowers 16 Mar 03:12
   Wrong font size bruno 16 Mar 03:47
   Wrong font size Sven Neumann 16 Mar 08:30
  Wrong font size Sven Neumann 16 Mar 08:33
bruno
2010-03-16 01:50:44 UTC (almost 15 years ago)

Wrong font size

Hi all,

I am web designer and I trying Gimp 2.6.8 in Debian Lenny (2.6.26-2) and Ubuntu Karmic (2.6.31-14).

I found that, when I set font size to X pixels, Gimp converts it into wrong size, i.e. 16 px at 72 ppi are 12 px, 16 px at 96 ppi are 12 px, 16 px at 300 ppi are 12 px, ... What's wrong?

Is it a bug?

I can understand that if Gimp use 72 ppi for fonts when I set 16 px it converts it into 12 px. But what about other cases?

Thanks,

David Gowers
2010-03-16 03:12:21 UTC (almost 15 years ago)

Wrong font size

On Tue, Mar 16, 2010 at 11:20 AM, bruno wrote:

Hi all,

I am web designer and I trying Gimp 2.6.8 in Debian Lenny (2.6.26-2) and Ubuntu Karmic (2.6.31-14).

I found that, when I set font size to X pixels, Gimp converts it into wrong size, i.e. 16 px at 72 ppi are 12 px, 16 px at 96 ppi are 12 px, 16 px at 300 ppi are 12 px, ... What's wrong?

Is it a bug?

I can understand that if Gimp use 72 ppi for fonts when I set 16 px it converts it into 12 px. But what about other cases?

In Gimp 2.6, font sizes are based upon your monitor ppi, not the ppi of the image. There is a section in Preferences ('Display', if I recall correctly), which allows you to override this. This could be regarded as a bug (particularly for anamorphic images (ie. those that do not have square pixels.. like: 48x96ppi)

In recent development versions of GIMP, I understand that text size is proportional to image ppi.

Hopefully that helps. I found your email confusing, as in my opinion, if you input 16px, then what you should get is always 16px. However, there are also other factors -- many fonts seem to be badly adjusted (baseline too low, overall scale too small,...), so that you must request much larger sizes to get the ordinary size you want (not only in GIMP, but in all programs.). Have you checked your results with different fonts?

bruno
2010-03-16 03:47:24 UTC (almost 15 years ago)

Wrong font size

On Tue, 2010-03-16 at 12:42 +1030, David Gowers wrote:

On Tue, Mar 16, 2010 at 11:20 AM, bruno wrote:

Hi all,

I am web designer and I trying Gimp 2.6.8 in Debian Lenny (2.6.26-2) and Ubuntu Karmic (2.6.31-14).

I found that, when I set font size to X pixels, Gimp converts it into wrong size, i.e. 16 px at 72 ppi are 12 px, 16 px at 96 ppi are 12 px, 16 px at 300 ppi are 12 px, ... What's wrong?

Is it a bug?

I can understand that if Gimp use 72 ppi for fonts when I set 16 px it converts it into 12 px. But what about other cases?

In Gimp 2.6, font sizes are based upon your monitor ppi, not the ppi of the image. There is a section in Preferences ('Display', if I recall correctly), which allows you to override this. This could be regarded as a bug (particularly for anamorphic images (ie. those that do not have square pixels.. like: 48x96ppi)

My monitor has a density of 92 ppi and even setting this ppi for new image file Gimp change 16 pixels, for example, to 12 pixels.

In recent development versions of GIMP, I understand that text size is proportional to image ppi.

Hopefully that helps. I found your email confusing, as in my opinion, if you input 16px, then what you should get is always 16px. However, there are also other factors -- many fonts seem to be badly adjusted (baseline too low, overall scale too small,...), so that you must request much larger sizes to get the ordinary size you want (not only in GIMP, but in all programs.). Have you checked your results with different fonts?

This is not always, i.e. a web browser is not using the monitors ppi but its own ppi font size fonts. 16 px for font size are equivalent to 12 real pixels. I thought that Gimp was working well.

I've used Bitstream Vera Sans (Gnome), Sans and Serif.The result is the same.

Thanks,

Sven Neumann
2010-03-16 08:30:49 UTC (almost 15 years ago)

Wrong font size

Hi,

On Tue, 2010-03-16 at 12:42 +1030, David Gowers wrote:

In Gimp 2.6, font sizes are based upon your monitor ppi, not the ppi of the image. There is a section in Preferences ('Display', if I recall correctly), which allows you to override this. This could be regarded as a bug (particularly for anamorphic images (ie. those that do not have square pixels.. like: 48x96ppi)

Sorry, but what makes you think that font size would be based on monitor resolution? That should not be the case and I don't think there is code in GIMP that would take monitor resolution into account for anything but the image view with dot-for-dot turned off.

Sven

Sven Neumann
2010-03-16 08:33:22 UTC (almost 15 years ago)

Wrong font size

On Tue, 2010-03-16 at 00:50 +0000, bruno wrote:

I am web designer and I trying Gimp 2.6.8 in Debian Lenny (2.6.26-2) and Ubuntu Karmic (2.6.31-14).

I found that, when I set font size to X pixels, Gimp converts it into wrong size, i.e. 16 px at 72 ppi are 12 px, 16 px at 96 ppi are 12 px, 16 px at 300 ppi are 12 px, ... What's wrong?

How do you define font size? How do you determine that the result is 12px? What exactly are you measuring?

Sven