ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzau6_5.4.0.1/rzau6spectt.htm

65 lines
3.5 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="dc.language" scheme="rfc1766" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<meta name="dc.date" scheme="iso8601" content="2005-09-06" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2006" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow"/>
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<title>Specify a TrueType or OpenType font</title>
<link rel="stylesheet" type="text/css" href="ibmidwb.css" />
<link rel="stylesheet" type="text/css" href="ic.css" />
</head>
<body>
<a id="Top_Of_Page" name="Top_Of_Page"></a><!-- Java sync-link -->
<script language = "Javascript" src = "../rzahg/synch.js" type="text/javascript"></script>
<a name="rzau6spectt"></a>
<h5 id="rzau6spectt">Specify a TrueType or OpenType font</h5>
<p>You can specify a TrueType font anywhere that you can specify an Advanced Function Presentation&trade; (AFP&trade;) font. You can also mix references to TrueType and AFP fonts. However,
TrueType fonts are referenced differently than AFP fonts. </p>
<a name="wq12"></a>
<div class="notetitle" id="wq12">Note:</div>
<div class="notebody">In this topic, the
term TrueType refers to both TrueType and OpenType fonts.</div>
<p>To specify a TrueType font in your document, use the Data description specifications
(DDS) FONTNAME keyword to specify the TrueType font name. You can also use
this keyword to specify other options, such as a code page. </p>
<a name="wq13"></a>
<div class="notelisttitle" id="wq13">Usage notes:</div>
<ol type="1">
<li>If you do not specify a code page with the TrueType font, i5/OS&trade; assumes the
print data that uses this font is UTF-16.</li>
<li>The font name must match exactly, including the case, trailing blanks,
embedded blanks, and so on.</li>
<li>You must ensure that your printer supports the specified font. If the
printer does not support a requested font, processing stops. No substitution
is done.</li>
</ol>
<a name="wq15"></a>
<div class="notetitle" id="wq15">Note:</div>
<div class="notebody">Any TrueType font that is to be used with AFP must be Unicode-enabled.
This means that the font must have these characteristics:
<ul>
<li>It must contain a Microsoft&reg; Unicode subtable identified
by platform ID = 3 (Microsoft) and platform-specific encoding
ID = 1 (Unicode, UTF-16).</li>
<li>It must specify a full font name (Name ID 4) using the same encoding in
the naming table.</li></ul></div>
<p><span class="bold">Related concepts</span></p>
<p><a href="../dds/rbafpfinder.htm" target="_blank">DDS keyword finder</a></p>
<p><a href="rzau6differ.htm#rzau6differ">How TrueType and OpenType fonts differ from AFP fonts</a></p>
<p><a href="rzau6tt52.htm#rzau6tt52">TrueType fonts on OS/400 V5R2</a></p>
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
</body>
</html>