Help with the htmltext of superscripted text

Lynch, Jonathan BNZ2 at CDC.GOV
Thu Jan 13 17:34:25 CST 2005


Hello everyone,

I am still working on my windows printing script, and it is almost
there. I fixed a couple bugs today, so that now it only has a problem
with superscripted text.

Actually, the problem seems to lie in a bug in RR. The effective
textfont for superscripted text is empty! Very odd, I know. Here is the
htmltext I get for a superscripted character:

<p><font face=""><sup>h</sup></font></p>

setting the face to equal "" must produce some sort of block, where it
has no textfont of its own, and is prevented from inheriting the
textfont of its owner.

So, my questions are these:

Is there a way to determine the default textfont that the computer uses
in a situation like this?

Or

Is there a way to set the superscript of a chunk of text, as opposed to
setting the textsize and the textshift, since they seem to produce
slightly different effects?


More information about the use-livecode mailing list