ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzalu_5.4.0.1/rzaluconcodedfont.htm

81 lines
4.6 KiB
HTML

<?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 1998, 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>Coded fonts</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="rzaluconcodedfont"></a>
<h5 id="rzaluconcodedfont">Coded fonts</h5>
<p>A coded font is the pairing of a font character set and a code page. Coded
fonts allow users to specify a font character set and a code page with one
value specified on the printer file.</p>
<p>Coded fonts available on the iSeries server can be viewed by using the Work
with Font Resources (WRKFNTRSC) command.</p>
<p>Coded font names are read by the system and then translated to a font character
set and a code page. These two elements are then sent to the printer.</p>
<p><span class="bold">Naming convention for coded fonts</span></p>
<p>Unlike other uniformly spaced and mixed-pitch font components, coded font
names are generally shortened by excluding the origin and reserved characters
(the first two characters of their name). This is necessary because some Advanced Function Presentation&trade; (AFP&trade;) licensed programs accept only 6 characters
for coded font names. However, some applications can use coded fonts named
with 6 or 8 characters.</p>
<p>Coded font names on the iSeries server are 6 or 8 characters long. Each character
or group of characters tells something about the coded font.</p>
<p>For example, in the coded font name X0GT10: </p>
<dl>
<dt class="bold">X0</dt>
<dd>The X0 means that this object is a coded font.
</dd>
<dt class="bold">XZ</dt>
<dd>The XZ means that this object is an outline coded font.
</dd>
<dt class="bold">GT10</dt>
<dd>The <span class="bold">GT10</span> indicates the type family, typeface,
and pitch for uniformly spaced and mixed-pitch fonts. In this example the
GT10 means that this font character set is a Gothic Text style and the characters
are 10 pitch or 10 characters per inch.
</dd>
</dl>
<p>To find out which font character set and code page make up a coded font
name, use the Work with Font Resources (WRKFNTRSC) command. This command
allows you to specify the font resource to be worked with, the library it
is in, and the attribute (coded font).</p>
<p>Additional naming conventions have been adopted to more explicitly name
the code page used with a character set.</p>
<p>For more information about coded fonts, see the manual <cite>About Type: IBM's Technical Reference for 240-Pel
Digitized Type</cite><span class="italic">,</span> GS544-3516.</p>
<p><span class="bold">Selecting coded fonts</span></p>
<p>A coded font is selected by specifying the coded font name as the value
on the coded font (CDEFNT) parameter of the printer file.</p>
<p>You can use the Work with Font Resources (WRKFNTRSC) command to view the
coded fonts that are available on the system.</p>
<p><span class="bold">Substituting coded fonts</span></p>
<p>No substitution of coded fonts takes place on the iSeries server. If the
coded font is not available, the document will not print.</p>
<p>You can use the MAPIGCFNT parameter on the CRTPSFCFG and CHGPSFCFG commands
to specify that coded font names of the form X0nnnnnn should be mapped to
XZnnnnnn. If the XZnnnnnn coded font is found it is used; if it is not found,
the X0nnnnnn coded font will be used.</p>
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
</body>
</html>