Closed GoogleCodeExporter closed 9 years ago
Hi,
I'm glad to hear that you like HtmlViewer.
Thanks for spotting this issue and the easy to follow reproduction report.
r307 fixes the issue.
OrphanCat
Original comment by OrphanCat
on 5 Jul 2012 at 8:17
Hi, OrphanCat.
There are one more place, where you must change code.
in method:
procedure THtmlStyleAttrParser.ParseProperties(Doc: TBuffer; Propty:
TProperties);
Was
ProcessProperty(Prop, Value);
You must change to
if Prop = 'font-family' then
ProcessProperty(Prop, Value1)
else
ProcessProperty(Prop, Value);
This needed to render correctly such html:
<html>
<body>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-language:RU'> Test </span>
</body>
</html>
Alexander
Original comment by 9ne...@gmail.com
on 30 Aug 2012 at 3:55
[deleted comment]
Original comment by OrphanCat
on 26 Nov 2012 at 6:52
Issue 218 has been merged into this issue.
Original comment by OrphanCat
on 26 Nov 2012 at 7:05
Alexander, thanks for the hint.
r342 fixes this issue for both locations.
Original comment by OrphanCat
on 26 Nov 2012 at 7:10
Original issue reported on code.google.com by
leo...@gmail.com
on 4 Jul 2012 at 7:41Attachments: