Bug 495358 - [HiDPI][GTK] GlyphMetrics#width is not scaled by TextLayout

Change-Id: I8af93a7134d72c4199899c54a5e4f5da65c14146
Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/TextLayout.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/TextLayout.java
index 04ee25c..7830a3f 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/TextLayout.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/TextLayout.java
@@ -293,7 +293,7 @@
 			PangoRectangle rect = new PangoRectangle();
 			rect.y =  -(DPIUtil.autoScaleUp(metrics.ascent) * OS.PANGO_SCALE);
 			rect.height = DPIUtil.autoScaleUp((metrics.ascent + metrics.descent)) * OS.PANGO_SCALE;
-			rect.width = metrics.width * OS.PANGO_SCALE;
+			rect.width = DPIUtil.autoScaleUp(metrics.width) * OS.PANGO_SCALE;
 			long /*int*/ attr = OS.pango_attr_shape_new (rect, rect);
 			OS.memmove (attribute, attr, PangoAttribute.sizeof);
 			attribute.start_index = byteStart;