Re: [Gimp-developer] Wrong font size

2010-03-16 Thread Sven Neumann
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


___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Wrong font size

2010-03-16 Thread Sven Neumann
On Tue, 2010-03-16 at 00:50 +, 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


___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Gimp-developer] Wrong font size

2010-03-15 Thread bruno
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,
-- 
Bruno Jesus Mendoza Guedes
brunomend...@xxxgmail.com (quitar XXX)

 |
 |
 + \
 \\.G_.*=.
  `( '/.\|
   .' (_--.
_=/d   ,^\
~~ \)-'   '
  / |
 '  '   a:f

___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Wrong font size

2010-03-15 Thread David Gowers
On Tue, Mar 16, 2010 at 11:20 AM, bruno brunomend...@gmail.com 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?
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Wrong font size

2010-03-15 Thread bruno
On Tue, 2010-03-16 at 12:42 +1030, David Gowers wrote:
 On Tue, Mar 16, 2010 at 11:20 AM, bruno brunomend...@gmail.com 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,
-- 
Bruno Jesus Mendoza Guedes
brunomend...@xxxgmail.com (quitar XXX)

 |
 |
 + \
 \\.G_.*=.
  `( '/.\|
   .' (_--.
_=/d   ,^\
~~ \)-'   '
  / |
 '  '   a:f

___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer