1 <!-- 2 Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. 3 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 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 7 published by the Free Software Foundation. 8 9 This code is distributed in the hope that it will be useful, but WITHOUT 10 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 version 2 for more details (a copy is included in the LICENSE file that 13 accompanied this code). 14 15 You should have received a copy of the GNU General Public License version 16 2 along with this work; if not, write to the Free Software Foundation, 17 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 19 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 or visit www.oracle.com if you need additional information or have any 21 questions. 22 --> 23 24 <html> 25 <body> 26 <applet code="PrintTextTest.class" width=400 height=100></applet> 27 This tests that printed text renders similarly to on-screen, 28 under a variety of APIs and graphics and font transforms 29 Print to your preferred printer. Collect the output. 30 Refer to the onscreen buttons to cycle through the on-screen 31 content 32 For each page, confirm that the printed content corresponds to 33 the on-screen rendering for that *same* page. 34 Some cases may look odd but its intentional. Verify 35 it looks the same on screen and on the printer. 36 Note that text does not scale linearly from screen to printer 37 so some differences are normal and not a bug. 38 The easiest way to spot real problems is to check that 39 any underlines are the same length as the underlined text 40 and that any rotations are the same in each case. 41 Note that each on-screen page is printed in both portrait 42 and landscape mode 43 So for example, Page 1/Portrait, and Page 1/Landscape when 44 rotated to view properly, should both match Page 1 on screen.; 45 </body> 46 </html>