01-25-2009, 09:56 AM | #1 |
Groupie
Posts: 185
Karma: 4710362
Join Date: Oct 2007
Device: Sony prs-505
|
Want to add a font to Iliad
I would like to put a font on the Iliad for use in FBReader, but I don't want to deal with root access etc. Is there any way to do this?
|
01-25-2009, 01:34 PM | #2 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
The following might work.
Make a directory fonts in the root directory of your CF card and copy the .ttf font files into it. Reboot. I have found that some fonts crash the reboot. It that happens, just remove the CF card and reboot again. You can then delete the offending font and try again. I think the above is sufficient for version 0.8.14. For FBReader 0.8.04 there is the additional problem that $HOME is redefined to be _local/home on the CF card (and $HOME/.fonts.conf is what allows the fonts CF directory to contain fonts). I have not found a completely satisfactory work around for this. An alternative that requires the use of xterm or a script is to copy the font to one of the predefined internal font directories, for example the directory: Code:
/usr/share/fonts/truetype/ttf-western-default |
Advert | |
|
01-27-2009, 09:52 AM | #3 |
Member
Posts: 22
Karma: 328
Join Date: Jul 2008
Device: iliad
|
Does it have to be a CF card or does MMC work just as well?
|
01-27-2009, 11:34 AM | #4 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
MMC should also work.
An alternative to copying the fonts to /usr/share is to softlink from the MMC or CF to there. In this case, call the directory something other than fonts (fonts_mmc, say). Something like: Code:
cd /usr/share/fonts/truetype ln -s /media/mmc/fonts_mmc mmc |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
iLiad Enable non-embedded font pdf on iLiad | ericshliao | iRex Developer's Corner | 7 | 06-20-2010 01:51 PM |
feed to lrf, how do I change font (or have default font) | lovemov | Calibre | 3 | 03-16-2009 10:57 PM |
iLiad Possible to add libs to iLiad SDK? | ericshliao | iRex Developer's Corner | 0 | 12-25-2007 04:37 AM |
iLiad It's possible add new font? | chinaet | iRex Developer's Corner | 2 | 12-14-2006 08:45 PM |
Manybooks first to add support for iRex iLiad | emkay | iRex | 23 | 08-30-2006 01:58 AM |