View Single Post
Old 05-19-2019, 07:58 AM   #12
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 6,497
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Quote:
Originally Posted by Doitsu View Post
There's a new initial-letter CSS rule that'll make creating drop caps much easier.
Amazon's Enhanced Typesetting does drop caps in a similar way to initial-letter. During conversion to KFX format if the book is coded in a way that appears to be trying to produce a drop cap then kfxgen removes the original drop cap coding and replaces it with:

dropcap_chars: 1,
dropcap_lines: 3,

Where dropcap_chars indicates how many initial characters of the paragraph should be drop caps and dropcap_lines indicates how many lines high to make it. The drop cap automatically adjusts to the font, font size, line height, etc.

(Do you have any idea whether initial-letter is on a track to being standardized? The article that you linked is over three years old.)

Last edited by jhowell; 05-19-2019 at 03:37 PM.
jhowell is offline   Reply With Quote