jdk/test/java/awt/Graphics2D/DrawString/TextRenderingTest.java
changeset 39056 d99e63b6d962
parent 21781 12385ca90f4d
equal deleted inserted replaced
39055:92f7fed22d5f 39056:d99e63b6d962
     1 /*
     1 /*
     2  * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    34 import java.awt.image.VolatileImage;
    34 import java.awt.image.VolatileImage;
    35 
    35 
    36 
    36 
    37 /*
    37 /*
    38  * @test
    38  * @test
       
    39  * @key headful
    39  * @bug 7189452 8024767
    40  * @bug 7189452 8024767
    40  * @summary Check if source offset for text rendering is handled correctly
    41  * @summary Check if source offset for text rendering is handled correctly
    41  *          (shouldn't see the text on a similarly colored background).
    42  *          (shouldn't see the text on a similarly colored background).
    42  * @author a.stepanov
    43  * @author a.stepanov
    43  * @run main TextRenderingTest
    44  * @run main TextRenderingTest