[sword-devel] proposed patch: adding n=X marker content to footnotes and xrefs

Jonathan Morgan jonmmorgan at gmail.com
Sun Feb 12 05:34:45 MST 2012


On Sun, Feb 12, 2012 at 10:16 PM, Peter von Kaehne <refdoc at gmx.net> wrote:

> On 12/02/12 04:27, Greg Hellings wrote:
> > Still more of it was very
> > important for display - selection of different fonts for Greek vs
> > Hebrew vs Aramaic displays.
> I do not follow the general discussion very much - but this really got
> my notice.
> I think the current Font item in the configuration file is a bit of a
> cludge - it does not work when a font is not actually present, it can
> not deal with font families, alternatives etc and it certainly can not
> provide a selection for multiscripture texts.

FWIW, the way BPBible does it is to scan through a text, identify all
Hebrew/Greek text, and wrap them in additional spans like <span
lang="he">.  It will then use the font specified by the user for that
particular language.  Due to the implementation, this would probably end up
with a more specific rule than anything in the CSS, which may be a drawback
(especially since the default will probably be the default font for the
entire application).  However, it does mean that the user is (at least in
theory) in control of which font is used for which language, rather than
the module, so if module creator explicitly picks font X because it has
good Hebrew support but user prefers font Y for Hebrew they get font Y.
And it does mean even in a principally English book Hebrew/Greek text in it
can be displayed in a different font without any work from the module


So, Greg is right here. And you Troy are wrong. Said with the same love
> present in your last email :-)
> Whether the solution is style sheets or something else, I do not care,
> but to my mind, given that we moved all to immensely capable rendering
> engines and use only a single digit percentage of their ability, I think
> a move to support per module CSS would not be exactly a big thing.
> Certainly not if we restrict its use to something which can be expected
> to have universal support across all our frontends (leaving BibleCS and
> its RTF rendering out of the equation.
> I personally would find it hard to have pink headlines and turquoise
> coloured backgrounds because a girly module maker thought this would be
> nice, but structural stuff - fonts particularly - need to improve and
> could easily be improved.
> Peter
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20120212/4a94d36e/attachment.html>

More information about the sword-devel mailing list