|
|
@ -1,7 +1,7 @@
|
|
|
|
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
|
|
|
|
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
|
|
|
|
<%@ page import="java.awt.*" %>
|
|
|
|
<%@ page import="java.awt.*" %>
|
|
|
|
|
|
|
|
|
|
|
|
<html>
|
|
|
|
<html lang="ko">
|
|
|
|
<head>
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
|
@ -13,7 +13,8 @@
|
|
|
|
<body>
|
|
|
|
<body>
|
|
|
|
<%
|
|
|
|
<%
|
|
|
|
//System.setProperty("sun.java2d.fontpath", "font_location_path");
|
|
|
|
//System.setProperty("sun.java2d.fontpath", "font_location_path");
|
|
|
|
//
System.setProperty("java.awt.headless", "true");
|
|
|
|
//
|
|
|
|
|
|
|
|
System.setProperty("java.awt.headless", "true");
|
|
|
|
String[] fontNames = GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames();
|
|
|
|
String[] fontNames = GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames();
|
|
|
|
for (int i=0; i<fontNames.length; i++)
|
|
|
|
for (int i=0; i<fontNames.length; i++)
|
|
|
|
{
|
|
|
|
{
|
|
|
|