991 lines
36 KiB
XML
991 lines
36 KiB
XML
<?xml version="1.0" encoding="euc-jp"?>
|
||
<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V5.0-Based Extension//EN"
|
||
"http://www.FreeBSD.org/XML/share/xml/freebsd50.dtd">
|
||
<!--
|
||
The FreeBSD Documentation Project
|
||
The FreeBSD Japanese Documentation Project
|
||
|
||
$FreeBSD$
|
||
Original revision: 1.30
|
||
-->
|
||
<!-- Recently, I wanted to figure out how to use some additional fonts that
|
||
I had accumulated. I finally figured out *how to do it* from the various
|
||
man pages and documentation. Since it might be of use to other users,
|
||
and I didn't see any reference to this topic in the FAQ or handbook, I
|
||
thought I'd try my hand at a simple cookbook tutorial addressing the
|
||
use of fonts. I have included my unanswered questions at the end of
|
||
the document.
|
||
|
||
Anyway, here's what I put together. This is my present understanding of
|
||
fonts and how to use them with FreeBSD. I am sure that there are errors or
|
||
misunderstandings, but it contains enough valid information to allow the
|
||
use of additional fonts with Ghostscript, X11 and Groff. This is my first
|
||
attempt to write anything along the lines of a tutorial/FAQ, so I am sure
|
||
it is pretty raw. There are probably better ways to do some of this stuff,
|
||
and I would welcome being corrected.
|
||
-->
|
||
<!-- The section "Setting a virtual console to 80x60 line mode" was
|
||
updated to reflect changes in FreeBSD system configuration
|
||
files by Mark Ovens <mark@ukug.uk.FreeBSD.org> 27/5/00
|
||
-->
|
||
<article xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xml:lang="ja">
|
||
<info><title>¥Õ¥©¥ó¥È¤È FreeBSD</title><subtitle>A Tutorial</subtitle>
|
||
|
||
|
||
|
||
|
||
<authorgroup>
|
||
<author><personname><firstname>Dave</firstname><surname>Bodenstab</surname></personname><affiliation>
|
||
<address>
|
||
<email>imdave@synet.net</email>
|
||
</address>
|
||
</affiliation></author>
|
||
</authorgroup>
|
||
|
||
<pubdate>1996 ǯ 8 ·î 7 Æü (¿å)</pubdate>
|
||
|
||
<legalnotice xml:id="trademarks" role="trademarks">
|
||
&tm-attrib.freebsd;
|
||
&tm-attrib.adobe;
|
||
&tm-attrib.apple;
|
||
&tm-attrib.linux;
|
||
&tm-attrib.microsoft;
|
||
&tm-attrib.opengroup;
|
||
&tm-attrib.general;
|
||
</legalnotice>
|
||
|
||
<releaseinfo>$FreeBSD$</releaseinfo>
|
||
|
||
<abstract>
|
||
<para>¤³¤³¤Ç¤Ï FreeBSD ¤Î syscons ¥É¥é¥¤¥Ð¤ä
|
||
<application>X11</application>, <application>Ghostscript</application>,
|
||
<application>Groff</application>
|
||
¤ÇÍøÍѤ¹¤ë¤³¤È¤¬¤Ç¤¤ë¤µ¤Þ¤¶¤Þ¤Ê¥Õ¥©¥ó¥È¥Õ¥¡¥¤¥ë¤Ë¤Ä¤¤¤ÆÀâÌÀ¤·¤Æ¤¤¤Þ¤¹¡£
|
||
¤Þ¤¿¡¢syscons ¥Ç¥£¥¹¥×¥ì¥¤¤ò 80x60 ¹Ô¥â¡¼¥É¤ËÀÚ¤êÂؤ¨¤ëÊýË¡¤ä¡¢
|
||
¾å½Ò¤Î¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ç¥¿¥¤¥× 1 ¥Õ¥©¥ó¥È¤òÍøÍѤ¹¤ëÊýË¡¤òÎ㼨¤·¤Þ¤¹¡£</para>
|
||
</abstract>
|
||
</info>
|
||
|
||
<sect1 xml:id="intro">
|
||
<title>¤Ï¤¸¤á¤Ë</title>
|
||
|
||
<para>¿ô¿¤¯¤Î¥Õ¥©¥ó¥È¤Î¥½¡¼¥¹¤òÆþ¼ê¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¤¬¡¢¤³¤ì¤é¤ò
|
||
FreeBSD ¤Ç¤É¤Î¤è¤¦¤Ë¤·¤Æ»È¤¦¤«¤Ï¤¢¤Þ¤ê¤è¤¯ÃΤé¤ì¤Æ¤¤¤Ê¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£
|
||
¤½¤ÎÅú¤¨¤Ï¡¢»È¤¤¤¿¤¤¤È»×¤¦¹½À®Í×ÁǤÎÀâÌÀ½ñ¤òÃí°Õ¿¼¤¯Ãµ¤¹¤³¤È¤Ë¤è¤Ã¤Æ¸«¤Ä¤±¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
|
||
¤·¤«¤·¡¢¤³¤ì¤Ï¤È¤Æ¤â»þ´Ö¤¬¤«¤«¤ëºî¶È¤Ç¤¹¡£ËÜ¥Á¥å¡¼¥È¥ê¥¢¥ë¤Ï¡¢
|
||
¥Õ¥©¥ó¥È¤Ë´Ø¤·¤Æ¶½Ì£¤¬¤¢¤ë¸þ¤¤Ë¡¢
|
||
¤½¤Î¶áÆ»¤ò¶µ¤¨¤è¤¦¤È»î¤ß¤ë¤â¤Î¤Ç¤¢¤ê¤Þ¤¹¡£</para>
|
||
</sect1>
|
||
|
||
<sect1 xml:id="terminology">
|
||
<title>´ðËÜÍѸì</title>
|
||
|
||
<para>¥Õ¥©¥ó¥È·Á¼°¤Î¼ïÎà¤ä¤½¤ì¤Ë´ØÏ¢¤·¤¿¥Õ¥©¥ó¥È¥Õ¥¡¥¤¥ë¤Î³ÈÄ¥»Ò¤Ï¿¿ô¸ºß¤·¤Þ¤¹¡£
|
||
¤½¤ÎÆâ¤Ç¤³¤³¤Ç²òÀ⤹¤ë¤â¤Î¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹¡£</para>
|
||
|
||
<variablelist>
|
||
<varlistentry>
|
||
<term><filename>.pfa</filename>¡¢<filename>.pfb</filename></term>
|
||
|
||
<listitem>
|
||
<para>&postscript; ¥¿¥¤¥× 1 ¥Õ¥©¥ó¥È¡£³ÈÄ¥»Ò
|
||
<filename>.pfa</filename> ¤Ï
|
||
<emphasis>A</emphasis>scii ·Á¼°¤Î¤½¤·¤Æ³ÈÄ¥»Ò
|
||
<filename>.pfb</filename> ¤Ï <emphasis>B</emphasis>inary
|
||
·Á¼°¤ò°ÕÌ£¤¹¤ë¡£</para>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry>
|
||
<term><filename>.afm</filename></term>
|
||
|
||
<listitem>
|
||
<para>¥¿¥¤¥× 1 ¥Õ¥©¥ó¥È¤Ë´ØÏ¢¤¹¤ë¥Õ¥©¥ó¥È¥á¥È¥ê¥Ã¥¯¾ðÊó¡£</para>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry>
|
||
<term><filename>.pfm</filename></term>
|
||
|
||
<listitem>
|
||
<para>¥¿¥¤¥× 1 ¥Õ¥©¥ó¥È¤Ë´ØÏ¢¤¹¤ë¥×¥ê¥ó¥¿ÍÑ¥Õ¥©¥ó¥È¥á¥È¥ê¥Ã¥¯¾ðÊó¡£</para>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry>
|
||
<term><filename>.ttf</filename></term>
|
||
|
||
<listitem>
|
||
<para>&truetype; ¥Õ¥©¥ó¥È¡£</para>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry>
|
||
<term><filename>.fot</filename></term>
|
||
|
||
<listitem>
|
||
<para>TrueType ¥Õ¥©¥ó¥È¤Ø¤Î´ÖÀÜŪ¤Ê»²¾È¥Õ¥¡¥¤¥ë
|
||
(¼ÂºÝ¤Ë¤Ï¥Õ¥©¥ó¥È¥Õ¥¡¥¤¥ë¤Ç¤Ï¤Ê¤¤)¡£</para>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry>
|
||
<term><filename>.fon</filename>¡¢<filename>.fnt</filename></term>
|
||
|
||
<listitem>
|
||
<para>¥¹¥¯¥ê¡¼¥óɽ¼¨Íѥӥåȥޥåץե©¥ó¥È¡£</para>
|
||
</listitem>
|
||
</varlistentry>
|
||
</variablelist>
|
||
|
||
<para><filename>.fot</filename> ¥Õ¥¡¥¤¥ë¤Ï¡¢&windows; ¤ÇÍѤ¤¤é¤ì¡¢
|
||
¼ÂºÝ¤Î &truetype; ¥Õ¥©¥ó¥È (<filename>.ttf</filename>)
|
||
¥Õ¥¡¥¤¥ë¤Ø¤Î¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤ËÎह¤ëÌò³ä¤ò²Ì¤¿¤·¤Þ¤¹¡£
|
||
<filename>.fon</filename> ¥Õ¥©¥ó¥È¤â Windows ¤ÇÍѤ¤¤é¤ì¤Æ¤¤¤Þ¤¹¤¬¡¢
|
||
FreeBSD ¤Ç¤³¤Î·Á¼°¤Î¥Õ¥©¥ó¥È¤òÍøÍѤ¹¤ëÊýË¡¤òÉ®¼Ô¤ÏÃΤê¤Þ¤»¤ó¡£</para>
|
||
</sect1>
|
||
|
||
<sect1 xml:id="font-formats">
|
||
<title>¤É¤Î¥Õ¥©¥ó¥È·Á¼°¤òÍøÍѤǤ¤Þ¤¹¤«?</title>
|
||
|
||
<para>¤É¤Î¥Õ¥©¥ó¥È¥Õ¥¡¥¤¥ë·Á¼°¤¬ÍÍѤǤ¢¤ë¤«¤Ï¡¢
|
||
ÍøÍѤ¹¤ë¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ë°Í¤ê¤Þ¤¹¡£
|
||
FreeBSD ¼«¿È¤Ï¥Õ¥©¥ó¥È¥Õ¥¡¥¤¥ë¤ÏÍøÍѤ·¤Þ¤»¤ó¡£
|
||
¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¥×¥í¥°¥é¥à¤ä¥É¥é¥¤¥Ð (¤¢¤ë¤¤¤Ï¤½¤ÎξÊý) ¤Ë¤è¤Ã¤Æ¤Ï¡¢
|
||
¤¢¤ë¥Õ¥©¥ó¥È¥Õ¥¡¥¤¥ë¤òÍøÍѤ¹¤ë¤è¤¦¤Ë¤Ç¤¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£
|
||
°Ê²¼¤Ï¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¡¢µÚ¤Ó¡¢
|
||
¥É¥é¥¤¥Ð¤È¤½¤ì¤¬ÍøÍѤǤ¤ë¥Õ¥©¥ó¥È¥¿¥¤¥×¤Î³ÈÄ¥»Ò¤ÎÂбþɽ¤ò´Êñ¤Ë¼¨¤·¤Þ¤¹¡£</para>
|
||
|
||
<variablelist>
|
||
<varlistentry>
|
||
<term>¥É¥é¥¤¥Ð</term>
|
||
|
||
<listitem>
|
||
<variablelist>
|
||
<varlistentry>
|
||
<term>syscons</term>
|
||
|
||
<listitem>
|
||
<para><filename>.fnt</filename></para>
|
||
</listitem>
|
||
</varlistentry>
|
||
</variablelist>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry>
|
||
<term>¥¢¥×¥ê¥±¡¼¥·¥ç¥ó</term>
|
||
|
||
<listitem>
|
||
<variablelist>
|
||
<varlistentry>
|
||
<term><application>Ghostscript</application></term>
|
||
|
||
<listitem>
|
||
<para><filename>.pfa</filename>¡¢
|
||
<filename>.pfb</filename>¡¢
|
||
<filename>.ttf</filename></para>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry>
|
||
<term><application>X11</application></term>
|
||
|
||
<listitem>
|
||
<para><filename>.pfa</filename>¡¢
|
||
<filename>.pfb</filename></para>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry>
|
||
<term><application>Groff</application></term>
|
||
|
||
<listitem>
|
||
<para><filename>.pfa</filename>¡¢
|
||
<filename>.afm</filename></para>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry>
|
||
<term><application>Povray</application></term>
|
||
|
||
<listitem>
|
||
<para><filename>.ttf</filename></para>
|
||
</listitem>
|
||
</varlistentry>
|
||
</variablelist>
|
||
</listitem>
|
||
</varlistentry>
|
||
</variablelist>
|
||
|
||
<para>³ÈÄ¥»Ò <filename>.fnt</filename> ¤Ï¶Ë¤á¤ÆÉÑÈˤ˻Ȥï¤ì¤Æ¤¤¤Þ¤¹¡£
|
||
(ÌõÃí: ¤³¤Î³ÈÄ¥»Ò¤¬¥Õ¥©¥ó¥È (font) ¤È¤¤¤¦Ì¾Á°¤«¤éÏ¢ÁÛ¤·¤ä¤¹¤¤¤Î¤Ç)
|
||
¤¢¤ë¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ËÆò½¤·¤¿¥Õ¥©¥ó¥È¤òºîÀ®¤·¤è¤¦¤È¤·¤¿ºÝ¤Ë¤Ï¤¤¤Ä¤Ç¤â¡¢
|
||
¤³¤Î³ÈÄ¥»Ò¤¬ÁªÂò¤µ¤ì¤ëÊý¤¬¤½¤¦¤Ç¤Ê¤¤¤È¤¤è¤ê¤â¤«¤Ê¤ê¿¤¤¤Î¤Ç¤Ï¤Ê¤¤¤«¤ÈÃø¼Ô¤Ïµ¿¤Ã¤Æ¤¤¤Þ¤¹¡£
|
||
¤³¤Î¤¿¤á¡¢¤³¤Î³ÈÄ¥»Ò¤ò»ý¤Ä¥Õ¥¡¥¤¥ëÁ´¤Æ¤¬Æ±¤¸·Á¼°¤Ë¤Ï¤Ê¤Ã¤Æ¤¤¤Ê¤¤¤è¤¦¤Ç¤¹¡£
|
||
Æäˡ¢<filename>.fnt</filename> ¥Õ¥¡¥¤¥ë¤Ï
|
||
FreeBSD ¾å¤Ç¤Ï syscons ¤Ë¤è¤Ã¤ÆÍøÍѤµ¤ì¤Æ¤¤¤Þ¤¹¤¬¡¢¤³¤ì¤È &ms-dos; ¤ä
|
||
&windows; ´Ä¶¤Ç½Ð²ñ¤Ã¤¿ <filename>.fnt</filename>
|
||
¤È¤ÏƱ¤¸·Á¼°¤Ç¤Ï¤Ê¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£
|
||
É®¼Ô¤Ï FreeBSD ¤ÇÄ󶡤µ¤ì¤Æ¤¤¤ë°Ê³°¤Î <filename>.fnt</filename>
|
||
¥Õ¥¡¥¤¥ë¤òÍøÍѤ¹¤ë»î¤ß¤Ï°ìÀڹԤäƤ¤¤Þ¤»¤ó¡£</para>
|
||
</sect1>
|
||
|
||
<sect1 xml:id="virtual-console">
|
||
<title>²¾ÁÛ¥³¥ó¥½¡¼¥ë¤ò 80x60 ¹Ô¥â¡¼¥É¤ËÀßÄꤹ¤ë</title>
|
||
|
||
<para>¤Þ¤º¡¢8x8 ¥µ¥¤¥º¤Î¥Õ¥©¥ó¥È¤¬¥í¡¼¥É¤µ¤ì¤Æ¤¤¤Ê¤¯¤Æ¤Ï¤Ê¤ê¤Þ¤»¤ó¡£
|
||
¤½¤Î¤¿¤á¤Ë¤Ï¡¢<filename>/etc/rc.conf</filename>
|
||
¤Ë°Ê²¼¤Î¹Ô¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¤Ù¤¤Ç¤¹
|
||
(¥Õ¥©¥ó¥È¤Î̾¾Î¤ò¤¢¤Ê¤¿¤Î locale ¤ËÂбþ¤¹¤ë¤â¤Î¤Ë½ñ¤´¹¤¨¤Æ¤¯¤À¤µ¤¤)¡£</para>
|
||
|
||
<informalexample>
|
||
<programlisting>font8x8="iso-8x8" # font 8x8 from /usr/share/syscons/fonts/* (or NO).</programlisting>
|
||
</informalexample>
|
||
|
||
<para>¼ÂºÝ¤Ë¥â¡¼¥É¤òÀÚ¤êÂؤ¨¤ë¥³¥Þ¥ó¥É¤Ï
|
||
&man.vidcontrol.1; ¤Ç¤¹¡£</para>
|
||
|
||
<informalexample>
|
||
<screen>&prompt.user; <userinput>vidcontrol VGA_80x60</userinput></screen>
|
||
</informalexample>
|
||
|
||
<para>&man.vi.1; ¤Î¤è¤¦¤Ê¡¢¤µ¤Þ¤¶¤Þ¤Ê¥¹¥¯¥ê¡¼¥ó»Ø¸þ¤Î¥×¥í¥°¥é¥à¤ËÂФ·¤Æ¡¢
|
||
¸½ºß¤Î²èÌÌ¥µ¥¤¥º¤¬Ê¬¤«¤ë¤è¤¦¤Ë¤·¤Æ¤ª¤«¤Ê¤¯¤Æ¤Ï¤Ê¤ê¤Þ¤»¤ó¡£¤³¤ì¤Ï
|
||
<command>ioctl</command> ¤òÄ̤¸¤Æ (&man.syscons.4; ¤Ê¤É¤Î)
|
||
¥³¥ó¥½¡¼¥ë¥É¥é¥¤¥Ð¤Ë¸Æ¤Ó³Ý¤±¤ë¤³¤È¤Ç¹Ô¤ï¤ì¡¢</para>
|
||
|
||
<para>¤³¤ì¤é¤ò°ìÅ٤˺Ѥޤ»¤ë¤¿¤á¤Ë¡¢
|
||
¤³¤ì¤é¤Î¥³¥Þ¥ó¥É¤òµ¯Æ°ÍѤΥ¹¥¯¥ê¥×¥È¤Ë½ñ¤¤¤Æ¤ª¤¡¢
|
||
¤³¤ì¤ò¥·¥¹¥Æ¥àµ¯Æ°»þ¤Ë¼Â¹Ô¤¹¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£
|
||
¤³¤ÎÊýË¡¤Ç¤Ï <filename>/etc/rc.conf</filename> ¤Ë°Ê²¼¤Î¹Ô¤òÄɲä·¤Þ¤¹
|
||
</para>
|
||
|
||
<informalexample>
|
||
<programlisting>allscreens_flags="VGA_80x60" # Set this vidcontrol mode for all virtual screens
|
||
</programlisting>
|
||
</informalexample>
|
||
|
||
<para>»²¹Íʸ¸¥: &man.rc.conf.5;¡¢&man.vidcontrol.1;</para>
|
||
</sect1>
|
||
|
||
<sect1 xml:id="type1-fonts-x11">
|
||
<title>¥¿¥¤¥× 1 ¥Õ¥©¥ó¥È¤ò <application>X11</application> ¤ÇÍøÍѤ¹¤ë</title>
|
||
|
||
<para><application>X11</application> ¤Ç¤Ï¡¢
|
||
<filename>.pfa</filename> ·Á¼°¡¢¤â¤·¤¯¤Ï¡¢
|
||
<filename>.pfb</filename> ·Á¼°¤Î¥Õ¥©¥ó¥È¤Î¤É¤Á¤é¤Ç¤âÍøÍѤǤ¤Þ¤¹¡£
|
||
<application>X11</application> ¤Ç¤Ï¡¢¥Õ¥©¥ó¥È¤Ï
|
||
<filename>/usr/X11R6/lib/X11/fonts</filename>
|
||
°Ê²¼¤Î¤µ¤Þ¤¶¤Þ¤Ê¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤ËÃÖ¤«¤ì¤Æ¤¤¤Þ¤¹¡£
|
||
¤½¤ì¤¾¤ì¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ë
|
||
<filename>fonts.dir</filename> ¥Õ¥¡¥¤¥ë¤ÎÆâÍƤˤè¤Ã¤Æ¡¢
|
||
¤½¤ì¤¾¤ì¤Î¥Õ¥©¥ó¥È¤Î¥Õ¥¡¥¤¥ë¤È <application>X11</application>
|
||
¾å¤Ç¤Î¥Õ¥©¥ó¥È̾¤¬´ØÏ¢ÉÕ¤±¤é¤ì¤Æ¤¤¤Þ¤¹¡£</para>
|
||
|
||
<para><filename>Type1</filename>
|
||
¤È¤¤¤¦Ì¾Á°¤Î¥Ç¥£¥ì¥¯¥È¥ê¤¬´û¤Ë¸ºß¤·¤Æ¤¤¤Þ¤¹¡£
|
||
¿·¤·¤¤¥Õ¥©¥ó¥È¤òÄɲ乤ëºÇ¤â´Êñ¤ÊÊýË¡¤Ï¡¢
|
||
¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Î¤½¤Î¥Õ¥©¥ó¥È¥Õ¥¡¥¤¥ë¤òÃÖ¤¯¤³¤È¤Ç¤¹¡£
|
||
¿·¤·¤¤¥Õ¥©¥ó¥È¤ÏÊ̤ʥǥ£¥ì¥¯¥È¥ê¤ËÃÖ¤¤¤Æ¤ª¤¡¢<filename>Type1</filename>
|
||
¥Ç¥£¥ì¥¯¥È¥ê¤ËÄɲåե©¥ó¥È¤Ø¤Î¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤òÄ¥¤ëÊý¤¬¤è¤êÍ¥¤ì¤Æ¤¤¤Þ¤¹¡£
|
||
¤Ê¤¼¤Ê¤é¡¢¤³¤ÎÊýË¡¤ò¤È¤ë¤³¤È¤Ç¥ª¥ê¥¸¥Ê¥ë¤Ç¶¡µë¤µ¤ì¤Æ¤¤¤ë¥Õ¥©¥ó¥È¤Èº®Í𤹤뤳¤È¤Ê¤¯¡¢
|
||
¤³¤ì¤é¤Î¥Õ¥©¥ó¥È¤òÄɲä·¤¿Àפò»Ä¤¹¤³¤È¤¬¤è¤ê´Êñ¤Ë¤Ç¤¤ë¤«¤é¤Ç¤¹¡£
|
||
¤³¤ÎÊýË¡¤Ï¡¢Î㤨¤Ð¡¢¼¡¤Î¤è¤¦¤Ë¹Ô¤¤¤Þ¤¹¡£</para>
|
||
|
||
<informalexample>
|
||
<screen><lineannotation>¥Õ¥©¥ó¥È¥Õ¥¡¥¤¥ë¤òÆþ¤ì¤ë¥Ç¥£¥ì¥¯¥È¥ê¤òºîÀ®¤·¤Þ¤¹¡£</lineannotation>
|
||
&prompt.user; <userinput>mkdir -p /usr/local/share/fonts/type1</userinput>
|
||
&prompt.user; <userinput>cd /usr/local/share/fonts/type1</userinput>
|
||
|
||
<lineannotation>¤³¤³¤Ë .pfa ¤Þ¤¿¤Ï .pfb ¥Õ¥¡¥¤¥ë¤È .afm ¥Õ¥¡¥¤¥ë¤òÃÖ¤¤Þ¤¹¡£</lineannotation>
|
||
<lineannotation>¥Õ¥©¥ó¥È¤Î readme ¥Õ¥¡¥¤¥ë¤ä¤½¤Î¾¤Î¥É¥¥å¥á¥ó¥È¤ò¤³¤Î¥Ç¥£</lineannotation>
|
||
<lineannotation>¥ì¥¯¥È¥ê¤ËÃÖ¤¤¤Æ¤â¹½¤¤¤Þ¤»¤ó¡£</lineannotation>
|
||
&prompt.user; <userinput>cp /cdrom/fonts/atm/showboat/showboat.pfb .</userinput>
|
||
&prompt.user; <userinput>cp /cdrom/fonts/atm/showboat/showboat.afm .</userinput>
|
||
|
||
<lineannotation>¥Õ¥©¥ó¥È¤Î¥¯¥í¥¹¥ê¥Õ¥¡¥ì¥ó¥¹¤Î¤¿¤á¤Ë¥¤¥ó¥Ç¥Ã¥¯¥¹¤òÊѹ¹¤·¤Þ¤¹¡£</lineannotation>
|
||
&prompt.user; <userinput>echo showboat - InfoMagic CICA, Dec 1994, /fonts/atm/showboat >>INDEX</userinput></screen>
|
||
</informalexample>
|
||
|
||
<para>¤µ¤Æ¡¢¿·¤·¤¤¥Õ¥©¥ó¥È¤ò <application>X11</application> ¤ÇÍøÍѤ¹¤ë¤¿¤á¤Ë¤Ï¡¢
|
||
¤½¤Î¥Õ¥©¥ó¥È¥Õ¥¡¥¤¥ë¤òÍøÍѤǤ¤ë¤è¤¦¤Ë¤·¤Æ¡¢
|
||
¥Õ¥©¥ó¥È̾¤Î¥Õ¥¡¥¤¥ë¤ò¹¹¿·¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
|
||
<application>X11</application> ¤Î¥Õ¥©¥ó¥È̾¤Ï¼¡¤Î¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£</para>
|
||
|
||
<informalexample>
|
||
<screen>-bitstream-charter-medium-r-normal-xxx-0-0-0-0-p-0-iso8859-1
|
||
| | | | | | | | | | | | \ \
|
||
| | | | | \ \ \ \ \ \ \ +----+- character set
|
||
| | | | \ \ \ \ \ \ \ +- average width
|
||
| | | | \ \ \ \ \ \ +- spacing
|
||
| | | \ \ \ \ \ \ +- vertical res.
|
||
| | | \ \ \ \ \ +- horizontal res.
|
||
| | | \ \ \ \ +- points
|
||
| | | \ \ \ +- pixels
|
||
| | | \ \ \
|
||
foundry family weight slant width additional style</screen>
|
||
</informalexample>
|
||
|
||
<para>¿·¤·¤¤¥Õ¥©¥ó¥È¤½¤ì¤¾¤ì¤ËÂФ·¤Æ¡¢¿·¤·¤¤Ì¾Á°¤òÉÕ¤±¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
|
||
¥Õ¥©¥ó¥ÈÉÕ°¤Î¥É¥¥å¥á¥ó¥È¤Ë¥Õ¥©¥ó¥È¤Ë´Ø¤¹¤ë¾ðÊ󤬤¢¤ì¤Ð¡¢
|
||
̾Á°¤òºî¤ëºÝ¤Î´ð¤Ë¤Ê¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£¤½¤Î¤è¤¦¤Ê¾ðÊ󤬤ʤ¤¾ì¹ç¤Ï¡¢
|
||
¥Õ¥©¥ó¥È¤ËÂФ·¤Æ &man.strings.1;
|
||
¤ò»È¤¦¤È²¿¤é¤«¤Î¥¢¥¤¥Ç¥¢¤¬ÆÀ¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£Î㤨¤Ð¡¢</para>
|
||
|
||
<informalexample>
|
||
<screen>&prompt.user; <userinput>strings showboat.pfb | more</userinput>
|
||
%!FontType1-1.0: Showboat 001.001
|
||
%%CreationDate: 1/15/91 5:16:03 PM
|
||
%%VMusage: 1024 45747
|
||
% Generated by Fontographer 3.1
|
||
% Showboat
|
||
1991 by David Rakowski. Alle Rechte Vorbehalten.
|
||
FontDirectory/Showboat known{/Showboat findfont dup/UniqueID known{dup
|
||
/UniqueID get 4962377 eq exch/FontType get 1 eq and}{pop false}ifelse
|
||
{save true}{false}ifelse}{false}ifelse
|
||
12 dict begin
|
||
/FontInfo 9 dict dup begin
|
||
/version (001.001) readonly def
|
||
/FullName (Showboat) readonly def
|
||
/FamilyName (Showboat) readonly def
|
||
/Weight (Medium) readonly def
|
||
/ItalicAngle 0 def
|
||
/isFixedPitch false def
|
||
/UnderlinePosition -106 def
|
||
/UnderlineThickness 16 def
|
||
/Notice (Showboat
|
||
1991 by David Rakowski. Alle Rechte Vorbehalten.) readonly def
|
||
end readonly def
|
||
/FontName /Showboat def
|
||
--stdin--</screen>
|
||
</informalexample>
|
||
|
||
<para>¤³¤Î¾ðÊ󤫤顢¼¡¤Î¤è¤¦¤Ê̾Á°¤¬¹Í¤¨¤é¤ì¤Þ¤¹:</para>
|
||
|
||
<informalexample>
|
||
<screen>-type1-Showboat-medium-r-normal-decorative-0-0-0-0-p-0-iso8859-1</screen>
|
||
</informalexample>
|
||
|
||
<para>¤³¤Î̾Á°¤Î¹½À®¤Ï¼¡¤ÎÄ̤ê¤Ç¤¹¡£</para>
|
||
|
||
<variablelist>
|
||
<varlistentry>
|
||
<term>·¿ (foundry)</term>
|
||
|
||
<listitem>
|
||
<para>¿·¥Õ¥©¥ó¥È¤Ï <literal>type1</literal>
|
||
¤È̾ÉÕ¤±¤ë¤³¤È¤Ë¤·¤Þ¤·¤ç¤¦¡£</para>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry>
|
||
<term>² (family)</term>
|
||
|
||
<listitem>
|
||
<para>¥Õ¥©¥ó¥È¤Î̾Á°¤Ç¤¹¡£</para>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry>
|
||
<term>½Å¤ß (weight)</term>
|
||
|
||
<listitem>
|
||
<para>normal (ÉáÄÌ)¡¢bold (ÂÀ¤¤)¡¢medium (Ãæ´Ö)¡¢
|
||
semibold (¤ä¤äÂÀ¤á) ¤Ê¤É¤¬¤¢¤ê¤Þ¤¹¡£¾åµ¤Î
|
||
&man.strings.1; ¤Î½ÐÎϤè¤ê¡¢
|
||
¥Õ¥©¥ó¥È¤Î½Å¤ß¤Ï <emphasis>medium</emphasis>
|
||
¤Ç¤¢¤ë¤È¹Í¤¨¤é¤ì¤Þ¤¹¡£</para>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry>
|
||
<term>·¹¼Ð (slant)</term>
|
||
|
||
<listitem>
|
||
<para><emphasis remap="bf">r</emphasis>oman (¥í¡¼¥Þ¥óÂÎ)¡¢<emphasis remap="bf">i</emphasis>talic (¥¤¥¿¥ê¥Ã¥¯ÂÎ)¡¢<emphasis remap="bf">o</emphasis>blique (¼Ð»úÂÎ) ¤Ê¤É¤¬¤¢¤ê¤Þ¤¹¡£
|
||
<emphasis>ItalicAngle</emphasis> ¤¬0¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤³¤È¤Ë¤è¤ê¡¢
|
||
<emphasis>roman</emphasis> ¤ò»È¤Ã¤Æ¤¤¤Þ¤¹¡£</para>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry>
|
||
<term>Éý</term>
|
||
|
||
<listitem>
|
||
<para>normal (ÉáÄÌ)¡¢wide (Éý¹)¡¢condensed (°µ½Ì)¡¢extended(³ÈÄ¥)
|
||
¤Ê¤É¤¬¤¢¤ê¤Þ¤¹¡£¾åµ¤ÇÄ´¤Ù¤¿·ë²Ì¤«¤é¡¢
|
||
<emphasis>normal</emphasis> ¤ò²¾Äꤷ¤Þ¤¹¡£</para>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry>
|
||
<term>Äɲå¹¥¿¥¤¥ë</term>
|
||
|
||
<listitem>
|
||
<para>Ä̾ï¤Ï¾Êά¤µ¤ì¤Þ¤¹¤¬¡¢¥Õ¥©¥ó¥È¤ËÁõ¾þÍÑ (decorative)
|
||
±ÑÂçʸ»ú¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¤³¤È¤ò¤³¤³¤Ç¼¨¤·¤Þ¤¹¡£</para>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry>
|
||
<term>¥¹¥Ú¡¼¥·¥ó¥°</term>
|
||
|
||
<listitem>
|
||
<para>proportional (¥×¥í¥Ý¡¼¥·¥ç¥Ê¥ë (ÌõÃí:
|
||
»ú·Á¤Ë±þ¤¸¤ÆÉý¤¬ÊѲ½¤¹¤ë¥Õ¥©¥ó¥È)) ¤Þ¤¿¤Ï monospaced
|
||
(ñ°ìÉý¥Õ¥©¥ó¥È) ¤¬¤¢¤ê¤Þ¤¹¡£¤³¤³¤Ç¤Ï
|
||
<emphasis>Proportional</emphasis> ¤È¤·¤Æ¤¢¤ê¤Þ¤¹¤¬¡¢¤³¤ì¤Ï
|
||
<emphasis>isFixedPitch</emphasis> ¤¬ false (µ¶)
|
||
¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤¿¤á¤Ç¤¹¡£</para>
|
||
</listitem>
|
||
</varlistentry>
|
||
</variablelist>
|
||
|
||
<para>¤³¤ì¤é¤Î̾Á°¤ÏÁ´¤ÆǤ°Õ¤Ê¤Î¤Ç¤¹¤¬¡¢
|
||
´û¸¤Î´·½¬¤È¸ß´¹À¤òÊݤĤ褦ÅØÎϤ¹¤Ù¤¤Ç¤·¤ç¤¦¡£
|
||
<application>X11</application> ¥×¥í¥°¥é¥à¤Ç¤Ï¡¢
|
||
¥Õ¥©¥ó¥È¤Ï¥ï¥¤¥ë¥É¥«¡¼¥É¤ò´Þ¤ó¤À̾Á°¤Ç»²¾È¤µ¤ì¤Þ¤¹¡£¤Ç¤¹¤«¤é¡¢
|
||
¥Õ¥©¥ó¥È̾¤Ï²¿¤é¤«¤Î°ÕÌ£¤Å¤±¤ò»ý¤Ã¤ÆÁªÂò¤µ¤ì¤ë¤Ù¤¤Ç¤·¤ç¤¦¡£
|
||
(ÌõÃí : ŬÅö¤Ê¥Õ¥©¥ó¥È¤òõ¤¹¤È¤¡¢)
|
||
¤¢¤ë¿Í¤Ïñ½ã¤Ë°Ê²¼¤Î̾Á°¤ò»È¤¦¤³¤È¤«¤é»Ï¤á¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£
|
||
|
||
<informalexample>
|
||
<screen>…-normal-r-normal-…-p-…
|
||
</screen>
|
||
</informalexample>
|
||
|
||
¤½¤·¤Æ¡¢
|
||
&man.xfontsel.1;
|
||
¤Ç³ºÅö¤¹¤ë¥Õ¥©¥ó¥È¤òÄ´¤Ù¤Æ¤ß¤Æ¡¢¤½¤Î¥Õ¥©¥ó¥È¤Î·Á¤ò¸«¤Ê¤¬¤é¡¢
|
||
̾Á°¤òÄ´À᤹¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£</para>
|
||
|
||
<para>¤½¤ì¤Ç¤Ï¡¢¤³¤³¤Þ¤Ç¤ÎÎã¤ò´°·ë¤µ¤»¤ë¤³¤È¤Ë¤·¤Þ¤·¤ç¤¦¡£</para>
|
||
|
||
<informalexample>
|
||
<screen><lineannotation>X11 ¤ËÂФ·¤Æ¥Õ¥©¥ó¥È¤ò¥¢¥¯¥»¥¹¤Ç¤¤ë¤è¤¦¤Ë¤·¤Þ¤¹¡£</lineannotation>
|
||
&prompt.user; <userinput>cd /usr/X11R6/lib/X11/fonts/Type1</userinput>
|
||
&prompt.user; <userinput>ln -s /usr/local/share/fonts/type1/showboat.pfb .</userinput>
|
||
|
||
<lineannotation>fonts.dir ¤È fonts.scale ¤òÊÔ½¸¤·¤Æ¡¢¥Õ¥©¥ó¥È¤òµ½Ò¤¹¤ë¹Ô¤òÄɲä·¡¢ºÇ½é¤Î¹Ô¤Ë¤¢¤ëÁí¥Õ¥©¥ó¥È¿ô¤òÁý¤ä¤·¤Þ¤¹¡£</lineannotation>
|
||
&prompt.user; <userinput>ex fonts.dir
|
||
:1p
|
||
25
|
||
:1c
|
||
26
|
||
.
|
||
:$a
|
||
showboat.pfb -type1-showboat-medium-r-normal-decorative-0-0-0-0-p-0-iso8859-1
|
||
.
|
||
:wq</userinput>
|
||
|
||
<lineannotation>fonts.scale ¤Ï fonts.dir¤ÈƱ°ìÆâÍƤΤ褦¤Ç¤¹¤Î¤Ç…</lineannotation>
|
||
&prompt.user; <userinput>cp fonts.dir fonts.scale</userinput>
|
||
|
||
<lineannotation>X11 ¤ËÆâÍƤ¬Êѹ¹¤µ¤ì¤¿¤³¤È¤òÅÁ¤¨¤Þ¤¹¡£</lineannotation>
|
||
&prompt.user; <userinput>xset fp rehash</userinput>
|
||
|
||
<lineannotation>¿·¤·¤¤¥Õ¥©¥ó¥È¤ò»î¤·¤Æ¤ß¤Þ¤¹¡£</lineannotation>
|
||
&prompt.user; <userinput>xfontsel -pattern -type1-*</userinput></screen>
|
||
</informalexample>
|
||
|
||
<para>»²¹Íʸ¸¥: &man.xfontsel.1;¡¢&man.xset.1;¡¢<citetitle>The X
|
||
Windows System in a Nutshell</citetitle>¡¢<link xlink:href="http://www.ora.com/">O'Reilly &
|
||
Associates</link></para>
|
||
</sect1>
|
||
|
||
<sect1 xml:id="type1-fonts-ghostscript">
|
||
<title>¥¿¥¤¥× 1 ¥Õ¥©¥ó¥È¤ò Ghostscript ¤ÇÍøÍѤ¹¤ë</title>
|
||
|
||
<para><application>Ghostscript</application> ¤Ç¤Ï¡¢
|
||
<filename>Fontmap</filename> ¥Õ¥¡¥¤¥ë¤Ë½¾¤Ã¤Æ¥Õ¥©¥ó¥È¤ò»²¾È¤·¤Æ
|
||
¤¤¤Þ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤ò <application>X11</application> ¤Î
|
||
<filename>fonts.dir</filename>
|
||
¥Õ¥¡¥¤¥ë¤ÈƱÍͤÊÊýË¡¤ÇÊѹ¹¤·¤Ê¤¯¤Æ¤Ï¤Ê¤ê¤Þ¤»¤ó¡£
|
||
<application>Ghostscript</application> ¤Ç¤Ï¡¢
|
||
<filename>.pfa</filename> ·Á¼°¤Þ¤¿¤Ï <filename>.pfb</filename>
|
||
·Á¼°¤Î¥Õ¥©¥ó¥È¤Î¤¤¤º¤ì¤«°ìÊý¤ò»ÈÍѤ¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
|
||
Á°¾Ï¤ÎÎã¤ÇÅо줷¤¿¥Õ¥©¥ó¥È¤ò»È¤Ã¤Æ¡¢¤³¤³¤Ç¤Ï¤³¤Î¥Õ¥©¥ó¥È¤ò
|
||
<application>Ghostscript</application>
|
||
¤Ç»ÈÍѤ¹¤ëÊýË¡¤Ë¤Ä¤¤¤Æ½Ò¤Ù¤Þ¤¹¡£</para>
|
||
|
||
<informalexample>
|
||
<screen><lineannotation>¥Õ¥©¥ó¥È¤ò Ghostscript ¤Î¥Õ¥©¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤ËÃÖ¤¤Þ¤¹¡£</lineannotation>
|
||
&prompt.user; <userinput>cd /usr/local/share/ghostscript/fonts</userinput>
|
||
&prompt.user; <userinput>ln -s /usr/local/share/fonts/type1/showboat.pfb .</userinput>
|
||
|
||
<lineannotation>Ghostscript ¤Ë¥Õ¥©¥ó¥È¤òǧ¼±¤µ¤»¤ë¤¿¤á¤Ë Fontmap ¤òÊÔ½¸¤·¤Þ¤¹¡£</lineannotation>
|
||
&prompt.user; <userinput>cd /usr/local/share/ghostscript/4.01</userinput>
|
||
&prompt.user; <userinput>ex Fontmap
|
||
:$a
|
||
/Showboat (showboat.pfb) ; % From CICA /fonts/atm/showboat
|
||
.
|
||
:wq</userinput>
|
||
|
||
<lineannotation>Ghostscript ¤òÍѤ¤¤Æ¥Õ¥©¥ó¥È¤ò»î¤·¤Æ¤ß¤Þ¤¹¡£</lineannotation>
|
||
&prompt.user; <userinput>gs prfont.ps</userinput>
|
||
Aladdin Ghostscript 4.01 (1996-7-10)
|
||
Copyright (C) 1996 Aladdin Enterprises, Menlo Park, CA. All rights
|
||
reserved.
|
||
This software comes with NO WARRANTY: see the file PUBLIC for details.
|
||
Loading Times-Roman font from /usr/local/share/ghostscript/fonts/tir_____.pfb...
|
||
/1899520 581354 1300084 13826 0 done.
|
||
GS><userinput>Showboat DoFont</userinput>
|
||
Loading Showboat font from /usr/local/share/ghostscript/fonts/showboat.pfb...
|
||
1939688 565415 1300084 16901 0 done.
|
||
>>showpage, press <return> to continue<<
|
||
>>showpage, press <return> to continue<<
|
||
>>showpage, press <return> to continue<<
|
||
GS><userinput>quit</userinput></screen>
|
||
</informalexample>
|
||
|
||
<para>»²¹Íʸ¸¥: <application>Ghostscript ¥Ð¡¼¥¸¥ç¥ó
|
||
4.01</application> ¤ÇÇÛÉÛ¤µ¤ì¤Æ¤¤¤ë
|
||
<filename>fonts.txt</filename></para>
|
||
</sect1>
|
||
|
||
<sect1 xml:id="type1-fonts-groff">
|
||
<title>¥¿¥¤¥× 1 ¥Õ¥©¥ó¥È¤ò Groff ¤ÇÍøÍѤ¹¤ë</title>
|
||
|
||
<para>¤³¤³¤Þ¤Ç¤Ç¿·¤·¤¤¥Õ¥©¥ó¥È¤ò <application>X11</application> ¤È
|
||
<application>Ghostscript</application>
|
||
¤ÎξÊý¤ÇÍѤ¤¤ë¤³¤È¤¬¤Ç¤¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¤¬¡¢
|
||
¤³¤Î¿·¤·¤¤¥Õ¥©¥ó¥È¤ò¤É¤Î¤è¤¦¤Ë¤¹¤ì¤Ð
|
||
<application>groff</application> ¤Ç»È¤¦¤³¤È¤¬¤Ç¤¤ë¤Ç¤·¤ç¤¦¤«?
|
||
¤Þ¤ºÂè°ì¤Ë¡¢&postscript; ¤Î¥¿¥¤¥× 1 ¥Õ¥©¥ó¥È¤ò°·¤Ã¤Æ¤¤¤Þ¤¹¤«¤é¡¢
|
||
¤³¤ì¤òŬÍѤǤ¤ë <application>groff</application> ¥Ç¥Ð¥¤¥¹¤Ï
|
||
<emphasis>ps</emphasis> ¥Ç¥Ð¥¤¥¹¤Ç¤¹¡£¼¡¤Ë¡¢³Æ¡¹¤Î¥Õ¥©¥ó¥È¤ò
|
||
<application>groff</application> ¤Ç»ÈÍѤǤ¤ë¤è¤¦¤Ë¥Õ¥©¥ó¥È¥Õ¥¡
|
||
¥¤¥ë¤òºî¤é¤Ê¤¯¤Æ¤Ï¤Ê¤ê¤Þ¤»¤ó¡£
|
||
<application>groff</application> ¤Ç¤Î¥Õ¥©¥ó¥È̾¤Ï
|
||
<filename>/usr/share/groff_font/devps</filename>
|
||
¤ÎÃæ¤Î¥Õ¥¡¥¤¥ë̾¤Ë¤Ê¤ê¤Þ¤¹¡£¾å½Ò¤ÎÎã¤Ç¤Ï¡¢¥Õ¥©¥ó¥È¥Õ¥¡¥¤¥ë¤Ï
|
||
<filename>/usr/share/groff_font/devps/SHOWBOAT</filename>
|
||
¤È¤¹¤ë¤³¤È¤¬¤Ç¤¤ë¤Ç¤·¤ç¤¦¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ï <application>groff</application>
|
||
¤Ë¤è¤Ã¤ÆÄ󶡤µ¤ì¤Æ¤¤¤ë¥Ä¡¼¥ë¤òÍѤ¤¤ÆÀ¸À®¤·¤Ê¤¯¤Æ¤Ï¤Ê¤ê¤Þ¤»¤ó¡£</para>
|
||
|
||
<para>ºÇ½é¤Ë <command>afmtodit</command> ¤È¤¤¤¦¥Ä¡¼¥ë¤ò»È¤¤¤Þ¤¹¡£
|
||
¤³¤Î¥³¥Þ¥ó¥É¤ÏÄ̾ï¤Ç¤Ï¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Þ¤»¤ó¤Î¤Ç¡¢
|
||
¥½¡¼¥¹¥×¥í¥°¥é¥à·²¤«¤é³ºÅö¥×¥í¥°¥é¥à¤ò¼è¤ê½Ð¤µ¤Ê¤¯¤Æ¤Ï¤Ê¤ê¤Þ¤»¤ó¡£
|
||
¤³¤Î¥Õ¥¡¥¤¥ë¤ÎºÇ½é¤Î°ì¹Ô¤òÊѹ¹¤·¤Ê¤¯¤Æ¤Ï¤Ê¤é¤Ê¤¤¤³¤È¤¬Ê¬¤«¤Ã¤Æ¤¤¤Þ¤¹¡£
|
||
Ãø¼Ô¤Ï¼¡¤Î¤è¤¦¤Ë¤·¤Þ¤·¤¿¡£</para>
|
||
|
||
<informalexample>
|
||
<screen>&prompt.user; <userinput>cp /usr/src/gnu/usr.bin/groff/afmtodit/afmtodit.pl /tmp</userinput>
|
||
&prompt.user; <userinput>ex /tmp/afmtodit.pl
|
||
:1c
|
||
#!/usr/bin/perl -P-
|
||
.
|
||
:wq</userinput></screen>
|
||
</informalexample>
|
||
|
||
<para>¤³¤Î¥Ä¡¼¥ë¤Ï¥á¥È¥ê¥Ã¥¯¥Õ¥¡¥¤¥ë (<filename>.afm</filename> ³ÈÄ¥»Ò)
|
||
¤«¤é <application>groff</application> ¥Õ¥©¥ó¥È¥Õ¥¡¥¤¥ë¤òÀ¸À®¤·¤Æ¤¯¤ì¤Þ¤¹¡£
|
||
¥Õ¥©¥ó¥È»ÈÍÑÊýË¡Îã¤ò³¤±¤ë¤³¤È¤Ë¤·¤Þ¤·¤ç¤¦¡£</para>
|
||
|
||
<informalexample>
|
||
<screen><lineannotation>.afm ¥Õ¥¡¥¤¥ë¤Î¿¤¯¤Ï Mac ·Á¼°… ¤¹¤Ê¤ï¤Á¹Ô¤¬ ^M ¤Ç¶èÀÚ¤é¤ì¤Æ¤¤¤Þ¤¹¡£
|
||
¤³¤ì¤ò¹Ô¤ò ^J ¤Ç¶èÀÚ¤ë &unix; ¥¹¥¿¥¤¥ë¤ËÊÑ´¹¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£</lineannotation>
|
||
&prompt.user; <userinput>cd /tmp</userinput>
|
||
&prompt.user; <userinput>cat /usr/local/share/fonts/type1/showboat.afm |
|
||
tr '\015' '\012' >showboat.afm</userinput>
|
||
|
||
<lineannotation>¤½¤·¤Æ¡¢groff ¥Õ¥©¥ó¥È¥Õ¥¡¥¤¥ë¤òÀ¸À®¤·¤Þ¤¹¡£</lineannotation>
|
||
&prompt.user; <userinput>cd /usr/share/groff_font/devps</userinput>
|
||
&prompt.user; <userinput>/tmp/afmtodit.pl -d DESC -e text.enc /tmp/showboat.afm generate/textmap SHOWBOAT</userinput></screen>
|
||
</informalexample>
|
||
|
||
<para>¤³¤ì¤Ç¥Õ¥©¥ó¥È¤ò SHOWBOAT ¤È¤¤¤¦Ì¾Á°¤Ç»²¾È¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤·¤¿¡£</para>
|
||
|
||
<para>¥·¥¹¥Æ¥à¤Ç¥×¥ê¥ó¥¿¤ò°·¤¦¤¿¤á¤Ë
|
||
<application>Ghostscript</application> ¤ò»ÈÍѤ·¤Æ¤¤¤ë¤Ê¤é¤Ð¡¢
|
||
¤³¤ì¤Çºî¶È¤Ï´°Î»¤·¤Þ¤·¤¿¡£¤·¤«¤·¤Ê¤¬¤é¡¢ËÜʪ¤Î &postscript;
|
||
¥×¥ê¥ó¥¿¤ò»È¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢¥Õ¥©¥ó¥È¤ò»ÈÍѲÄǽ¤Ë¤¹¤ë°Ù¤Ë¡¢
|
||
Åö³º¥Õ¥©¥ó¥È¤ò¥×¥ê¥ó¥¿¤Ë¥À¥¦¥ó¥í¡¼¥É¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹
|
||
(showboat ¥Õ¥©¥ó¥È¤¬¥×¥ê¥ó¥¿¤Ë¶öÁ³¤Ë¤âºÇ½é¤«¤éÁȤ߹þ¤Þ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢
|
||
¤â¤·¤¯¤Ï¥×¥ê¥ó¥¿¤«¤é¥¢¥¯¥»¥¹¤µ¤ì¤ë¥Õ¥©¥ó¥È¥Ç¥£¥¹¥¯¤ÎÃæ¤ËÆþ¤Ã¤Æ¤¤
|
||
¤ë¾ì¹ç¤Ï¤³¤Î¸Â¤ê¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó)¡£
|
||
¥Õ¥©¥ó¥ÈÍøÍѤκǽªÃʳ¬¤È¤·¤Æ¡¢
|
||
¥À¥¦¥ó¥í¡¼¥É²Äǽ¤Ê·Á¼°¤Î¥Õ¥©¥ó¥È¤òÀ¸À®¤·¤Þ¤¹¡£
|
||
¥Ä¡¼¥ë <command>pfbtops</command> ¤Ï (ÌõÃí : <filename>.pfb</filename> ·Á¼°¤«¤é)
|
||
<filename>.pfa</filename> ·Á¼°¤Î¥Õ¥©¥ó¥È¤òÀ¸À®¤¹¤ë¤¿¤á¤Ë¡¢¤½¤·¤Æ¡¢
|
||
<filename>download</filename> ¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤òÊÔ½¸¤·¡¢
|
||
¥Õ¥©¥ó¥È¤ÎÆâÉô̾¤ò»²¾È¤¹¤ë¤è¤¦¤ËÊѹ¹¤·¤Ê¤¯¤Æ¤Ï¤Ê¤ê¤Þ¤»¤ó¡£
|
||
¤³¤ÎÆâÉô̾¤Ï°Ê²¼¤Ç¼¨¤¹¤è¤¦¤Ë groff
|
||
¥Õ¥©¥ó¥È¥Õ¥¡¥¤¥ë¤«¤éÍưפËÄ´¤Ù¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£</para>
|
||
|
||
<informalexample>
|
||
<screen><lineannotation>.pfa ¥Õ¥©¥ó¥È¥Õ¥¡¥¤¥ë¤òÀ¸À®¤¹¤ë¡£</lineannotation>
|
||
&prompt.user; <userinput>pfbtops /usr/local/share/fonts/type1/showboat.pfb >showboat.pfa</userinput></screen>
|
||
</informalexample>
|
||
|
||
<para>¤â¤Á¤í¤ó¡¢<filename>.pfa</filename> ¤¬´û¤ËÍøÍѲÄǽ¤Ç¤¢¤ì¤Ð¡¢
|
||
»²¾È¤Ç¤¤ë¤è¤¦¤Ë¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤òÄ¥¤Ã¤Æ²¼¤µ¤¤¡£</para>
|
||
|
||
<informalexample>
|
||
<screen><lineannotation>ÆâÉô¥Õ¥©¥ó¥È̾¤òÆÀ¤ë¡£</lineannotation>
|
||
&prompt.user; <userinput>fgrep internalname SHOWBOAT</userinput>
|
||
internalname Showboat
|
||
|
||
<lineannotation>³ºÅö¥Õ¥©¥ó¥È¤ò¥À¥¦¥ó¥í¡¼¥É¤·¤Ê¤¯¤Æ¤Ï¤Ê¤é¤Ê¤¤¤³¤È¤ò groff ¤ËÄÌÃΤ¹¤ë¡£</lineannotation>
|
||
&prompt.user; <userinput>ex download
|
||
:$a
|
||
Showboat showboat.pfa
|
||
.
|
||
:wq</userinput></screen>
|
||
</informalexample>
|
||
|
||
<para>¥Õ¥©¥ó¥È¤ò»îÍѤ¹¤ë¡£</para>
|
||
|
||
<informalexample>
|
||
<screen>&prompt.user; <userinput>cd /tmp</userinput>
|
||
&prompt.user; <userinput>cat >example.t <<EOF
|
||
.sp 5
|
||
.ps 16
|
||
This is an example of the Showboat font:
|
||
.br
|
||
.ps 48
|
||
.vs (\n(.s+2)p
|
||
.sp
|
||
.ft SHOWBOAT
|
||
ABCDEFGHI
|
||
.br
|
||
JKLMNOPQR
|
||
.br
|
||
STUVWXYZ
|
||
.sp
|
||
.ps 16
|
||
.vs (\n(.s+2)p
|
||
.fp 5 SHOWBOAT
|
||
.ft R
|
||
To use it for the first letter of a paragraph, it will look like:
|
||
.sp 50p
|
||
\s(48\f5H\s0\fRere is the first sentence of a paragraph that uses the
|
||
showboat font as its first letter.
|
||
Additional vertical space must be used to allow room for the larger
|
||
letter.
|
||
EOF</userinput>
|
||
&prompt.user; <userinput>groff -Tps example.t >example.ps</userinput>
|
||
|
||
<lineannotation>ghostscript/ghostview¤ò»È¤Ã¤Æɽ¼¨¤¹¤ë¡£</lineannotation>
|
||
&prompt.user; <userinput>ghostview example.ps</userinput>
|
||
|
||
<lineannotation>°õºþ¤¹¤ë (ÌõÃí : ¥×¥ê¥ó¥¿Ì¾¤ÏŬµ¹Êѹ¹¤·¤Æ²¼¤µ¤¤)¡£</lineannotation>
|
||
&prompt.user; <userinput>lpr -Ppostscript example.ps</userinput></screen>
|
||
</informalexample>
|
||
|
||
<para>»²¹Íʸ¸¥:
|
||
<filename>/usr/src/gnu/usr.bin/groff/afmtodit/afmtodit.man</filename>¡¢
|
||
&man.groff.font.5;¡¢&man.groff.char.7;¡¢&man.pfbtops.1;</para>
|
||
</sect1>
|
||
|
||
<sect1 xml:id="convert-truetype">
|
||
<title>TrueType ¥Õ¥©¥ó¥È¤ò groff ÍÑ¤Ë groff/PostScript
|
||
¥Õ¥©¡¼¥Þ¥Ã¥È¤ËÊÑ´¹¤¹¤ë</title>
|
||
|
||
<para>¤³¤ì¤Ë¤Ï¤¤¤¯¤Ä¤«¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤¬É¬ÍפǤ¹¤¬¡¢
|
||
¥Ù¡¼¥¹¥·¥¹¥Æ¥à¤Î°ìÉô¤È¤·¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤Ï¤¤¤Ê¤¤¤Î¤Ç¼ã´³¤Îºî¶È¤¬É¬ÍפȤʤê¤Þ¤¹¡£
|
||
¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤â¤Î¤Ï:</para>
|
||
|
||
<variablelist>
|
||
<varlistentry>
|
||
<term><command>ttf2pf</command></term>
|
||
|
||
<listitem>
|
||
<para>TrueType ¤«¤é PostScript ¤Ø¤ÎÊÑ´¹¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ç¤¹¡£
|
||
¤³¤ì¤Ï TrueType ¥Õ¥©¥ó¥È¤«¤é¥¢¥¹¥¡¼¥Õ¥©¥ó¥È¥á¥È¥ê¥Ã¥¯
|
||
(<filename>.afm</filename>) ¥Õ¥¡¥¤¥ë¤Ø¤ÎÊÑ´¹¤ò¹Ô¤¤¤Þ¤¹¡£</para>
|
||
|
||
<para>¸½»þÅÀ¤Ç¤Ï <uri xlink:href="http://sunsite.icm.edu.pl/pub/GUST/contrib/BachoTeX98/ttf2pf/">http://sunsite.icm.edu.pl/pub/GUST/contrib/BachoTeX98/ttf2pf/</uri>
|
||
¤«¤éÆþ¼ê¤Ç¤¤Þ¤¹¡£
|
||
Ãí°Õ: ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ï PostScript ¤Ë¤è¤ë¥×¥í¥°¥é¥à¤Ê¤Î¤Ç¡¢
|
||
<keycap>Shift</keycap> ¥¡¼¤ò²¡¤·¤Ê¤¬¤é¥ê¥ó¥¯¤ò¥¯¥ê¥Ã¥¯¤·¤Æ
|
||
¥Ç¥£¥¹¥¯¤Ë¥À¥¦¥ó¥í¡¼¥É¤·¤Æ¤¯¤À¤µ¤¤¡£
|
||
¤µ¤â¤Ê¤¤¤È¤¢¤Ê¤¿¤Î¥Ö¥é¥¦¥¶¤Ï <application>ghostview</application>
|
||
¤òΩ¤Á¤¢¤²¤Þ¤¹¡£</para>
|
||
|
||
<para>½ÅÍפʥե¡¥¤¥ë¤Ï:</para>
|
||
|
||
<itemizedlist>
|
||
<listitem>
|
||
<para><filename>GS_TTF.PS</filename></para>
|
||
</listitem>
|
||
|
||
<listitem>
|
||
<para><filename>PF2AFM.PS</filename></para>
|
||
</listitem>
|
||
|
||
<listitem>
|
||
<para><filename>ttf2pf.ps</filename></para>
|
||
</listitem>
|
||
</itemizedlist>
|
||
|
||
<para>Âçʸ»ú¤È¾®Ê¸»ú¤¬´ñ̯¤Ëº®ºß¤·¤Æ¤¤¤ë¤Î¤Ï¡¢
|
||
DOS ¥·¥§¥ë¤Î¤³¤È¤â¹Íθ¤·¤Æ¤¤¤ë¤¿¤á¤Ç¤¹¡£
|
||
<filename>ttf2pf.ps</filename> ¤Ï¤½¤ì°Ê³°¤Î¥Õ¥¡¥¤¥ë¤ò
|
||
Âçʸ»ú¤È¤·¤Æ°·¤¤¤Þ¤¹¤Î¤Ç¡¢
|
||
¥Õ¥¡¥¤¥ë̾¤ÎÊѹ¹¤Ï¤½¤ì¤ËÂбþ¤µ¤»¤Æ¤¯¤À¤µ¤¤
|
||
(¼ÂºÝ¤Ë¤Ï <filename>GS_TTF.PS</filename> ¤È
|
||
<filename>PFS2AFM.PS</filename> ¤Ï¡¢°ì±þ
|
||
<application>Ghostscript</application> ¤ÎÇÛÉÛʪ¤Î°ìÉô¤Ç¤¹¤¬¡¢
|
||
¸ÄÊ̤Υ桼¥Æ¥£¥ê¥Æ¥£¤È¤·¤Æ¤âÌäÂê¤Ê¤¯ÍøÍѤǤ¤Þ¤¹¡£
|
||
FreeBSD ¤Ë¤Ï¸å¼Ô¤¬Æþ¤Ã¤Æ¤¤¤Ê¤¤¤è¤¦¤Ç¤¹)¡£
|
||
<filename>/usr/local/share/groff_font/devps</filename>
|
||
¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤È¤è¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£</para>
|
||
</listitem>
|
||
</varlistentry>
|
||
|
||
<varlistentry>
|
||
<term><command>afmtodit</command></term>
|
||
|
||
<listitem>
|
||
<para>¤Ï¥¢¥¹¥¡¼¥Õ¥©¥ó¥È¥á¥È¥ê¥Ã¥¯¥Õ¥¡¥¤¥ë¤«¤é
|
||
<application>groff</application> ¤È¤È¤â¤Ë»È¤¦¥Õ¥©¥ó¥È¥Õ¥¡¥¤¥ë¤òºî¤ê¤Þ¤¹¡£
|
||
¤³¤ì¤ÏÄ̾
|
||
<filename>/usr/src/contrib/groff/afmtodit</filename>
|
||
¥Ç¥£¥ì¥¯¥È¥ê¤Ë¸ºß¤·¤Æ¤¤¤Æ¡¢
|
||
»È¤¨¤ë¤è¤¦¤Ë¤¹¤ë¤Ë¤Ïºî¶È¤¬É¬ÍפǤ¹¡£</para>
|
||
|
||
<note>
|
||
<para>¤â¤·¤â <filename>/usr/src</filename>
|
||
¥Ä¥ê¡¼¤Çºî¶È¤ò¤¹¤ë¤³¤È¤òí´í°¤¦¤Ê¤é¡¢
|
||
¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ÎÆâÍƤòºî¶ÈÍѤξì½ê¤Ë¥³¥Ô¡¼¤¹¤ì¤Ð¤¤¤¤¤Ç¤¹¡£</para>
|
||
</note>
|
||
|
||
<para>ºî¶È¥¨¥ê¥¢¤Ç°Ê²¼¤Î¤è¤¦¤Ë¤·¤Æ¤³¤Î¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤·¤Þ¤¹¡£</para>
|
||
|
||
<screen><prompt>#</prompt> <userinput>make -f Makefile.sub afmtodit</userinput>
|
||
</screen>
|
||
|
||
<para>¤â¤·¡¢¤Þ¤À¸ºß¤·¤Æ¤¤¤Ê¤±¤ì¤Ð
|
||
<filename>/usr/contrib/groff/devps/generate/textmap</filename>
|
||
¤ò
|
||
<filename>/usr/share/groff_font/devps/generate</filename>
|
||
¤Ë¥³¥Ô¡¼¤·¤Þ¤¹¡£</para>
|
||
</listitem>
|
||
</varlistentry>
|
||
</variablelist>
|
||
|
||
<para>¤³¤ì¤é¤Î¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤¬½êÄê¤Î¾ì½ê¤Ë¼ý¤Þ¤Ã¤¿¤é
|
||
¤¤¤Ä¤Ç¤â³«»Ï¤Ç¤¤Þ¤¹¡£</para>
|
||
|
||
<orderedlist>
|
||
<listitem>
|
||
<para><filename>.afm</filename> ¥Õ¥¡¥¤¥ë¤ò°Ê²¼¤Î¤è¤¦¤Ë¤·¤Æºî¤ê¤Þ¤¹¡£</para>
|
||
|
||
<screen><prompt>%</prompt> <userinput>gs -dNODISPLAY -q -- ttf2pf.ps TTF_name PS_font_name AFM_name</userinput>
|
||
</screen>
|
||
|
||
<para>¤³¤³¤Ç¡¢<replaceable>TTF_name</replaceable> ¤Ï¤¢¤Ê¤¿¤Î
|
||
TrueType ¥Õ¥©¥ó¥È¤Î̾Á°¤Ç¡¢<replaceable>PS_font_name</replaceable>
|
||
¤Ï <filename>.pfa</filename> ¥Õ¥¡¥¤¥ë¤Î¤¿¤á¤Î¥Õ¥¡¥¤¥ë̾¤Ç¡¢
|
||
<replaceable>AFM_name</replaceable> ¤Ï <filename>.afm</filename>
|
||
¥Õ¥¡¥¤¥ë¤Ë˾¤à̾Á°¤Ç¤¹.
|
||
<filename>.pfa</filename> ¤ä <filename>.afm</filename>
|
||
ÍѤνÐÎÏ¥Õ¥¡¥¤¥ë̾¤òÌÀ¼¨¤·¤Ê¤±¤ì¤Ð¡¢
|
||
¥Ç¥Õ¥©¥ë¥È̾¤Ï TrueType ¥Õ¥©¥ó¥È¥Õ¥¡¥¤¥ë̾¤«¤éºîÀ®¤µ¤ì¤Þ¤¹¡£</para>
|
||
|
||
<para>¤³¤Î»þ¡¢¥¢¥¹¥¡¼ PostScript ¥Õ¥©¥ó¥È¥á¥È¥ê¥Ã¥¯¥Õ¥¡¥¤¥ë¤Ç¤¢¤ë
|
||
<filename>.pfa</filename> ¥Õ¥¡¥¤¥ë¤âƱ»þ¤Ëºî¤é¤ì¤Þ¤¹
|
||
(<filename>.pfb</filename> ¤Ï¥Ð¥¤¥Ê¥ê·Á¼°¤Ç¤¹)¡£
|
||
¤³¤ì¤ÏÉÔÍפȤʤë¤Ç¤·¤ç¤¦¤¬¡¢(»ä¤¬¹Í¤¨¤ë¤Ë)
|
||
¥Õ¥©¥ó¥È¥µ¡¼¥Ð¤Ë¤ÏÌòΩ¤Ä¤Ç¤·¤ç¤¦¡£</para>
|
||
|
||
<para>Îã¤È¤·¤Æ¡¢30f9 ¥Ð¡¼¥³¡¼¥É¥Õ¥©¥ó¥È¤ò¥Ç¥Õ¥©¥ë¥È¤Î¥Õ¥¡¥¤¥ë̾¤ÇÊÑ´¹¤¹¤ë¤Ë¤Ï°Ê²¼¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£</para>
|
||
|
||
<screen><prompt>%</prompt> <userinput>gs -dNODISPLAY -- ttf2pf.ps 3of9.ttf</userinput>
|
||
Aladdin Ghostscript 5.10 (1997-11-23)
|
||
Copyright (C) 1997 Aladdin Enterprises, Menlo Park, CA. All rights reserved.
|
||
This software comes with NO WARRANTY: see the file PUBLIC for details.
|
||
Converting 3of9.ttf to 3of9.pfa and 3of9.afm.
|
||
</screen>
|
||
|
||
<para>ÊÑ´¹¸å¤Î¥Õ¥©¥ó¥È¤ò
|
||
<filename>A.pfa</filename> ¤È <filename>B.afm</filename>
|
||
¤Ë¤¹¤ë¤Ê¤é°Ê²¼¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£</para>
|
||
|
||
<screen><prompt>%</prompt> <userinput>gs -dNODISPLAY -- ttf2pf.ps 3of9.ttf A B</userinput>
|
||
Aladdin Ghostscript 5.10 (1997-11-23)
|
||
Copyright (C) 1997 Aladdin Enterprises, Menlo Park, CA. All rights reserved.
|
||
This software comes with NO WARRANTY: see the file PUBLIC for details.
|
||
Converting 3of9.ttf to A.pfa and B.afm.
|
||
</screen>
|
||
</listitem>
|
||
|
||
<listitem>
|
||
<para><application>groff</application> PostScript ¥Õ¥¡¥¤¥ë¤òºî¤ê¤Þ¤¹¡£</para>
|
||
|
||
<para>°Ê²¼¤Î¥³¥Þ¥ó¥É¤Î¼Â¹Ô¤¬ÍѰդʤ褦¤Ë
|
||
<filename>/usr/share/groff_font/devps</filename> ¤Ë
|
||
¥Ç¥£¥ì¥¯¥È¥ê¤òÊѹ¹¤·¤Þ¤¹¡£
|
||
¶²¤é¤¯ root Æø¢¤¬É¬Íפˤʤë¤Ç¤·¤ç¤¦
|
||
(¤½¤³¤Ç¤Îºî¶È¤¬µ¤¤Ë¤¤¤é¤Ê¤¤¤Ê¤é¡¢¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Î
|
||
<filename>DESC</filename>¡¢
|
||
<filename>text.enc</filename>¡¢
|
||
<filename>generate/textmap</filename>
|
||
¥Õ¥¡¥¤¥ë¤¬»²¾È¤µ¤ì¤ë¤È¤¤¤¦¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤)¡£</para>
|
||
|
||
<screen><prompt>%</prompt> <userinput>afmtodit -d DESC -e text.enc file.afm \
|
||
generate/textmap PS_font_name</userinput>
|
||
</screen>
|
||
|
||
<para>¤³¤³¤Ç¡¢<filename>file.afm</filename>
|
||
¤Ï <replaceable>AFM_name</replaceable>
|
||
¤Ç¡¢¾å¤Ç <command>ttf2pf.ps</command> ¤Çºî¤Ã¤¿¤â¤Î¤Ç¤¹¡£
|
||
<replaceable>PS_font_name</replaceable>
|
||
¤Ï¥³¥Þ¥ó¥É¤«¤é»È¤ï¤ì¤ë¥Õ¥©¥ó¥È̾¤Ç¡¢
|
||
&man.groff.1; ¤¬¤³¤Î¥Õ¥©¥ó¥È¤ò»²¾È¤¹¤ë¤¿¤á¤Ë»È¤¦¤â¤Î¤Ç¤¹¡£
|
||
¤¿¤È¤¨¤Ð¡¢ºÇ½é¤Î <command>tiff2pf.ps</command>
|
||
¥³¥Þ¥ó¥É¤ò¾å½Ò¤Î¤è¤¦¤Ë¹Ô¤Ã¤Æ¤¤¤¿¤È¤¹¤ë¤È¡¢
|
||
3of9 ¥Ð¡¼¥³¡¼¥É¥Õ¥©¥ó¥È¤Ï°Ê²¼¤Î¥³¥Þ¥ó¥É¤ÇºîÀ®¤Ç¤¤Þ¤¹¡£</para>
|
||
|
||
<screen><prompt>%</prompt> <userinput>afmtodit -d DESC -e text.enc 3of9.afm \
|
||
generate/textmap 3of9</userinput>
|
||
</screen>
|
||
|
||
<para>ÆÀ¤é¤ì¤ë <replaceable>PS_font_name</replaceable>
|
||
¥Õ¥¡¥¤¥ë (¤³¤ÎÎã¤Ç¤Ï <filename>3of9</filename>)
|
||
¤Ï¥Ç¥£¥ì¥¯¥È¥ê <filename>/usr/share/groff_font/devps</filename>
|
||
¤Ë¡¢¥³¥Ô¡¼¤¹¤ë¤Ê¤ê°ÜÆ°¤¹¤ë¤Ê¤ê¤·¤ÆÃÖ¤«¤ì¤ë¤³¤È¤Ëµ¤¤ò¤Ä¤±¤Æ¤¯¤À¤µ¤¤¡£</para>
|
||
|
||
<para><filename>ttf2pf.ps</filename> ¤¬¤ï¤ê¤Ä¤±¤ë¥Õ¥©¥ó¥È̾¤Ï
|
||
TrueType ¥Õ¥©¥ó¥È¥Õ¥¡¥¤¥ëÃæ¤Ë¸«¤Ä¤«¤Ã¤¿¤â¤Î¤Ë¤Ê¤ê¤Þ¤¹¡£
|
||
¤½¤ì¤È¤Ï°Û¤Ê¤ë̾Á°¤ò»È¤¤¤¿¤«¤Ã¤¿¤é¡¢
|
||
<filename>.afm</filename> ¥Õ¥¡¥¤¥ë¤òÊÔ½¸¤·¤Æ¤«¤é
|
||
<command>afmtodit</command> ¤ò¼Â¹Ô¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
|
||
&man.groff.1; ¤«¤é &man.gs.1; ¤Ø¥Ñ¥¤¥×¤¹¤ë¤Ä¤â¤ê¤Ê¤é¤Ð¡¢
|
||
¤½¤Î̾Á°¤ÏƱ»þ¤Ë¥Õ¥©¥ó¥È¥Þ¥Ã¥×¥Õ¥¡¥¤¥ë¤Ç»È¤ï¤ì¤Æ¤¤¤ë¤â¤Î¤Ç¤¢¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£</para>
|
||
</listitem>
|
||
</orderedlist>
|
||
</sect1>
|
||
|
||
<sect1 xml:id="truetype-for-other-programs">
|
||
<title>TrueType ¥Õ¥©¥ó¥È¤ò¾¤Î¥×¥í¥°¥é¥à¤Ç»È¤¦¤³¤È¤¬¤Ç¤¤Þ¤¹¤«?</title>
|
||
|
||
<para>TrueType ¥Õ¥©¥ó¥È·Á¼°¤Ï Windows¡¢Windows 95¡¢Mac
|
||
¤ÇÍѤ¤¤é¤ì¤Þ¤¹¡£¤³¤Î·Á¼°¤Ï¶Ë¤á¤ÆÍ̾¤Ç¤¢¤ê¡¢
|
||
Èó¾ï¤Ë¤¿¤¯¤µ¤ó¤Î¥Õ¥©¥ó¥È¤¬ÍøÍѤǤ¤Þ¤¹¡£</para>
|
||
|
||
<para>»ÄÇ°¤Ê¤¬¤é¡¢¤³¤Î·Á¼°¤ò (ÌõÃí: FreeBSD ¤Ç) ¤³¤Î·Á¼°¤òÍøÍѤǤ
|
||
¤ë¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ï¡¢É®¼Ô¤¬ÃΤë¸Â¤ê¤Û¤È¤ó¤É¤Ê¤¯¡¢
|
||
<application>Ghostscript</application> ¤È
|
||
<application>Povray</application> ¤·¤«»×¤¤¤Ä¤¤Þ¤»¤ó¡£
|
||
¥É¥¥å¥á¥ó¥È¤Ë¤è¤ì¤Ð¡¢<application>Ghostscript</application> ¤Î
|
||
Âбþ¤ÏÉÔ½½Ê¬¤Ç¤¢¤ê¡¢¥¿¥¤¥× 1 ¥Õ¥©¥ó¥È¤è¤êÁÆ°¤Ê·ë²Ì¤Ë¤Ê¤ë¤è¤¦¤Ç¤¹¡£
|
||
<application>Povray</application> ¥Ð¡¼¥¸¥ç¥ó 3 ¤â¤Þ¤¿ TrueType
|
||
¥Õ¥©¥ó¥È¤òÍøÍѲÄǽ¤Ç¤¹¤¬¡¢É®¼Ô¤Ï¡¢¥É¥¥å¥á¥ó¥È¤ò°ìÏ¢¤Î¥ì¥¤¥È¥ì¡¼
|
||
¥¹¤·¤¿¥Ú¡¼¥¸¤È¤·¤ÆºîÀ®¤¹¤ë¿Í¤¬Â¿¤¤¤Î¤Ç¤Ï¤Ê¤¤¤«¤Èµ¿¤Ã¤Æ¤¤¤Þ¤¹ :-)¡£</para>
|
||
<!--
|
||
¤â¤È¤ÎÌõÃí¤Ï¾¯¤·¤º¤ì¤Æ¤¤¤ë¤è¤¦¤Ë´¶¤¸¤¿¤Î¤Çºï¤ê¤Þ¤·¤¿¡£
|
||
I rather doubt many people will be creating documents
|
||
as a series of raytraced pages
|
||
¤È¥É¥¥å¥á¥ó¥È¤òºî¤ëÉôʬ¤Ï̤Íè·Á¤Ê¤Î¤Ç¡¢¤à¤·¤í
|
||
¤Ç¤â¡¢TrueType ¥Õ¥©¥ó¥È¤ò»È¤ï¤Ê¤¤¤Ç¡¢¥É¥¥å¥á¥ó¥È¤Þ¤Ç ray trace
|
||
¤·¤Æºî¤Ã¤Á¤ã¤¦¥æ¡¼¥¶¡¼¤¬Â¿¤¤¤ó¤¸¤ã¤Ê¤¤¤Î
|
||
¤È¤¤¤¦¾éÃ̤ǡ¢PovRay ¤Î³«È¯Â¦¤Î¥É¥¥å¥á¥ó¥È¤ËÂФ¹¤ë¶ì¾ð¤ÎÀ®Ê¬¤Ï
|
||
¤Ê¤¤¤Î¤Ç¤Ï¤Ê¤¤¤«¤È»×¤¤¤Þ¤¹¡£
|
||
-->
|
||
|
||
<para>¤³¤Î¤Ê¤ó¤È¤âÈá»´¤Ê¾õ¶·¤ÏÊѤï¤ê¤Ä¤Ä¤¢¤ê¤Þ¤¹¡£
|
||
<link xlink:href="http://www.freetype.org/">FreeType ¥×¥í¥¸¥§¥¯¥È</link>
|
||
¤Ç¤Ï FreeType ¤ÎÊØÍø¤Ê¥Ä¡¼¥ë¤ò³«È¯¤·¤Æ¤¤¤Þ¤¹¡£</para>
|
||
|
||
<itemizedlist>
|
||
<listitem>
|
||
<para>XFree86 4.x ¤Ë´Þ¤Þ¤ì¤Æ¤¤¤ë freetype ¥â¥¸¥å¡¼¥ë¡£
|
||
¾ÜºÙ¤Ï <link xlink:href="&url.books.handbook;/x-fonts.html">FreeBSD
|
||
¥Ï¥ó¥É¥Ö¥Ã¥¯</link>¤« <link xlink:href="http://www.xfree86.org/4.0.2/fonts.html">XFree86 4.0.2
|
||
Fonts</link> ¥Ú¡¼¥¸¤ò¸«¤Æ¤¯¤À¤µ¤¤¡£</para>
|
||
</listitem>
|
||
|
||
<listitem>
|
||
<para><application>X11</application> ÍѤÎ
|
||
<application>xfsft</application> ¥Õ¥©¥ó¥È¥µ¡¼¥Ð¤Ï
|
||
°ìÈ̤Υե©¥ó¥È¤Ë²Ã¤¨¤Æ TrueType ¥Õ¥©¥ó¥È¤òÄ󶡤·¤Þ¤¹¡£
|
||
¸½ºß¥Ù¡¼¥¿ÈǤǤ¢¤ë¤Ë¤â¤«¤«¤ï¤é¤º¤¿¤¤¤Ø¤óɾȽ¤¬¤¤¤¤¤â¤Î¤Ç¤¹¡£
|
||
¾Ü¤·¤¯¤Ï
|
||
<link xlink:href="http://www.dcs.ed.ac.uk/home/jec/programs/xfsft/">
|
||
Juliusz Chroboczek's page</link> ¤ò¤´¤é¤ó¤¯¤À¤µ¤¤¡£
|
||
FreeBSD ¤Ø¤Î°Ü¿¢¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó¤Ï
|
||
<link xlink:href="http://math.missouri.edu/~stephen/software/">
|
||
Stephen Montgomery's software page</link> ¤Ë¤¢¤ê¤Þ¤¹¡£</para>
|
||
</listitem>
|
||
|
||
<listitem>
|
||
<para><application>xfstt</application> ¤Ï
|
||
<application>X11</application> ÍѤΤ⤦¤Ò¤È¤Ä¤Î¥Õ¥©¥ó¥È¥µ¡¼¥Ð¤Ç¡¢
|
||
<uri xlink:href=" ftp://sunsite.unc.edu/pub/Linux/X11/fonts/"> ftp://sunsite.unc.edu/pub/Linux/X11/fonts/</uri>
|
||
¤«¤éÆþ¼ê¤Ç¤¤Þ¤¹¡£</para>
|
||
</listitem>
|
||
|
||
<listitem>
|
||
<para><command>ttf2bdf</command> ¤È¤¤¤¦¥×¥í¥°¥é¥à¤Ï¡¢
|
||
X ¤Î´Ä¶²¼¤Ç TrueType ¥Õ¥©¥ó¥È¤Î¥»¥Ã¥È¤«¤é BDF
|
||
·Á¼°¤Î¥Õ¥¡¥¤¥ë¤òºî¤ë¤â¤Î¤Ç¤¹¡£
|
||
Linux ÍѤΥХ¤¥Ê¥ê¤¬
|
||
<uri xlink:href="ftp://crl.nmsu.edu/CLR/multiling/General/">ftp://crl.nmsu.edu/CLR/multiling/General/</uri> ¤«¤é
|
||
Æþ¼ê¤Ç¤¤Þ¤¹¡£</para>
|
||
</listitem>
|
||
|
||
<listitem>
|
||
<para>¤½¤·¤Æ¤½¤Î¾ …</para>
|
||
</listitem>
|
||
</itemizedlist>
|
||
</sect1>
|
||
|
||
<sect1 xml:id="obtaining-additional-fonts">
|
||
<title>¤É¤³¤Ç¥Õ¥©¥ó¥È¤òÆþ¼ê¤Ç¤¤Þ¤¹¤«?</title>
|
||
|
||
<para>¥¤¥ó¥¿¡¼¥Í¥Ã¥È¾å¤Ç¤¿¤¯¤µ¤ó¤Î¥Õ¥©¥ó¥È¤òÍøÍѤ¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
|
||
¤³¤ì¤é¤Ï´°Á´¤Ë̵ÎÁ¤Ç¤¢¤ë¤«¡¢¥·¥§¥¢¥¦¥§¥¢¤Ç¤¹¡£²Ã¤¨¤Æ¡¢
|
||
¤¿¤¯¤µ¤ó¤Î¥Õ¥©¥ó¥È¤¬¼ýÏ¿¤µ¤ì¤¿¤¢¤Þ¤ê¹â²Á¤Ç¤Ï¤Ê¤¤ CDROM
|
||
¤¬¤¿¤¯¤µ¤ó¤¢¤ê¤Þ¤¹¡£¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤Ç¤Î¥¢¥¯¥»¥¹¥Ý¥¤¥ó¥È
|
||
(1996ǯ8·î¸½ºß)¤ò°Ê²¼¤Ë¼¨¤·¤Þ¤¹¡£</para>
|
||
|
||
<itemizedlist>
|
||
<listitem>
|
||
<para><uri xlink:href="http://www.simtel.net/">http://www.simtel.net/</uri></para>
|
||
</listitem>
|
||
|
||
<listitem>
|
||
<para><uri xlink:href="http://www.freshmeat.net/">http://www.freshmeat.net/</uri></para>
|
||
</listitem>
|
||
|
||
<listitem>
|
||
<para>Ports Collection ¤Î <filename>x11-fonts/</filename></para>
|
||
</listitem>
|
||
</itemizedlist>
|
||
</sect1>
|
||
|
||
<sect1 xml:id="additional-questions">
|
||
<title>¤½¤Î¾¤Î¼ÁÌä</title>
|
||
|
||
<itemizedlist>
|
||
<listitem>
|
||
<para><filename>.pfm</filename> ¥Õ¥¡¥¤¥ë¤òÍøÍѤ¹¤ë¤â¤Î¤Ï¤¢¤ë¤Î¤«?</para>
|
||
</listitem>
|
||
|
||
<listitem>
|
||
<para><filename>.afm</filename> ¥Õ¥¡¥¤¥ë¤ò <filename>.pfa</filename>
|
||
¤â¤·¤¯¤Ï <filename>.pfb</filename> ¤«¤éºîÀ®¤Ç¤¤ë¤«?</para>
|
||
</listitem>
|
||
|
||
<listitem>
|
||
<para>Èóɸ½à¥¥ã¥é¥¯¥¿Ì¾¤¬¤¢¤ë PostScript ¥Õ¥©¥ó¥È¤ò
|
||
<application>groff</application> ¥¥ã¥é¥¯¥¿¤Ë¥Þ¥Ã¥Ô¥ó¥°¤¹¤ë
|
||
¥Õ¥¡¥¤¥ë¤ò¤É¤Î¤è¤¦¤ËºîÀ®¤¹¤ë¤«?</para>
|
||
</listitem>
|
||
|
||
<listitem>
|
||
<para>xditview ¤È devX??
|
||
¥Ç¥Ð¥¤¥¹¤Ç¿·¤¿¤Ê¥Õ¥¡¥¤¥ëÁ´¤Æ¤Ë¥¢¥¯¥»¥¹¤¹¤ë¤¿¤á¤Î¥»¥Ã¥È¥¢¥Ã¥×¤ò¤¹¤ë¤³¤È¤¬¤Ç¤¤ë¤«?</para>
|
||
</listitem>
|
||
|
||
<listitem>
|
||
<para><application>Povray</application> ¤È
|
||
<application>Ghostscript</application> ¤Ç TrueType
|
||
¥Õ¥©¥ó¥È¤òÍøÍѤ¹¤ëÎ㤬¤¢¤ë¤È¤¤¤¤¤À¤í¤¦¡£</para>
|
||
</listitem>
|
||
</itemizedlist>
|
||
</sect1>
|
||
</article>
|