12-29-2011, 05:15 PM | #31 |
Grand Sorcerer
Posts: 6,208
Karma: 16534692
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
If the other 3 font files don't exist the only thing you can do is map all 4 (reg, italic, bold, boldital) to the single sylfaen.ttf font file you do have, like this:
Code:
@font-face { font-family: serif; src: url(res:///ebook/fonts/../../mnt/sdcard/fonts/sylfaen.ttf);} If you want bold and italic to display correctly you will need to pick a different font-family with all 4 files which contain all characters for your language of choice. What is it, by the way? |
12-29-2011, 08:47 PM | #32 |
ebooknut
Posts: 297
Karma: 688154
Join Date: Oct 2011
Device: Kindle Voyage & Oasis
|
Another option is to use a different font for the italic, bold, and bold-italic, such as one of the resident fonts already on the T1. The results may look a little weird, but at least you'll end up with bold, italic, etc.
For example, to use the Amasis files found on the T1, use the following code (note the different file-path!) Code:
@font-face { font-family: serif; font-weight: normal; font-style: normal; src: url(res:///ebook/fonts/../../mnt/sdcard/fonts/sylfaen.ttf);} @font-face { font-family: serif; font-weight: normal; font-style: italic; src: url(res:///ebook/fonts/AmasisMTW1G-Italic.otf);} @font-face { font-family: serif; font-weight: bold; font-style: normal; src: url(res:///ebook/fonts/AmasisMTW1G-Bold.otf);} @font-face { font-family: serif; font-weight: bold; font-style: italic; src: url(res:///ebook/fonts/AmasisMTW1G-BoldItalic.otf);} If you want to use another font that you add to the same font folder that you put sylfaen, you would use this code: Code:
@font-face { font-family: serif; font-weight: normal; font-style: normal; src: url(res:///ebook/fonts/../../mnt/sdcard/fonts/sylfaen.ttf);} @font-face { font-family: serif; font-weight: normal; font-style: italic; src: url(res:///ebook/fonts/../../mnt/sdcard/fonts/FONTNAME.ttf);} @font-face { font-family: serif; font-weight: bold; font-style: normal; src: url(res:///ebook/fonts/../../mnt/sdcard/fonts/FONTNAME.ttf);} @font-face { font-family: serif; font-weight: bold; font-style: italic; src: url(res:///ebook/fonts/../../mnt/sdcard/fonts/FONTNAME.ttf);} |
Advert | |
|
12-30-2011, 04:43 PM | #33 | |
Connoisseur
Posts: 90
Karma: 16056
Join Date: Dec 2011
Device: Sony PRS T1
|
Quote:
Last edited by giosa; 12-30-2011 at 04:46 PM. |
|
12-30-2011, 04:45 PM | #34 | |
Connoisseur
Posts: 90
Karma: 16056
Join Date: Dec 2011
Device: Sony PRS T1
|
Quote:
|
|
12-30-2011, 05:58 PM | #35 |
Grand Sorcerer
Posts: 6,208
Karma: 16534692
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
The 6 special built-in fonts (Amasis, PalatinoNova etc) seem to support quite a lot of languages. Did any of these 6 fonts support Georgian, when chosen via Menu - Font - Select Font Type?
Edit: The free Liberation fonts support some Eastern European languages. This may be worth a try. Last edited by jackie_w; 12-30-2011 at 06:38 PM. |
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fonts with iq original reader | musicman2523 | PocketBook | 0 | 10-24-2011 04:49 PM |
Different fonts on original Kobo | terifili | Kobo Reader | 3 | 07-14-2011 07:43 PM |
Hacks Original screensaver files in Linux file system ? | meem | Amazon Kindle | 4 | 08-13-2010 07:23 AM |
system files, user fonts in rtf, restarting required for SD card? | Ea | HanLin eBook | 6 | 03-15-2009 05:25 AM |
how to clean more disk space in root file system to upgrade system | chinaet | iRex | 1 | 12-18-2006 03:54 PM |