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

Google Maps in JavaFX WebView shows garbled text on Mac OSX

    Details

    • Subcomponent:
      web
    • CPU:
      x86
    • OS:
      os_x

      Description

      FULL PRODUCT VERSION :
      build 1.8.0_91-b14

      ADDITIONAL OS VERSION INFORMATION :
      Mac OSX appears to be the only OS affected.

      Windows and Linux are OK

      A DESCRIPTION OF THE PROBLEM :
      The text on Google Maps when loaded in the JavaFx WebView on Mac OSX is garbled and unreadable.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Use the source code I have included and run on a Mac

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      A scene with Google Maps in a WebView will be loaded, the text should be readable.
      ACTUAL -
      A scene with Google Maps in a WebView will be loaded the text on Mac OSX is garbled, on Windows and Linux it is fine.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      import javafx.application.Application;
      import javafx.scene.Scene;
      import javafx.scene.web.WebView;
      import javafx.stage.Stage;

      public class WebViewTest extends Application {

          @Override
          public void start(Stage primaryStage) throws Exception {
              WebView webView = new WebView();

              Scene scene = new Scene(webView);
              primaryStage.setScene(scene);
              primaryStage.show();
              webView.getEngine().load("http://maps.google.com");
          }
       
          
          public static void main(String[] args) {
              launch(args);
          }
      }
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      No Known work arounds

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pmangal Priyanka Mangal (Inactive)
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: