| [ Return to Bugs & Features | SVN ⇄ GIT ]
STR #45
Application: | FLTK Library |
Status: | 2 - Closed w/o Resolution |
Priority: | 1 - Request for Enhancement, e.g. asking for a feature |
Scope: | 3 - Applies to all machines and operating systems |
Subsystem: | Core Library |
Summary: | Help_View does not handle tables with border properly (and more) |
Version: | 1.4-feature |
Created By: | zaplia.mail |
Assigned To: | matt |
Fix Version: | Will Not Fix |
Update Notification: | |
Trouble Report Files:
Trouble Report Comments:
|
#1 | zaplia.mail 02:38 May 27, 2003 |
| 1.if table cell has </P> tag, it make additional border-lines in wrong place.
2.if table cell has <P> tag at the beginning of content it incorrectly makes new line.
4. There is a problem formatting tables with big width defined (with WIDTH property)
3.&ndash and some other symbols are not displayed.
<TABLE BORDER=1 CELLPADDING=0 CELLSPACING=3> <TR> <TD> C1Ш </TD> <TD> C2Щ </TD> <TD> C3 </TD> <TD> C4 </TD> </TR> <TR> <TD><P> C1Ш </P> </TD> <TD><P> C2Щ </P> </TD> <TD><P> C3 </P> </TD> <TD><P> C4 </P> </TD> </TR> <TR> <TD><P> C1Ш </P> </TD> <TD><P> C2Щ </P> </TD> <TD><P> C3 </P> </TD> <TD><P> C4 </P> </TD> </TR> </TABLE> | |
|
#2 | mike 07:06 May 27, 2003 |
| Fl_Help_View is not a true HTML widget; it only supports a limited subset of HTML and most certainly doesn't support Unicode character entities (since FLTK doesn't support them, yet)
You can re-file as an RFE against 2.0cvs, but this will not be corrected in 1.x. | |
|
#3 | matt 13:59 Apr 22, 2008 |
| Should we investigate this at some point? | |
|
#4 | AlbrechtS 06:00 Oct 18, 2017 |
| Status in FLTK 1.4.0 (svn r12512) as of today, referring to OP's comment #1:
1. Wrong border lines: confirmed.
2. "New line", i.e. empty space on top of content in cell: confirmed.
4. WIDTH property: not tested.
3. – and other symbols: see Mike's comment: not supported.
Unicode symbols like Ш and Щ given in the example html text are supported and displayed correctly if the chosen font can display the corresponding Unicode glyph U+nnnn.
Attached file str_45.html is a modified version of the example above and shows positioning (<P>) and border (</P>) effects.
str_45.png shows the rendered html file under Linux. | |
|
#5 | matt 03:08 Nov 26, 2023 |
| Ok, phew. So I looked at the widget for hours. It's amazing in what it does, and it is very easy to use and put a quick help page together using minimal classic handwritten HTML. It is not (and never will be) an HTML renderer in the modern sense. Not only did HTML change massively since this widget was written, we will never implement the full HTML set, or today's standard features like CSS, ECMAScript, etc. .
There is another reason why I won't touch this widget, at least no yet. With C++98, it's just painful. If we ever get to use C++17, I'll be happy to look at this thing again and fix the biggest annoyances, like the many fixed array sizes and string lengths, but for now, I will close this STR.
My point: just stick with the stuff that Fl_Help_View supports, and for everything els, open the system browser (fl_open_uri()). | |
[ Return to Bugs & Features ]
|
| |