jdk/test/java/awt/FontClass/CreateFont/bigfont.html
author ohair
Thu, 17 Sep 2009 13:17:57 -0700
changeset 3790 ab4f91337479
parent 2606 09ad5edb5330
child 5506 202f599c92aa
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2606
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
     1
<!--
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
     2
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
     3
 Copyright 2008 Sun Microsystems, Inc.  All Rights Reserved.
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
     4
 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
     5
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
     6
 This code is free software; you can redistribute it and/or modify it
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
     7
 under the terms of the GNU General Public License version 2 only, as
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
     8
 published by the Free Software Foundation.
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
     9
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    10
 This code is distributed in the hope that it will be useful, but WITHOUT
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    11
 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    12
 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    13
 version 2 for more details (a copy is included in the LICENSE file that
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    14
 accompanied this code).
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    15
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    16
 You should have received a copy of the GNU General Public License version
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    17
 2 along with this work; if not, write to the Free Software Foundation,
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    18
 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    19
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    20
 Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    21
 CA 95054 USA or visit www.sun.com if you need additional information or
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    22
 have any questions.
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    23
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    24
  @test
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    25
  @bug 6522586
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    26
  @run applet bigfont.html
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    27
  @summary Enforce limits on font creation
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    28
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    29
-->
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    30
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    31
<html>
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    32
  <head>
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    33
      <title>Test Font Creation Limits</title>
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    34
  </head>
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    35
  <body>
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    36
<hr>
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    37
<APPLET CODE = BigFont.class WIDTH = 100 HEIGHT = 100 >
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    38
<param name="number" value="1">
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    39
<param name="font" value="A.ttf">
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    40
</APPLET>
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    41
<APPLET CODE = BigFont.class WIDTH = 100 HEIGHT = 100>
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    42
<param name="number" value="2">
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    43
<param name="font" value="A.ttf">
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    44
</APPLET>
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    45
<hr>
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    46
  </body>
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    47
</html>
09ad5edb5330 6632886: Font.createFont can be persuaded to leak temporary files
prr
parents:
diff changeset
    48