Ryan Blazecka wrote: >> If Size < 1 ? >> >> would that work? Not that anyone can read a 1 point font, but it seems >> more pure.... > > I just tried it, and it works in the sense that the text does scale down > nice & small. it doesn't work in the sense that the size of the text > relative to the objects around it does not scale uniformly.
> for example, > each text object is positioned on top of a rectangle that roughly > corresponds to the size of the text. Did you try setting the BackgroundColor of the text instead of creating separate rectangles? Or using ScaledTextBox, which puts a rectangle behind the text, and can add padding (margins), etc. In fact, I think I may get rid of ScaledText, as ScaledTextBox is a superset anyway. > when the objects are large, the > relative scaling works more or less OK. as they get smaller though, the > size of the text relative to it's containing rectangle varies a fair > bit. the rectangle always scales correctly, but the text becomes > "longer" or "shorter" depending on how the font rasterizer decides to > stretch it out to keep it readable. yeah, text scaling never seems to work exactly. In some sense, it shouldn't -- good typesetting requires that fonts are different at different sizes, though I don't know if that's what's happening here. I'll see what I can do... -CHB -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [EMAIL PROTECTED] _______________________________________________ FloatCanvas mailing list [email protected] http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas
