|
|
#1 |
|
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Apr 2013
Device: prs t2
|
How to Add New Fonts on Sony Reader PRS-T2(No Rooting)
src: url(res:///ebook/fonts/../../mnt/sdcard/fonts/arial.ttf);
} I can not use |
|
|
|
|
|
#2 | |
|
Enthusiast
![]() ![]() ![]() ![]() Posts: 30
Karma: 300
Join Date: Oct 2011
Location: Barcelona
Device: Sony PRS-650, PRS-T2
|
Quote:
Code:
@font-face {
font-family: "Charis";
font-weight: normal;
font-style: normal;
src: url(res:///ebook/fonts/../../mnt/sdcard/fonts/CharisSILR.ttf);
}
@font-face {
font-family: "Charis";
font-weight: bold;
font-style: normal;
src: url(res:///ebook/fonts/../../mnt/sdcard/fonts/CharisSILB.ttf);
}
@font-face {
font-family: "Charis";
font-weight: normal;
font-style: italic;
src: url(res:///ebook/fonts/../../mnt/sdcard/fonts/CharisSILI.ttf);
}
@font-face {
font-family: "Charis";
font-weight: bold;
font-style: italic;
src: url(res:///ebook/fonts/../../mnt/sdcard/fonts/CharisSILBI.ttf);
}
You need also to indicate in your css to which part of the text the font will be applied: Code:
body { font-family: "Charis", Times, serif; }
or
h1{ font-family: "Charis", Times, serif; }
etc.
|
|
|
|
|
| Advert | |
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PRS-T1 Need help! Having trouble re-rooting my Sony PRS-T1 | lovinghart | Sony Reader Dev Corner | 13 | 05-15-2013 05:38 PM |
| PRS-T1 Need help! Having trouble re-rooting my Sony PRS-T1 | lovinghart | Sony Reader Dev Corner | 0 | 05-05-2012 11:30 PM |
| Relaunch & default reader after rooting? [Sony prs-t1] | Globex | Sony Reader Dev Corner | 1 | 02-07-2012 06:14 AM |
| PRS-650 How to add new fonts on russified PRS-650--please | Bro Pete | Sony Reader | 3 | 01-13-2012 10:30 AM |
| PRS-350: Add Cyrillic fonts, lose warranty? | Prosto_IA | Sony Reader | 15 | 11-25-2010 09:26 AM |