⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 0234-0234.html

📁 linux-unix130.linux.and.unix.ebooks130 linux and unix ebookslinuxLearning Linux - Collection of 12 E
💻 HTML
字号:
<HTML>



<HEAD>

<TITLE>Linux Complete Command Reference:User Commands:EarthWeb Inc.-</TITLE>

</HEAD>

<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<SCRIPT>
<!--
function displayWindow(url, width, height) {
        var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>

 -->




<!-- ISBN=0672311046 //-->

<!-- TITLE=Linux Complete Command Reference//-->

<!-- AUTHOR=Red Hat//-->

<!-- PUBLISHER=Macmillan Computer Publishing//-->

<!-- IMPRINT=Sams//-->

<!-- CHAPTER=01 //-->

<!-- PAGES=0001-0736 //-->

<!-- UNASSIGNED1 //-->

<!-- UNASSIGNED2 //-->



<P><CENTER>

<a href="0232-0233.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="0235-0237.html">Next</A></CENTER></P>







<A NAME="PAGENUM-234"><P>Page 234</P></A>







<P>which says that the PostScript font should be reencoded using the encoding described in

enc_file; this file should consist of a sequence of lines of the form:

</P>

<!-- CODE SNIP //-->

<PRE>

pschar code

</PRE>

<!-- END CODE SNIP //-->

<P>where pschar is the PostScript name of the character, and

code is its position in the encoding expressed as a decimal

integer. The code for each character given in the font file must correspond to the code for the character in encoding file, or to

the code in the default encoding for the font if the PostScript font is not to be reencoded. This code can be used with the

\N escape sequence in troff to select the character, even if the character does not have a

groff name. Every character in the font file must exist in the PostScript font, and the widths given in the font file must match the widths used in the PostScript

font. grops will assume that a character with a

groff name of space is blank (makes no marks on the page); it can make use of

such a character to generate more efficient and compact PostScript output.

</P>

<P>grops can automatically include the downloadable fonts necessary to print the document. Any downloadable fonts

which should, when required, be included by grops must be listed in the file

/usr/lib/groff/font/devps/download; this should consist of lines of the form:

</P>

<!-- CODE SNIP //-->

<PRE>

font filename

</PRE>

<!-- END CODE SNIP //-->

<P>where font is the PostScript name of the font, and

filename is the name of the file containing the font; lines beginning with

# and blank lines are ignored; fields may be separated by tabs or spaces;

filename will be searched for using the same mechanism that is used for

groff font metric files. The download file itself will also be searched for using this mechanism.

</P>

<P>If the file containing a downloadable font or imported document conforms to the Adobe Document Structuring

Conventions, then grops will interpret any comments in the files sufficiently to ensure that its own output is conforming. It will

also supply any needed font resources that are listed in the download file as well as any needed file resources. It is also able

to handle interresource dependencies. For example, suppose that you have a downloadable font called Garamond, and also

a downloadable font called Garamond-Outline that depends on Garamond (typically, it would be defined to copy

Garamond's font dictionary, and change the PaintType), then it is necessary for Garamond to appear before Garamond-Outline in

the PostScript document. grops will handle this automatically provided that the downloadable font file for

Garamond-Outline indicates its dependence on Garamond by means of the Document Structuring Conventions, for example by beginning

with the following lines:

<!-- CODE SNIP //-->

<PRE>

%!PS-Adobe-3.0 Resource-Font

%%DocumentNeededResources: font Garamond

%%EndComments

%%IncludeResource: font Garamond

</PRE>

<!-- END CODE SNIP //-->

<P>In this case, both Garamond and Garamond-Outline would need to be listed in the download file. A downloadable

font should not include its own name in a

%%DocumentSuppliedResources comment.

</P>

<P>grops will not interpret %%DocumentFonts comments.

</P>

<P>The %%DocumentNeededResources,

%%DocumentSuppliedResources, %%IncludeResource,

%%BeginResource, and %%EndResource comments (or possibly the old

%%DocumentNeededFonts, %%DocumentSuppliedFonts,

%%IncludeFont, %%BeginFont, and %%EndFont comments) should be used.

</P>



<P><B>

FILES

</B>

</P>





<COLS=2>

</TD></TR><TR><TD>

/usr/lib/groff/font/devps/DESC

</TD><TD>

Device description file

</TD></TR><TR><TD>

/usr/lib/groff/font/devps/F

</TD><TD>

Font description file for font F

</TD></TR><TR><TD>

/usr/lib/groff/font/devps/download

</TD><TD>

List of downloadable fonts.

</TD></TR><TR><TD>

/usr/lib/groff/font/devps/text.enc

</TD><TD>

Encoding used for text fonts

</TD></TR><TR><TD>

/usr/lib/groff/tmac/tmac.ps

</TD><TD>

Macros for use with

grops; automatically loaded by troffrc

</TD></TR><TR><TD>

/usr/lib/groff/tmac/tmac.pspic

</TD><TD>

Definition of

PSPIC macro, automatically loaded by tmac.ps

</TD></TR><TR><TD>

/usr/lib/groff/tmac/tmac.psold

</TD><TD>

Macros to disable use of characters not present in older PostScript

printers; automatically loaded by tmac.ps

</TD></TR><TR><TD>

/usr/lib/groff/tmac/tmac.psnew

</TD><TD>

Macros to undo the effect of

tmac.psold

</TD></TR><TR><TD>

/tmp/gropsXXXXXX

</TD><TD>

Temporary file

</TD></TR></TABLE>







<P><CENTER>

<a href="0232-0233.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="0235-0237.html">Next</A></CENTER></P>







</td>
</tr>
</table>

<!-- begin footer information -->







</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -