Author: andy
Date: 2005-12-14 07:33:56 -0700 (Wed, 14 Dec 2005)
New Revision: 5424
Modified:
trunk/BOOK/xsoft/office/abiword.xml
Log:
Tweaked the Abiword font configuration
Modified: trunk/BOOK/xsoft/office/abiword.xml
===================================================================
--- trunk/BOOK/xsoft/office/abiword.xml 2005-12-14 12:29:05 UTC (rev 5423)
+++ trunk/BOOK/xsoft/office/abiword.xml 2005-12-14 14:33:56 UTC (rev 5424)
@@ -196,16 +196,19 @@
<para><application>AbiWord</application> uses Times New Roman as its
default
font. If you'd like it to default to a different font, edit
- <filename>~/.AbiSuite/templates/normal.awt</filename> and change the
font to
- the one you want. Open <application>AbiWord</application>, choose the
font,
- type one letter then save the document in your home folder as
- <filename>test.abw</filename>. Find out what name
- <application>AbiWord</application> uses for the font:</para>
+ <filename>~/.AbiSuite/templates/normal.awt</filename> and change the
font to the
+ one you want. To find out the exact string
<application>AbiWord</application>
+ uses for the font, open <application>AbiWord</application>, type one
letter, then
+ save the document in your home folder as <filename>test.abw</filename>.
Now:
+ </para>
-<screen><userinput>grep -m 1 '"font-family' ~/test.abw</userinput></screen>
+<screen><userinput>grep -m 1 '"font-family' ~/test.abw | cut -d \"
-f6</userinput></screen>
- <para>Now put it into your <application>AbiWord</application> template.
For
- example, if you want to use Bitstream Vera Sans:</para>
+ <para>You can edit <filename>~/.AbiSuite/templates/normal.awt</filename>
with a
+ simple text editor like <application>Vim</application> or
+ <application>Gedit</application>, or you can alter it with a
+ <command>sed</command>. For example, if you want to use Bitstream Vera
Sans:
+ </para>
<screen><userinput>sed -i '[EMAIL PROTECTED] New [EMAIL PROTECTED] Vera [EMAIL
PROTECTED]' \
~/.AbiSuite/templates/normal.awt</userinput></screen>
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page