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

DM Smith dmsmith at crosswire.org
Fri Jun 24 15:46:44 MST 2011


On Jun 24, 2011, at 5:57 PM, Greg Hellings wrote:

> On Fri, Jun 24, 2011 at 1:52 PM, DM Smith <dmsmith at crosswire.org> wrote:
>> On 06/24/2011 01:03 PM, Troy A. Griffitts 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>?
>> 
>> For BibleDesktop we don't have span, so we use the equivalent of <font
>> style="font-variant: small-caps">Lord</font>. It works quite well.
> 
> I think it would be more in line with what Troy has mentioned we would
> like to move towards if we did <span class="divineName">Lord</span>
> and then the application can display it as appropriate with CSS class
> definitions (akin to how David mentions it).  If that's where we want
> to go, why can't we just head that way now?

I think it was because GnomeSword could not use CSS. I don't know if xiphos' use of xulrunner or it's replacement webkit has any problems with external stylesheets.
One solution would be to deprecate the current render, leaving it as is and create a clone of it that uses span and class for elements.

In Him,
	DM
> 
> --Greg
> 
>> 
>> In Him,
>> DM
>> 
>> Troy
>> 
>> 
>> 
>> On 24/06/11 13:48, Karl Kleinpaste wrote:
>> 
>> We had a bug report against Xiphos, that changing the base font size
>> when displaying RNKJV causes all text to resize _except_ divine names.
>> That is, module markup contains e.g. <divinename>Yahushua</divinename>
>> all over the place.  What comes out of the engine for this includes its
>> own font size specification, without regard to what the Xiphos user has
>> chosen as his base font size for everything.
>> 
>> Is there any way to address this, so that what comes out of the engine
>> is a relative size choice, rather than a fixed one?
>> 
>> _______________________________________________
>> sword-devel mailing list: sword-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
>> 
>> _______________________________________________
>> sword-devel mailing list: sword-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
>> 
>> 
>> _______________________________________________
>> sword-devel mailing list: sword-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
>> 
> 
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page




More information about the sword-devel mailing list