Re: The Scale problem



Andrew Thompson wrote:
Richard Senior wrote:
Andrew T. wrote
Here is my 1st hackish attempt ...
.
Internet Explorer, 6.0.2800.1106, Sun, 1.6.0, 1440x900, 11px to 19px

I am a little dissapointed to hear that IE shows the same values as for a significantly smaller (1024x768) screen. Is the HTML and applet text roughly the same size? (It is in my tests.)

Roughly but not exactly. Using Arial as the default browser font, which seems the closest match to the sans-serif of the applet, I would estimate:

Smallest: applet shows 11px (slightly smaller); browser I guess is 12px
Smaller: looks the same
Medium: applet shows 14px (slightly smaller); browser I guess is 15/16px
Larger: applet shows 17px (slightly smaller); browser 18-20px and bold
Largest: applet shows 19px (slightly smaller); browser 20-22px both bold

Mozilla Firefox, 2.0.0.3, Sun, 1.6.0, 1440x900, 9px to 167px(!)

That is enormous! Does the applet force horizontal scrollbars before it hits this huge size?

Scrollbars appear in the main browser window, not in the applet. The applet just gets proportionally bigger.

The maximum font size shown by the applet, but not the minumum, depends on the default font in Firefox. If I set the default font to 9pt, I only ;) get up to 125px in the applet. If I set the default to 72pt, it goes from 9px to a billboard-tastic 1002px! At that size, the string "px." completely fills my 1440x900 screen!

Something else I did notice was that, when the applet is so large that the paragraph to the right of it can't flow around it and has to go below, the right-hand edge of the applet sticks out of the yellow box. I suspect it's a browser/style*** issue - maybe to do with the margin of the yellow box. If I get it to about 30px and bring the right edge of the browser window in, the margin to the right of the yellow box pushes the yellow box in until the applet hangs out of the box, then the browser starts clipping the box and applet.

--
Regards,

Richard
.


Quantcast