Re: amaya source window size

> > I've never loaded fonts with a font-size equal to 10.5pt.
> 
> I'm afraid I don't understand your point. Do you mean that the font-zoom I
> would like to set ('-1.5') is equal to 10.5 pt in font-size, and that it is
> impossible to get it?
> I'm a bit confused here as 'font-size' is a concept I'm aware of (it is
> expressed in ponits) whereas 'font-zoom' is a concept I would be tempted to
> express in percent.

Of course font-zoom is a percentage. As Amaya uses integer values for font 
sizes
we considered that a minimum percentage step of 1% was okay.
The main problem remains the use of integer values for font sizes, but current 
APIs
used by Amaya on Windows and X-Window platforms require integer values.
When we'll change to OpenGL we could reconsider this choice.

> Could you confirm that font zoom -1.5 equals font-size 10.5 pt and that it
> isn't possible to set it?

The font zoom is an integer value so today you cannot choose a decimal value.
If the initial font size is 12pt and the font zoom is 1 the loaded font-size
will be 11pt. If the initial font-size is 12pt and suppose you can give a font 
zoom 1.5 the loaded font-size would be be 11pt too.

Received on Wednesday, 21 November 2001 08:16:41 UTC