In a dim and distant universe <[EMAIL PROTECTED]>,
   Michael Drake <[EMAIL PROTECTED]> enlightened us thusly:

> Of course, but it improves on what we had before. Font tag sizes don't
> sit well with NetSurf's CSS based innards, so it is not straightforward.

Of course, I have no idea how NetSurf's internals work, but assuming the
parser can read the font size value, isn't it a simple(!!) case of
temporarily knocking the font size up or down a size until the closing tag. 

If <strong> or <em> can make a small portion of text bold or italic (which
currently works ok), couldn't you just go up or down a point size (as
presumably it knows what point size it's currently plotting text in) and
assuming the existing size is 9pt then make font +1 temporarily use 10pt
and font-1 use 8pt ?

I wouldn't have thought it would be a great deal different to changing to a
bold or italic font style, but then <manuel>I know nothing</manuel> :-)


Reply via email to