[Xerte] Embedded fonts and super/sub script

Dave Burnett d_b_burnett at hotmail.com
Thu Dec 17 15:55:43 GMT 2009


>and they just ask again, talking more slowly in
case you’ve misunderstood…
..and sometimes superscript the exclamation mark. 



 





From:
xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett

Sent: Thursday, December 17, 2009 3:49 PM

To: Xerte list

Subject: RE: [Xerte] Embedded fonts and super/sub script





 



I'll try it out.

I had run across the GG solution in my search, but after reading
http://en.wikipedia.org/wiki/Frutiger I wondered if Frutiger Next might support
ss/sp natively.

But fonts and how they are constructed is a mystery to me, so I'm probably
mis-undertanding the concepts.

And I guess if Flash doesn't support the ss/sp concept, then it's academic
anyway.











Subject:
RE: [Xerte] Embedded fonts and super/sub script

Date: Thu, 17 Dec 2009 15:25:12 +0000

From: Julian.Tenney at nottingham.ac.uk

To: xerte at lists.nottingham.ac.uk



I don’t think those
characters are in the font – I think it’s the browser’s rendering that handles
the <sub> / <sup> using the normal characters.

 

There are some free fonts out
there for sub / sup:

 

http://blog.ggshow.com/index.php/reference/2007/04/19/how_to_use_subscript_aamp_superscript_in

Embed those with frutiger in
the resources.swf. Then you can (conveniently) do

 

Here is a test<font
face="GGSUPERS">here is another</font>and here is <font
face="GGSUBSCR"> more</font>. You might want to do some
preparsing and replace <sub> in you code with the gribbly <font
face=”GGSUPERS”> etc.

 

Why the flash player cannot
handle this natively is a real pain.

 

Make sure the ttf files have
a lowercase .ttf – the fonts are GGSUPERS.TTF when you download ‘em and Xerte
is obviously looking for .ttf in amongst the files for the resources.swf.

 

J

 

 

 





From:
xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett

Sent: Thursday, December 17, 2009 3:05 PM

To: Xerte list

Subject: [Xerte] Embedded fonts and super/sub script





 



With a hand from JT, I've managed to get embedded fonts (in this case Frutiger
Linotype) and css with custom tags working together. I'll post the details for
the archives once I get this last bit addressed.



Now, if I open Frontpage and use Frutiger as the font, I can
subscript/superscript, so I assume the Frutiger Linotype has the ss/sp fonts in
there.



I have embedded that font in resource.swf, and it appears as expected.



But I am not sure how to proceed as far as defining a character within Xerte
such that it uses the ss/sp.

Flash (and hence Xerte) does not support the <sup>, <sub> tags, so
how do we invoke them?



Cheers,



Dave 











Hotmail: Trusted email with powerful SPAM
protection. Sign up
now.



 







Hotmail: Trusted email with Microsoft’s
powerful SPAM protection. Sign up
now.

 		 	   		  
_________________________________________________________________
Hotmail: Free, trusted and rich email service.
http://clk.atdmt.com/GBL/go/171222984/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20091217/e34a413e/attachment.html


More information about the Xerte mailing list