View Single Post
Old 08-24-2008, 01:48 AM   #19
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
Quote:
Originally Posted by tompe View Post
Can you change the font size in FBReader? I cannot find any button that do this...
If there is a spare key to bind to, then all you should need to do is edit ~/.FBReader/options.xml Here is how the GUI-less FBReader 0.8.14 keys are configured by default on the iLiad:

Code:
 <group name="Keys">
    <option name="Action0" value="nextTOCSection"/>
    <option name="Action1" value="redo"/>
    <option name="Action2" value="undo"/>
    <option name="Action3" value="decreaseFont"/>
    <option name="Action4" value="increaseFont"/>
    <option name="Action5" value="cancel"/>
    <option name="Action6" value="rotate"/>
    <option name="Action7" value="cancel"/>
    <option name="Action8" value="toc"/>
    <option name="Action9" value="previousTOCSection"/>
    <option name="Key0" value="&lt;DownArrow&gt;"/>
    <option name="Key1" value="&lt;F1&gt;"/>
    <option name="Key2" value="&lt;F2&gt;"/>
    <option name="Key3" value="&lt;F3&gt;"/>
    <option name="Key4" value="&lt;F4&gt;"/>
    <option name="Key5" value="&lt;F5&gt;"/>
    <option name="Key6" value="&lt;F6&gt;"/>
    <option name="Key7" value="&lt;Home&gt;"/>
    <option name="Key8" value="&lt;Return&gt;"/>
    <option name="Key9" value="&lt;UpArrow&gt;"/>
    <option name="Number" value="10"/>
  </group>
To edit options.xml you need to know the Key values as well as the Action values. On the iLiad, these are easy to find because there is a version of FBReader with a GUI to use as a cheat sheet.
wallcraft is offline