mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
Tweaked the Abiword font configuration
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5424 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
5aa1d3ddfc
commit
b515d91d4b
@ -196,16 +196,19 @@ cp -v /usr/share/AbiSuite-2.4/templates/normal.awt-<replaceable>[lang]</replacea
|
||||
|
||||
<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 's@Times New Roman@Bitstream Vera Sans@g' \
|
||||
~/.AbiSuite/templates/normal.awt</userinput></screen>
|
||||
|
Loading…
Reference in New Issue
Block a user