|
|
#61 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,069
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
Quote:
|
|
|
|
|
|
|
#62 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,269
Karma: 16544702
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
@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 | |
|
|
|
|
#63 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 230
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 11:22 PM |
| Is there a known problem displaying images in EPUB in AdobeViewer | jackie_w | PocketBook | 3 | 05-12-2010 07:43 AM |
| FBreader vs adobeviewer .. configuration | askyn | PocketBook | 3 | 03-30-2010 04:01 AM |
| kindle app? is it possible to design a app to full support PDF? | lili1989 | Amazon Kindle | 12 | 02-05-2010 06:29 PM |
| EPub mit AdobeViewer: ursprünglicher Maßstab | Gra666 | PocketBook | 2 | 01-01-2010 11:13 AM |