Quote:
Originally Posted by Doitsu
What I've still haven't figured out is how to optimize drop caps css rules for specific fonts based on these values.
|
You can't. I tried and I couldn't. Once you have optimized the css code for ADE, it won't work for Webkit or Readium or whatever. Do the try. Sigil uses Webkit. Try finding a css code that shows perfectly the dropcap in Sigil (let's suppose that you found a formula for doing that in Sigil with any kind of font-family). Open that epub in ADE and the dropcap won't display of the same way. And you can't control that because you don't know what engine will use the ereader to display the epub.
But regarding to float a square, you can get practically the same output under ADE, WebKit, Readium, etc. Of that way the problem is reduced about how to center horizontal and vertically the letter inside that square.