Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Sony Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 04-14-2013, 02:08 AM   #1
kaceyrohl
Junior Member
kaceyrohl began at the beginning.
 
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
kaceyrohl is offline   Reply With Quote
Old 04-14-2013, 03:37 PM   #2
sellew
Enthusiast
sellew has a complete set of Star Wars action figures.sellew has a complete set of Star Wars action figures.sellew has a complete set of Star Wars action figures.sellew has a complete set of Star Wars action figures.
 
Posts: 30
Karma: 300
Join Date: Oct 2011
Location: Barcelona
Device: Sony PRS-650, PRS-T2
Quote:
Originally Posted by kaceyrohl View Post
src: url(res:///ebook/fonts/../../mnt/sdcard/fonts/arial.ttf);
}
I can not use
Apart from declaring the @font-face rules:

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 having the fonts actually copied in a directory called fonts in the internal memory root directory of the reader.

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.
sellew is offline   Reply With Quote
Advert
Reply


Forum Jump

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 04:38 PM
PRS-T1 Need help! Having trouble re-rooting my Sony PRS-T1 lovinghart Sony Reader Dev Corner 0 05-05-2012 10:30 PM
Relaunch & default reader after rooting? [Sony prs-t1] Globex Sony Reader Dev Corner 1 02-07-2012 05:14 AM
PRS-650 How to add new fonts on russified PRS-650--please Bro Pete Sony Reader 3 01-13-2012 09:30 AM
PRS-350: Add Cyrillic fonts, lose warranty? Prosto_IA Sony Reader 15 11-25-2010 08:26 AM


All times are GMT -4. The time now is 04:35 PM.


MobileRead.com is a privately owned, operated and funded community.