font size in real player + other smil clients

Hi all

Before I begin thanks to Lloyd and Pablo for their replies to my previous
posting.  Both were really helpful in ways that went beyond the matter of my
query.

Another question.  I am attempting to show text in real player using the
<param> method, but am finding that I have to multiply the font size by 1.66
to make it appear in real player at the size I expect it to be in that
client.  For instance

<text src="data:,fifteen" left="198px" top="205px" width="67px"
height="21px" region="main" fill="freeze">
<param name="charset" value="iso-8859-1"/>
<param name="fontFace" value="Trebuchet MS"/>
<param name="fontColor" value="#FF8000"/>
<param name="backgroundColor" value="#FFFF00"/>
<param name="hAlign" value="center"/>
<param name="fontPtSize" value="25"/>
</text>
<text src="data:,twenty%20four" left="303px" top="208px" width="203px"
height="34px" region="main" fill="freeze">
<param name="charset" value="iso-8859-1"/>
<param name="fontFace" value="Trebuchet MS"/>
<param name="fontColor" value="#FF8000"/>
<param name="backgroundColor" value="#FFFF00"/>
<param name="hAlign" value="center"/>
<param name="fontPtSize" value="40"/>
</text>
<text src="data:,forty%20eight" left="231px" top="375px" width="493px"
height="83px" region="main" fill="freeze">
<param name="charset" value="iso-8859-1"/>
<param name="fontFace" value="Trebuchet MS"/>
<param name="fontColor" value="#FF8000"/>
<param name="backgroundColor" value="#FFFF00"/>
<param name="hAlign" value="center"/>
<param name="fontPtSize" value="80"/>
</text>

I know a bit about the theory of this.  A point (for a font) is 1/72 of an
inch.  Therefore 36pt size is half an inch.  Typically on a 1024x768 screen
you will need to multiply a point size of a font by 1.33 to get the pixel
size.  Therefore on internet explorer at this resolution, the style 
	font-size:36pt 
is the same as 
	font-size:48px

By why on Real Player should you need to multiply it by 1.66?

In the real production guide, if you go to:

Samples/cliptags/inlinefont.smil you can see how Real handles font
specification.

Do the fonts in this sample show up at the size you expect them to, anyone?

Finally I notice that the <param> tag is not really implemented in
AmbulantG.  Are there any other methods of controlling text size within that
client?

Steve

Received on Tuesday, 2 March 2004 06:12:03 UTC