I don't understand why the case for FONT_SCALE in ULength
multiplies strscale by UTopScale.

With given newscale > 0.0, the initial scales are all set to UTopScale * 
newscale.
So suppose the first string part is FONT_SCALE of s.

Then we have

strscale = (UTopScale * newscale) * s;
followed by
natscale = strscale;
since initial ykern will be 0.0.
Finally
strscale = ((UTopScale * newscale) * s) * UTopScale

It looks like you're trying to interpret FONT_SCALE in some absolute
terms (like a point size rather than scale). Otherwise this code
            if (newscale > 0.0)
               strscale *= UTopScale();
is simply spurious.

Am I missing something? Is the scale in to FONT_SCALE stringpart
pre-divided by UTopScale() perhaps? I'm trying to make sure I know
what I'm doing here.

Thanks, Kuba



_______________________________________________
Xcircuit-dev mailing list
[email protected]
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev

Reply via email to