-
Bug
-
Resolution: Unresolved
-
P3
-
8, 9
-
x86_64
-
windows_7
FULL PRODUCT VERSION :
ava version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 10.0.10240]
A DESCRIPTION OF THE PROBLEM :
Using JavaFX ( scene builder 2.0) with a label or text field the Arabic characters have little of a gap between them . see this for example http://www.arabguru.com/public/java1.png
similar issue was reported for another operating system here :
http://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8134657
REGRESSION. Last worked in version 8u60
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
just make any scene with arabic text
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
arabic don't have gaps between the characters
ACTUAL -
here is a picture of the actual separated characters http://www.arabguru.com/public/java1.png
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
---------- BEGIN SOURCE ----------
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.text.*?>
<?import javafx.scene.layout.*?>
<?import java.lang.*?>
<?import javafx.scene.control.*?>
<VBox maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="773.0" prefWidth="954.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
<children>
<GridPane>
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="472.0" minWidth="10.0" prefWidth="149.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="472.0" minWidth="10.0" prefWidth="211.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="499.0" minWidth="10.0" prefWidth="479.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="685.0" minWidth="10.0" prefWidth="117.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Label alignment="CENTER" nodeOrientation="RIGHT_TO_LEFT" prefHeight="106.0" prefWidth="348.0" text="?????? ???????????????? : " GridPane.columnIndex="2" GridPane.halignment="LEFT" GridPane.rowIndex="1">
<font>
<Font name="Arabic Typesetting" size="62.0" />
</font>
</Label>
<TextField GridPane.columnIndex="1" GridPane.rowIndex="1" />
</children>
</GridPane>
</children>
</VBox>
---------- END SOURCE ----------
---------- END SOURCE ----------
ava version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 10.0.10240]
A DESCRIPTION OF THE PROBLEM :
Using JavaFX ( scene builder 2.0) with a label or text field the Arabic characters have little of a gap between them . see this for example http://www.arabguru.com/public/java1.png
similar issue was reported for another operating system here :
http://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8134657
REGRESSION. Last worked in version 8u60
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
just make any scene with arabic text
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
arabic don't have gaps between the characters
ACTUAL -
here is a picture of the actual separated characters http://www.arabguru.com/public/java1.png
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
---------- BEGIN SOURCE ----------
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.text.*?>
<?import javafx.scene.layout.*?>
<?import java.lang.*?>
<?import javafx.scene.control.*?>
<VBox maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="773.0" prefWidth="954.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
<children>
<GridPane>
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="472.0" minWidth="10.0" prefWidth="149.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="472.0" minWidth="10.0" prefWidth="211.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="499.0" minWidth="10.0" prefWidth="479.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="685.0" minWidth="10.0" prefWidth="117.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Label alignment="CENTER" nodeOrientation="RIGHT_TO_LEFT" prefHeight="106.0" prefWidth="348.0" text="?????? ???????????????? : " GridPane.columnIndex="2" GridPane.halignment="LEFT" GridPane.rowIndex="1">
<font>
<Font name="Arabic Typesetting" size="62.0" />
</font>
</Label>
<TextField GridPane.columnIndex="1" GridPane.rowIndex="1" />
</children>
</GridPane>
</children>
</VBox>
---------- END SOURCE ----------
---------- END SOURCE ----------
- duplicates
-
JDK-8218139 Complex texts are not shaped properly
- Closed
-
JDK-8134657 Arabic characters appear separated from each other by little bit of a gap
- Closed
-
JDK-8163359 Problem with typing Persian and Arabic text on the textfields
- Closed