Re: Speaking of fonts...



On Sun, 2006-07-09 at 14:31 -0400, Tom Horsley wrote:
I think I know what the real problem is with getting good font
display by default. There isn't enough information in the
xorg.conf file to scale the fonts properly. It came to me
when thinking about this, that the bigger your monitor, the
farther back you tend to sit.

While that *may* be true, I'm not really sure what you're referring to
as "good" font display and scaling. For me, good font rendering would
be smooth fonts above a certain size, and not trying to draw fonts with
too few pixels for small font sizes (a problem with complex font
designs, or anti-aliasing techniques).

The algorithms rampant in the various font systems on linux
seem to scale based on a linear algorithm considering
only dots per inch, and not taking into account how far
away from the monitor you probably sit.

Dots per inch ought to be taken into consideration for a couple of
things:

How many pixels are available for rendering a font (i.e. rougher
rendering or smoother rendering, to get the same size of font on the
screen).

And getting the expected size of a font on a screen (i.e. 12 pt text
ought to be the same size text on every screen). Likewise, one ought to
be able to specify 2cm sized text, and get it.

Something like 20 pixel text is a harder thing to resolve. Do you
genuinely mean 20 pixels in size (allowing appropriate fitting of text
to graphics), or something else?

We either need xorg.conf to include a new DistanceFromMonitor
parameter that can be factored into the font scaling, or
we just need the scalaing algorithms to use a heuristic that
guesses you are likely to be sitting farther away the larger
your monitor is (or both - it might be nice to have a relatively
small monitor, but inform X you are gonna be looking at it
from across the room, so it needs to scale the fonts way up,
so a heuristic wouldn't necessarily always work, but could be
a good default).

I can see automating that failing in a number of ways:

I sit further back from my VDU because I can't stand the flickering, but
my eyesight is good enough that I have fonts the same size as most other
people (i.e. somewhere around the default settings), or even smaller
(because I want to fit more in the screen).

Many of us might pick a 12 pt font size hoping to get what we know as 12
pt text (as printed, or as per a typewriter). It's best if the screen
display comes up with the same size. We're free to pick any size text
we want on the screen, but having 1:1 size rendering helps in making
practical choices.

A projector might be well away from the screen, and you wouldn't want
text zooming on top of the other changes that happen.

Some of us use larger screens to fit more in the space, and having
something else increase the size of everything defeats the objective.
Some of us use larger screens to get more refined detail of the same
object, likewise for picking higher resolutions on the same size screen.

Traditional computers seem to mess up the interaction, and definitions
of resolution and screen size.

I consider it more practical that font sizing choices render fonts at
the size you specify (not some interpretation). That screen resolution
is used to determine how fine the detail can be drawn in the space, not
the size of things. And that screen dimensions get properly taken into
account to understand that x pixels covers x centimetres, and have x
pixels to draw within that space.

--
(Currently running FC4, occasionally trying FC5.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: testing web page compatibility with older browsers
    ... the 16 pixel high text is still going to be 16 pixels high. ... One consideration when checking a site using a small browser window is ... The default font in my browsers is 16 pixels, ... I have three screens comprising my desktop. ...
    (alt.html)
  • Re: If you were stuck on a desert island and had only ten fonts...
    ... time ago that Windows just does not render fonts at all smoothly. ... But it's tuned for 15" 800x600 screens with 256 colours, ... The Mac font rendering is tuned to look the same on screen as it would ...
    (uk.comp.sys.mac)
  • Re: setting X server DPI
    ... X are defined in terms of pixels, and it's wrong because 12pt type is ... All the font rendering libraries these days take ... deduce some "readability" factor based on the available pixels ...
    (Fedora)
  • Fedora 9 X dual monitor problem
    ... I recently "upgraded" my laptop from Fedora 8 to Fedora 9. ... Config file two screens, worked in F8, but not F9 ... It looks like glx is loading when you look at some parts of the log files, and that it isn't in others. ... I have Firefox and Thunderbird to use font sized 10 and 12 for most things, but sometimes they will show text using a font that looks like it's at least 20, and sometimes emails appear in a font too small to easily read, and in light grey. ...
    (Fedora)
  • Re: How to convert font metrics to screen metrics ?
    ... Character v, Arial.ttf, Size 10 ... the font designer drew his/her outlines to a body height of 2048 units ... so, anyway, we've got 83 dots to represent 2048 font units ... (most screens have a 3-by-4 aspect, ...
    (comp.fonts)