AngelicTech / thtmlviewer

Automatically exported from code.google.com/p/thtmlviewer
Other
1 stars 1 forks source link

Problems with superscript/subscript in tables #351

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Which steps will reproduce the problem?
 1. Load an HTML viewer with the following text:
    <html><body><table><tr>
    <td>8<sup>8</sup></td>
    <td><sup>8</sup>8</td>
    </tr></table></body></html>
 2. View the resulting display

What is the expected output?
 3. The first table cell should contain a 'normal' 8 followed by
    a superscripted 8.
 4. The second table cell should contain a superscripted 8 followed
    by a 'normal' 8.

What do you see instead?
 5. The first table cell produces the CORRECT display.
 6. The second cell, however, shows the first 8 in the correct size
    (a bit smaller than normal), but NOT superscripted - just with the
    base line identical to the 'normal' text.
 7. As long as there is at least one character BEFORE the superscript
    in the cell, everything works properly. If there is NO character
    before the superscript in the cell, it fails.
 8. The same is valid when trying the same with subscripts.

Which version of the product are you using?
  HTMLViewer 1.4
  (The previous version did NOT have this problem)

Which compiler version are you using?
  Delphi XE2

On which operating system?
  Windows 7 (64bit)

Original issue reported on code.google.com by weidner....@t-online.de on 9 May 2014 at 10:46

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for spotting this issue.

Original comment by OrphanCat on 26 May 2014 at 6:00

GoogleCodeExporter commented 9 years ago
Fixed in upcoming version 11.5 (https://github.com/BerndGabriel/HtmlViewer.git)

Original comment by OrphanCat on 29 May 2014 at 3:54