> I'm using Fl_Help_View to display and resize images. The <img 
> src> tag works fine if I specify both the width and height 
> ratio. However, if I specify only one of them (either width 
> or height), images are not rescaled in my FLTK app but they 
> render fine with a web browser. Is this a HTML 2.0 limitation?

Not really; rather, I'd say it's more of an Fl_Help_View limitation -
note that it is not really a browser, it's a widget that can parse a
subset of html (or at least a script that looks an awful lot like html
anyway!) and the subset it recognises is quite limited in many regards.


> Is there a way to get Fl_Help_View to render the images with 
> only one of the scaling dimensions specified?

We might accept patches...

> Are there any plans of making Fl_Help_View support HTML 2+ ?

Possibly: dillo exists in fltk2 form (and now fltk-1.3 form I believe),
so may do what you want, and there are a couple of people who have been
poking away at their own html widgets, or on extending Fl_Help_View to
make it more complete.
Perhaps some of these may lead to a solution, though probably not in a
short timeframe...




SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to