![]() |
#16 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
Ahhh - that works, both in the editor and in ADE and KP
I think what I have now (below) will work nicely. With BR's style recommendations and getting the font to work, it's now simple enough for me to drop in easily and set off a snail-mail. I could even go back to my first choice for typeface. I will have to also come up with one or two more CSS files to easily handle typewritten and computer-type output, but I'll just model them on this one Thanks again Code:
@font-face { font-family: "Lucida Handwriting"; src: url(../fonts/Lucida_Handwriting_Italic.ttf); } blockquote.handwritten { font-family: "Lucida Handwriting"; padding: 0 5% 0 5%; margin: 5%; background-color: rgb(240, 240, 240); border-style: solid; letter-spacing: 0.1em; } blockquote.handwritten p { text-indent: 0; text-align: left; font-size: 1.1em; margin-top: 0.75em; } blockquote.handwritten p.compliment { text-align: right; } |
![]() |
![]() |
![]() |
#17 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,057
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Great
It is easy to forget that the if the @font calls out specifics:bold and/or italic, the they only match the style usage with the same |
![]() |
![]() |
Advert | |
|
![]() |
#18 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@phossler - I appreciate that you're making this book for yourself, and that you're probably using it as a means to learn about epub bookmaking. And on that; more power to your arm, sir.
However, IMCO - Artefacts such as borders, background colours and varying typefaces etc are very useful in instructional texts, and to a lesser extent in factual texts. But in fiction—no way Jose. Well written fiction should facilitate/encourage the reader to use their own imagination, which includes such things as a letter writer's penmanship, and the paper they might use. Imposition of the bookmaker's visioning robs the reader of part of the joy of reading—exercising their own mental agility. What next? Put the jokes in Comic Sans MS ![]() And seeing as you've gone to the effort of creating blockquote.handwritten, why not go the extra yard and get rid of the gap between the Compliment and Signature. hint: your Compliment rightfully ends with a comma, so. . . BR Last edited by BetterRed; 01-18-2016 at 04:48 PM. |
![]() |
![]() |
![]() |
#19 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
@BetterRed - all true
I agree that this could get over-cutesy. But even in a work of fiction, if used carefully, I think it's OK, especially since it's just for me. ![]() Quote:
I searched http://css.maxdesign.com.au/selectutorial/ and http://www.w3schools.com/cssref/css_selectors.asp trying to come up with some sophisticated CSS but never even figured out your hint ![]() How about another one that is not so subtle?? Last edited by phossler; 01-18-2016 at 07:13 PM. |
|
![]() |
![]() |
![]() |
#20 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,057
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Looks fine to me.
Too Cutesy would have been flowered (or other 'Ladies' type) stationary |
![]() |
![]() |
Advert | |
|
![]() |
#21 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
Quote:
![]() Something like this snail-mail letter would be seldom, but I have a Sci Fi book with a lot of computer output for my next clean up where special treatment would be nice (at least a 'computer' font' and some simple special formatting) Again, thanks to both of you for you help and ideas |
|
![]() |
![]() |
![]() |
#22 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,057
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
The difficulty is in picking the right image ![]() |
|
![]() |
![]() |
![]() |
#23 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Violet was broke, looking for a job, probably wrote the note on the back of a grocer's bill ![]() A letter to Anna Eliza Bray (English Novelist) from Letitia Elizabeth Landon (English Poet). Writing with a quill pen is not easy, it requires a very light touch. BR |
|
![]() |
![]() |
![]() |
#24 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
![]() Font is Jane Austen (16pt) from Pia Frauss. I did it in Word because I know better what I do there. The note background colour (first one) is RGB 238, 236, 225, but I don't like the sharp edges. But to me at least, it looked even worse with a border, maybe it would be acceptable to me if it had an indefinite (random fuzziness) edge with a hint of something on the reverse and it bore evidence of being 'crumpled' - but I suspect I would still prefer the 'paperless' one. Enough already ![]() PS : errata - if Golden Beeches is set in late 19th century (when it was written), Violet almost certainly would have used a steel nib pen, quills had fallen out of use by then. But handwriting styles didn't change much; this is a letter from Emmeline Pankhurst (suffragette) to Lloyd George (UK PM) written in 1916. Coincidentally Emmeline like Violet was anxious. Last edited by BetterRed; 01-19-2016 at 07:12 PM. Reason: added paperless ('best') version |
![]() |
![]() |
![]() |
#25 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,756
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
A couple of things about the letter. Don't use paragraph spaces. It looks awful. So you'll need indents. I suggest an indent of 1.2em. Next, don't make the letter smaller than the default base text size. That just doesn't work. Being offset is enough. A blockquote works to surround the letter.
Code:
blockquote { margin-top: 1.2em; margin-right: 1.5em; margin-bottom: 1.2em; margin-left: 1.5em } If you are going to use an embedded font for the letter(s), then you'll need to specify someplace where it will be seen that publisher font needs to be turned on because there are embedded fonts. If you don't do that, some people won't see your embedded font(s). Kobo & nook Readers need to have publisher font turned on and same with Marvin (for iOS). Kindles are like that as well. Last edited by JSWolf; 01-19-2016 at 06:12 PM. |
![]() |
![]() |
![]() |
#26 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
@JSWolf --
On my reader I find that paragraph spacing seems to work better for me. Good thought about no border -- I'll try that and see what I think I did embed the font and on the Kindle selected [Publisher Font] -- I usually prefer one of the fonts recommended here in the forum instead of the built in ones |
![]() |
![]() |
![]() |
#27 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,613
Karma: 6718541
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
|
Yes, but they were expensive, clumsy, and required a new skill that most people didn't have. They were somewhat common in business, but would rarely be used for a personal letter or note, except by someone who owned and used one for professional reasons.
|
![]() |
![]() |
![]() |
#28 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,756
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#29 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
The advent of DIY typing is a recent phenomena - more's the pity ![]() ![]() BR |
|
![]() |
![]() |
![]() |
#30 | |
Award-Winning Participant
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,389
Karma: 68329346
Join Date: Feb 2010
Location: NJ, USA
Device: Kindle
|
Quote:
![]() BTW, the letter WAS dated. The line preceding it says so, it's just not included in the screenshot shown. This, by the way, is evidence that there is no value in trying to present the letter as if it was appearing in its entirety as an attachment....only some text is quoted. And I agree with the comments that the colors and outlines have no place here. I think the extra margins, and possible italics would be more than enough. ApK |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Suggestion] Sigil validator should check missing type="text/css" attribute | quiris | Sigil | 13 | 01-21-2018 02:00 PM |
A snail could outrun this | trianglekitty | Calibre Companion | 1 | 11-10-2015 04:05 AM |
Set Semantics suggestion (small one) | phossler | Editor | 3 | 09-26-2014 10:24 AM |
Suggestion: Don't set "color" tag in .epub css | McAlsop | Calibre | 16 | 06-17-2010 09:13 AM |
Suggestion: let's create typographic CSS | sic | Sony Reader | 2 | 08-20-2007 07:17 PM |