< prev index next >
test/java/awt/font/GlyphVector/TestLayoutFlags.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 2004, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 21,31 ****
* questions.
*/
/* @test
! @bug 4328745 5090704
@summary exercise getLayoutFlags, getGlyphCharIndex, getGlyphCharIndices
*/
import java.awt.*;
import java.awt.event.*;
--- 21,31 ----
* questions.
*/
/* @test
! @bug 4328745 5090704 8166111
@summary exercise getLayoutFlags, getGlyphCharIndex, getGlyphCharIndices
*/
import java.awt.*;
import java.awt.event.*;
*** 80,90 ****
latinTrans.setGlyphTransform(0, AffineTransform.getRotateInstance(.15));
test("latin", latinGV, GlyphVector.FLAG_HAS_POSITION_ADJUSTMENTS);
test("hebrew", hebrewGV, GlyphVector.FLAG_RUN_RTL |
GlyphVector.FLAG_HAS_POSITION_ADJUSTMENTS);
! test("arabic", arabicGV, GlyphVector.FLAG_RUN_RTL |
GlyphVector.FLAG_HAS_POSITION_ADJUSTMENTS);
test("hindi", hindiGV, GlyphVector.FLAG_COMPLEX_GLYPHS |
GlyphVector.FLAG_HAS_POSITION_ADJUSTMENTS);
// test("tamil", tamilGV, GlyphVector.FLAG_COMPLEX_GLYPHS);
test("pos", latinPos, GlyphVector.FLAG_HAS_POSITION_ADJUSTMENTS);
--- 80,90 ----
latinTrans.setGlyphTransform(0, AffineTransform.getRotateInstance(.15));
test("latin", latinGV, GlyphVector.FLAG_HAS_POSITION_ADJUSTMENTS);
test("hebrew", hebrewGV, GlyphVector.FLAG_RUN_RTL |
GlyphVector.FLAG_HAS_POSITION_ADJUSTMENTS);
! test("arabic", arabicGV, GlyphVector.FLAG_COMPLEX_GLYPHS |
GlyphVector.FLAG_HAS_POSITION_ADJUSTMENTS);
test("hindi", hindiGV, GlyphVector.FLAG_COMPLEX_GLYPHS |
GlyphVector.FLAG_HAS_POSITION_ADJUSTMENTS);
// test("tamil", tamilGV, GlyphVector.FLAG_COMPLEX_GLYPHS);
test("pos", latinPos, GlyphVector.FLAG_HAS_POSITION_ADJUSTMENTS);
< prev index next >