Superscript Display Issue When Copying/Saving To HTML

General comments and questions. Technical support.
Post Reply
acant05
Posts: 28
Joined: Fri Nov 18, 2005 3:44 pm
Location: Elkins, WV, USA

Superscript Display Issue When Copying/Saving To HTML

Post by acant05 »

Please see the files (rtf and the html (zipped)) attached. Superscript size under html equals size of regular text not the proper smaller font size... This happens when copied to clipboard as html or when saved as web page.. :(
Attachments
Doctrine and Covenants 1.rtf
(8.83 KiB) Downloaded 898 times
Doctrine and Covenants 1.zip
(3.3 KiB) Downloaded 985 times
Blessings,
Al Cantley
Redrover
Posts: 37
Joined: Fri Apr 11, 2008 12:24 am
Location: Kirkland, Washington

Post by Redrover »

I experience the same problem.

Paul
User avatar
admin
Site Admin
Posts: 2907
Joined: Wed Jun 05, 2002 10:48 pm
Contact:

Post by admin »

It is not a bug in Atlantis. As far as I know, many word processors (including MS Word) save superscripted/subscripted text to HTML as "<sup>...</sup>" and "<sub>...</sub>" HTML tags. These tags do not reduce font size. They simply offset the corresponding text up or down.

But it is possible to generate more WYSIWYGy HTMLs with super-/subscripted text. Any next release of Atlantis Word Processor will accompany the <sup>/<sub> HTML tags with extra tags that reduce the font size correspondingly.
User avatar
admin
Site Admin
Posts: 2907
Joined: Wed Jun 05, 2002 10:48 pm
Contact:

Post by admin »

To be more correct, the <sup>/<sub> HTML tags do reduce the actual font size but not as significantly as the super-/subscript formatting attributes in word processors. Especially this is noticeable when the generated HTML file is viewed in Firefox. Regrettably Firefox and Internet Explorer render the <sup>/<sub> formatting differently. So it would be impossible to have the same display in both browsers. But as I said above, the next release of Atlantis Word Processor will still generate more "WYSIWYGy" HTMLs, no matter the Web browser.
acant05
Posts: 28
Joined: Fri Nov 18, 2005 3:44 pm
Location: Elkins, WV, USA

Post by acant05 »

Thanks for the info. I was using Firefox; tried opening the file in Google Chrome and the result was somewhat better...
Blessings,
Al Cantley
Post Reply