[sword-devel] Font size specification inside <divinename></divinename>

Jonathan Morgan jonmmorgan at gmail.com
Sat Jun 25 01:22:39 MST 2011


On Saturday, June 25, 2011, David (Mailing List Addy)
<davidslists at gmx.net> wrote:
> On Friday, June 24, 2011 02:52:14 PM DM Smith wrote:
>> > Yeah, for sure.  We also have this problem on swordweb. Any ideas?  I
>> > thought at one time we were supplying a + size on the first letter or
>> > something.  Any bright ideas welcome.
>>
>> Is there any reason not to use small caps? I.e.
>> <divineName>Lord</divineName> becomes <span style="font-variant:
>> /small/-/caps/">Lord</span>?
>
> This is siilar to how most distplay templates in BiblTime do it, excet of
> course, we use external syle sheets so we create a <span
> class="divinename">Lord</span> (or some equivalent to that) and then currently
> all stylesheets that use that class have a font-variant:small-caps line.

BPBible does this too.  It is quite possible for a frontend to
subclass the renderer and customise it extensively.

Jon



More information about the sword-devel mailing list