gimpusers.com logo
German version English version

Not logged in

Sign up! | Lost password?

Latest discussion

  1. gimp-user | today 10:48 AM
    Suppressing the "press any character to close this window" message in Script-Fu
  2. gimp-developer | today 10:45 AM
    Help with new default resources in 2.8
  3. gimp-docs | today 10:34 AM
    Where does the HTML documentation
  4. gimp-developer | today 09:34 AM
    html layers
  5. gimp-developer | today 08:50 AM
    Please fix Color and/or Value transfer mode

External news

Poll

Would you like to see or even participate in GFX contests hosted by gimpusers.com?

Yes, but prices for winners are important!

Yes, GFX contests are a good idea! It brings community together even if there are no prices available

No, contests are not important

Maybe, it is however not a tragedy if there are no contests. I don't care much.

See results

Stats

gimpusers.com RSS feed

GIMP Forums » For GIMP developers

Wrong font size

Jump to message:

  1. Wrong font size — bruno, 16 Mar 2010 01:50 AM
    1. Wrong font size — David Gowers, 16 Mar 2010 03:12 AM
      1. Wrong font size — bruno, 16 Mar 2010 03:47 AM
      2. Wrong font size — Sven Neumann, 16 Mar 2010 08:30 AM
    2. Wrong font size — Sven Neumann, 16 Mar 2010 08:33 AM

As a registered user, you can subscribe forum threads in order to get notified when replies are posted. Just log in at the right top of the page if you already have an account, otherwise you can register for free.

Permalink:1268700644.3470.175.camel@HERMES.WORK...
Date:16 Mar 2010 01:50 AM
From:bruno
Subject: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,
--
Bruno Jesus Mendoza Guedes
brunomendoza@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
↑Back to thread overview
Permalink:23f4e3391003151912h3d8b26d5r4eb6ef88d...
Date:16 Mar 2010 03:12 AM
From:David Gowers
Subject:Wrong font size
On Tue, Mar 16, 2010 at 11:20 AM, bruno <brunomendoza@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
↑Back to thread overview
Permalink:1268707644.11638.15.camel@HERMES.WORK...
Date:16 Mar 2010 03:47 AM
From:bruno
Subject: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 <brunomendoza@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
brunomendoza@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
↑Back to thread overview
Permalink:1268724664.1195.1.camel@bender
Date:16 Mar 2010 08:30 AM
From:Sven Neumann
Subject: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
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
↑Back to thread overview
Permalink:1268724819.1195.4.camel@bender
Date:16 Mar 2010 08:33 AM
From:Sven Neumann
Subject: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
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
↑Back to thread overview

Adobe® Photoshop® is a registered trademark of Adobe Systems, Inc. Linux is a trademark of Linus Torvalds. Ubuntu and Canonical are registered trademarks of Canonical Ltd. | Clock times are shown as CET / CEST | Imprint / Privacy policy | powered by bitfire it services | sponsored by Hirners Hotel Guide