1/2 pixel text size?

Is it possible to have text at 12.5 pixels size?

i.e. is it possible to have half a pixel?

What is a rule of thumb standard body text size for text on the internet, in pixles?

Thank you

Mark


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You can set it, but the browsers will all either round up or down,
since you can’t actually display something that isn’t a round number
of pixels. (You can, with anti-aliasing, approximate the look of a
sub-pixel dimension, but this doesn’t work in HTML elements.)

As to size, it really depends on the font, the platform being used to
view it, the browser, and the quality of the display. Some fonts are
designed to be really legible at small sizes. Verdana, in particular,
can be read as small as 8px if you’ve been to see my wife recently
for an eye tune-up. Some browsers, like Safari on Mac OS X, have a
really huge advantage at rendering type at small sizes. Windows, of
course, throws all notions of typography out of the window and
displays a real mess at most sizes. Some displays are just naturally
better at the small details than others. I have a pair of Jaguar-era
17" Studio Displays that I use 20 hours a day, and there’s nothing
better to my eyes.

As far as optimum size, I could tell you some rule, or quote one, but
really, you have to test your design on more than one physical
computer and browser. And be prepared to change your design to serve
the content better for your audience. Ask them!

Walter

On Jun 27, 2008, at 10:36 AM, Mark wrote:

Is it possible to have text at 12.5 pixels size?

i.e. is it possible to have half a pixel?

What is a rule of thumb standard body text size for text on the
internet, in pixles?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Nope, only whole units for pixels. If you were using a relative unit such as em then you could use 2.2 etc.

12px is probably the norm but there’s no hard and fast rule.

T.

On Jun 27, 2008, at 9:36 AM, Mark wrote:

Is it possible to have text at 12.5 pixels size?

i.e. is it possible to have half a pixel?

What is a rule of thumb standard body text size for text on the internet, in pixles?

Thanks, for the responses.

It’s strange that Freeway allows users to specify text at half pixels (12.5px) for HTML text, when in fact it isn’t possible.

Mark


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

The fact that Freeway lets you do this is a bug, in my considered opinion.

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hmmm… I don’t think it’s a bug; as it actually outputs the html with that value (i.e it is not simply an interface issue).

I respect FW’s hands off the code approach but I would prefer not to have it police parameter values that throw no browser errors.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Well, being on the other end of things here, I have to needlessly run
parseInt() on values I calculate inside Actions, because it is likely
that I will start off with a dimension on an object that runs to two
or three decimal places! The GUI doesn’t let you draw something
that is a sub-pixel dimension, but it sure lets you end up there.

This is something that bugs me, because it has no good outcome
possible, only confusion. Some browsers round up, some round down,
but ALL of them round for display, since they can’t draw a sub-pixel
element on a pixel grid screen. The net result is that what you draw
is NEVER what you see, it will always be different. And Freeway is
not that kind of tool.

Walter

On Jun 28, 2008, at 10:00 AM, Solutions Etcetera wrote:

I respect FW’s hands off the code approach but I would prefer not
to have it police parameter values that throw no browser errors.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Understood. But the day may soon come when we have a scaleable display model where half a pixel makes sense (c; then there’s a need to back those changes out?

I am just saying that when policing these kinds of things in the GI, it makes the tool more opaque, and quite possibly limits options that may have real value to some developers (granted that in this specific case I see no value at the present time).

If something like this were to be implemented, I am willing to bet it would encompass more than just fractional pixels, and it would be nice to have a preference to turn it off.

-ss


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options