View Single Post
Old 07-07-2009, 04:37 PM   #8
p3aul
Captain Courageous
p3aul doesn't litterp3aul doesn't litter
 
p3aul's Avatar
 
Posts: 239
Karma: 102
Join Date: Apr 2009
Device: calibre, PRS 505
OK Tried again! This time I got the syntax right. File compiled into a epub file.
Loaded the file into calibre viewer. Title was larger than than the chapter heading which was what I specified, but not the point value specified so I guess there was some scaling. Not a biggie, I have read that css font values should be specified in em's.

The other problem is that the font name was *not* as specified "Monotype Corsiva".

Opening up the epub file revealed that file "index_calibre_2.css included my bit of css. at the bottom of the file. Monotype Corsiva was there as the body font-name. Why didn't it pick it up? here is the file inline.


body {
margin-top: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0
}
body {
margin-left: 5pt;
margin-right: 5pt
}
a {
color: inherit;
text-decoration: inherit;
cursor: default
}
a[href] {
color: blue;
text-decoration: underline;
cursor: pointer
}
body {
text-align: justify
}
h1 {
font-size: 18pt
}
h2 {
font-size: 24pt;
font-name: "Arial"
}
body {
font-size: 12pt;
font-name: "Monotype Corsiva"
}
Thanks,
Paul

*UPDATE*

Ok Seems any2epub didn't like "Monotype Corsiva", it did just fine with "Courier New"! So I guess I have it now.
Thanks,
Paul

Last edited by p3aul; 07-07-2009 at 06:21 PM.
p3aul is offline   Reply With Quote