[Xerte] sub/super script?

Julian Tenney Julian.Tenney at nottingham.ac.uk
Fri Nov 13 10:44:09 GMT 2009


Selection.setFocus(myTextEntry);

 

???

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: Friday, November 13, 2009 10:28 AM
To: Xerte list
Subject: RE: [Xerte] sub/super script?

 

Ah, OK. It's a case of the accessibility option being a wild card.

I thought it was something to do with screen reading not being able to
pick up the embedded fonts or something.

p.s. what's the trick to setting focus on a text entry.
The archives only say "I managed to set focus!", but no technique. :)

Dave



________________________________

Subject: RE: [Xerte] sub/super script?
Date: Fri, 13 Nov 2009 10:07:36 +0000
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk

Its hard for us to cover everythigbecause in Xerte's default interface,
the accessibility options allow the user to change the font size and
face. If you are happy to be in control of the font, then using embedded
fonts and the sub / super embedded fotns is probably the way to go.

 

I think you could use these with a stylesheet to define 

 

sub {

  face: subscriptFontName;

}

 

And then have <sub> and <super> supported in the text. I've never tried
the combination of a stylesheet with embedded fonts...

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: Friday, November 13, 2009 9:47 AM
To: Xerte list
Subject: RE: [Xerte] sub/super script?

 

 

 

> 

- Use the embedded subscript - superscript font. This works quite well
if you can control the font display. Embed the fonts by making a
resources.swf with them in, then use the embedded font on the learning
object or text icons. You can embed normal verdana and the sub / super
fonts, and then mix them in a text icon <font
face="verdana">H</font<font face="sub">2</font><font
face="verdana">O</font>. Drawbacks are i) this is a pain in the arse;
ii) there are good reaons not to embed fonts - in toolkits its the
accesibility stuff, there are others;

 

 

Thanks Julian  & John.

 

Could you expand a bit on this one.

i.e. the accessibility issue.

 

If it's what I'm thinking, could it be perhaps be faked out with some
metadata offscreen somewhere?

 

Dave

 

 

 

 

 

________________________________

Windows 7: Unclutter your desktop. Learn more.
<http://go.microsoft.com/?linkid=9690331&ocid=PID24727::T:WLMTAGL:ON:WL:
en-US:WWL_WIN_evergreen:112009> 

 

________________________________

Hotmail: Trusted email with powerful SPAM protection. Sign up now.
<http://clk.atdmt.com/GBL/go/177141665/direct/01/> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20091113/c3bf4f5e/attachment.html


More information about the Xerte mailing list