01-28-2010, 05:20 AM | #1 |
Dieselgoth
Posts: 2
Karma: 10
Join Date: Jun 2009
Location: Atlanta, GA
Device: None
|
Basic CSS For Sony Reader
Has anyone attempted to develop a CSS that mimics the default styling of LRF files?
|
01-28-2010, 06:33 AM | #2 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
|
Advert | |
|
01-28-2010, 04:09 PM | #4 |
Resident Curmudgeon
Posts: 73,887
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
01-28-2010, 04:22 PM | #5 |
Fanatic
Posts: 556
Karma: 1057213
Join Date: Sep 2006
Location: North Eastern U.S.
Device: Sony Reader
|
Actually, Adobe module doesn't simulate bold and italics, it uses a very limited built-in set of fonts, which are utilized by default when no CSS is present, and no font resources are added. Adobe module doesn't appear to have an internal capability to simulate bold and italics on a regular font, like the LRF and RTF modules do.
|
Advert | |
|
01-28-2010, 04:27 PM | #6 | |
Resident Curmudgeon
Posts: 73,887
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
01-29-2010, 12:40 AM | #7 | |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
Code:
@font-face { font-family: "Fontin"; font-weight: normal; font-style: normal; src: url(res:///Data/fonts/Fontin-Regular.ttf); } @font-face { font-family: "Fontin"; font-weight: bold; font-style: normal; src: url(res:///Data/fonts/Fontin-Bold.ttf); } @font-face { font-family: "Fontin"; font-weight: normal; font-style: italic; src: url(res:///Data/fonts/Fontin-Italic.ttf); } body { font-family: "Fontin", serif; widows: 0; orphans: 0; } p { text-indent:1.1em } /* To increase ePub font size Remove rem slashes surrounding the paragraph and division statements below. Then adjust percentage higher, try 110% to start. */ /* p {font-size:110%} div {font-size:110%} */ /* To increase ePub line height Remove rem slashes surrounding the paragraph and division statements below. Then adjust percentage higher, try 110% to start. */ /* p {line-height: 110%} div {line-height: 110%} */ Last edited by DoctorOhh; 01-29-2010 at 12:44 AM. |
|
02-05-2010, 02:38 AM | #8 | |
Resident Curmudgeon
Posts: 73,887
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Basic CSS Font family question! | kjk | ePub | 2 | 05-27-2010 01:28 PM |
CSS odd behavior with ADE/Sony Reader | AbominableDavid | Sigil | 10 | 03-26-2010 09:16 PM |
basic needs, which reader? | shmish | Which one should I buy? | 8 | 02-08-2010 11:47 PM |
Looking for a basic cheap reader! | codinh | Which one should I buy? | 13 | 02-06-2010 06:57 AM |
Is There a Basic Reader? | Big Kev | Which one should I buy? | 9 | 01-30-2010 09:15 AM |