Ignore:
Timestamp:
12/14/2005 02:33:56 PM (18 years ago)
Author:
Andrew Benton <andy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
516a4acd
Parents:
5aa1d3dd
Message:

Tweaked the Abiword font configuration

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5424 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xsoft/office/abiword.xml

    r5aa1d3dd rb515d91d  
    197197      <para><application>AbiWord</application> uses Times New Roman as its default
    198198      font. If you'd like it to default to a different font, edit
    199       <filename>~/.AbiSuite/templates/normal.awt</filename> and change the font to
    200       the one you want. Open <application>AbiWord</application>, choose the font,
    201       type one letter then save the document in your home folder as
    202       <filename>test.abw</filename>. Find out what name
    203       <application>AbiWord</application> uses for the font:</para>
    204 
    205 <screen><userinput>grep -m 1 '"font-family' ~/test.abw</userinput></screen>
    206 
    207       <para>Now put it into your <application>AbiWord</application> template. For
    208       example, if you want to use Bitstream Vera Sans:</para>
     199      <filename>~/.AbiSuite/templates/normal.awt</filename> and change the font to the
     200      one you want. To find out the exact string <application>AbiWord</application>
     201      uses for the font, open <application>AbiWord</application>, type one letter, then
     202      save the document in your home folder as <filename>test.abw</filename>. Now:
     203      </para>
     204
     205<screen><userinput>grep -m 1 '"font-family' ~/test.abw | cut -d \" -f6</userinput></screen>
     206
     207      <para>You can edit <filename>~/.AbiSuite/templates/normal.awt</filename> with a
     208      simple text editor like <application>Vim</application> or
     209      <application>Gedit</application>, or you can alter it with a
     210      <command>sed</command>. For example, if you want to use Bitstream Vera Sans:
     211      </para>
    209212
    210213<screen><userinput>sed -i 's@Times New Roman@Bitstream Vera Sans@g' \
Note: See TracChangeset for help on using the changeset viewer.