Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8172278

Emoji character is not displayed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8, 9
    • javafx
    • None
    • web
    • os_x

      1. Load the below html into HelloWebView

      <html>
      <head>
      <body>
      <style>
      canvas { width: 100px; height: 100px; }
      </style>
      <script type="text/javascript">
          var f = document.createElement("canvas"), g = f.getContext("2d");
          var text = String.fromCharCode(55356, 57221, 55356, 57343);
          g.font="72px Arial";
          g.fillText(text, 50, 50);
          document.body.appendChild(f);
      </script>
      </body>
      </html>

      2. It should display emoji character like other browsers

            Unassigned Unassigned
            arajkumar Arunprasad Rajkumar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: