10-27-2012, 02:33 PM | #61 | |
Wizard
Posts: 2,986
Karma: 18343081
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
Quote:
|
|
10-27-2012, 05:46 PM | #62 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
@EbokJunkie,
I don't know about the newer PB models but this userStyle1.css gives me my chosen font (Charis) on my PB360 (original) with the hacked ADE version of fw15.2, even if there is a different embedded font. Code:
@font-face {font-family: serif; font-weight: normal; font-style: normal; src: url(res:///mnt/ext1/system/fonts/CharisSIL-Regular.ttf)} @font-face {font-family: serif; font-weight: normal; font-style: italic; src: url(res:///mnt/ext1/system/fonts/CharisSIL-Italic.ttf)} @font-face {font-family: serif; font-weight: bold; font-style: normal; src: url(res:///mnt/ext1/system/fonts/CharisSIL-Bold.ttf)} @font-face {font-family: serif; font-weight: bold; font-style: italic; src: url(res:///mnt/ext1/system/fonts/CharisSIL-BoldItalic.ttf)} body, body.book, body.text, body.calibre, body.calibre1, body.calibre2, body.calibre3, body.calibre4 { font-family: serif; line-height: 1.2; widows: 0; orphans: 0; margin-left: 5pt; margin-right: 5pt; font-size: 1em } |
Advert | |
|
10-29-2012, 10:40 PM | #63 |
Addict
Posts: 229
Karma: 13495
Join Date: Feb 2009
Location: SoCal
Device: Kindle 3, Kindle PW, Pocketbook 301+, Pocketbook Touch, Sony 950, 350
|
Thank you Jackie, your idea about multiple body tags saved my day :-)
One note: on Pocketbook Touch res:/// path doesn't work.I just used path relative to css location: url(./fonts/font_file_name) and that worked for me. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
EPUB (CSS) tweaker app | Loccy | Conversion | 9 | 01-23-2011 10:22 PM |
Is there a known problem displaying images in EPUB in AdobeViewer | jackie_w | PocketBook | 3 | 05-12-2010 06:43 AM |
FBreader vs adobeviewer .. configuration | askyn | PocketBook | 3 | 03-30-2010 03:01 AM |
kindle app? is it possible to design a app to full support PDF? | lili1989 | Amazon Kindle | 12 | 02-05-2010 05:29 PM |
EPub mit AdobeViewer: ursprünglicher Maßstab | Gra666 | PocketBook | 2 | 01-01-2010 10:13 AM |