[Bug 26960] New: mshtml renders gibberish text with "courier" font

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Apr 29 10:47:37 CDT 2011


           Summary: mshtml renders gibberish text with "courier" font
           Product: Wine
           Version: 1.2.2
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: mshtml
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: kevin.m.smyth at gmail.com

Loading this document:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  <META http-equiv=Content-Type content="text/html; charset=iso-8859-1">

  <BODY STYLE="font-family: courier; font-size: 10px; margin: 0px">

then calling:
CComPtr<IHTMLDocument2> pHtmlDoc;
CComPtr<IHTMLElement> pElement;
pHtmlDoc->get_body( &pElement );
CComBSTR where(L"BeforeEnd");
CComBSTR text(line);
pElement->insertAdjacentHTML(where, text);

results in gibberish. Changing "courier" to "monospace" works as expected.

Ubuntu package: 1.2.2-0ubuntu2~lucid1

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list