<html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta content="MSHTML 6.00.6000.17092" name="GENERATOR">
<style id="owaTempEditStyle"></style><style title="owaParaStyle"><!--P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
--></style>
</head>
<body ocsi="x">
<div style="FONT-SIZE: 13px; COLOR: #000000; DIRECTION: ltr; FONT-FAMILY: Tahoma">
<div>A global 'font anti alias' option ought to be doable. How hard it is depends on where it needs to apply: the Text icon, obviously, but elsewhere too. Maybe set&nbsp;TextField.prototype.antAliasType once if a condition (i.e. your option)&nbsp;is met? That would take
 only a few minutes, but&nbsp;not sure it it would work. I'll look tomorrow.&nbsp;</div>
<div>&nbsp;</div>
<div>You are more than capable of taking XMLEngine.fla and trying some stuff yourself: just compile it over your XMLEngine.swf. To go back, just take your old one back again. In XMLEngine.fla are two (count 'em) frames of code. The first contains all the icon
 classes, other useful or startup stuff, the second the XML (.rlo) parser: it dives the xml and initalises the icon classes in frame 1 in its main loop.
</div>
<div>&nbsp;</div>
<div>There is voodoo in places, embedding fonts at runtime&nbsp;being amongst the darkest of the arts. You can always get the most recent XMLEngine.fla from the .svn.</div>
<div dir="ltr"><font face="Tahoma" color="#000000" size="2"></font>&nbsp;</div>
<div id="divRpF208889" style="DIRECTION: ltr">
<hr tabindex="-1">
<font face="Tahoma" color="#000000" size="2"><b>From:</b> xerte-bounces@lists.nottingham.ac.uk [xerte-bounces@lists.nottingham.ac.uk] On Behalf Of Mary Ann Ahearn [maryann@moberg.com]<br>
<b>Sent:</b> 22 November 2010 17:03<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> Re: [Xerte] Text anti-alias question - Xerte 2 desktop<br>
</font><br>
</div>
<div></div>
<div>Just checked with a colleague who used:<span style="FONT-SIZE: 10pt"><br>
<br>
TextField.</span><font face="Arial" size="2">antiAliasType = &quot;advanced&quot; <br>
</font><font face="Arial" size="2"><br>
This made the text more crisp via Action Script in a past project.&nbsp; We had to publish for Flash 8 player for this to work.</font><br>
&nbsp;
<div><font face="Arial" size="2">It would be very cool if something like this could be an optional&nbsp; property of the LO, similar to the embedFonts property, but which could also be overridden for an individual text field just as embedFonts can be.<br>
<br>
We probably could alter the source code but hate to touch it and haven't had to yet.&nbsp;
<br>
<br>
Thanks!<br>
ma<br>
</font></div>
<br>
<br>
<div class="gmail_quote">On Mon, Nov 22, 2010 at 10:59 AM, Julian Tenney <span dir="ltr">
&lt;<a href="mailto:Julian.Tenney@nottingham.ac.uk">Julian.Tenney@nottingham.ac.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div lang="EN-GB">
<div>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125)">So you can set myIcon.txt.antiAliasType but I’m not sure what you need to set it with? That is confusing…</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125)"></span>&nbsp;</p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125)">Probably the property inspector settings are applied at compile time, and at runtime there are less options available?</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125)"></span>&nbsp;</p>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<p class="MsoNormal" style="MARGIN-LEFT: 36pt"><b><span lang="EN-US" style="FONT-SIZE: 10pt">From:</span></b><span lang="EN-US" style="FONT-SIZE: 10pt">
<a href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a>]
<b>On Behalf Of </b>Mary Ann Ahearn<br>
<b>Sent:</b> 22 November 2010 13:50<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> Re: [Xerte] Text anti-alias question - Xerte 2 desktop</span></p>
</div>
<div>
<div></div>
<div class="h5">
<p class="MsoNormal" style="MARGIN-LEFT: 36pt">&nbsp;</p>
<p class="MsoNormal" style="MARGIN-LEFT: 36pt"><span style="FONT-SIZE: 10pt">It's a property of text fields.&nbsp;
<br>
<br>
So I thought I'd consult Flash 8 help to see what it has to say.&nbsp; Now I'm very confused because the property panel seems to offer different options than those available via action script.<br>
<b><br>
>From Flash 8 Professional help file - </b><br>
<br>
public <b>antiAliasType</b>:&nbsp; string&nbsp;&nbsp;&nbsp;&nbsp; The type of anti-aliasing used for this TextField instance.<br>
<br>
(TextField.antiAliasType property)<br>
<br>
Help goes on to say the following:</span></p>
<p style="MARGIN-LEFT: 36pt"><span style="FONT-SIZE: 10pt">The type of anti-aliasing used for this TextField instance. Advanced anti-aliasing is available only in Flash Player 8 and later. You can control this setting only if the font is embedded (with the
</span><code><span style="FONT-SIZE: 10pt">embedFonts</span></code><span style="FONT-SIZE: 10pt"> property set to
</span><code><span style="FONT-SIZE: 10pt">true</span></code><span style="FONT-SIZE: 10pt">). For Flash Player 8, the default setting is
</span><code><span style="FONT-SIZE: 10pt">&quot;advanced&quot;</span></code><span style="FONT-SIZE: 10pt">.
</span><span></span></p>
<p style="MARGIN-LEFT: 36pt"><span style="FONT-SIZE: 10pt">To set values for this property, use the following string values:</span><span></span></p>
<table style="MARGIN-LEFT: 36pt; WIDTH: 468pt" cellspacing="0" cellpadding="0" width="624" border="0">
<tbody>
<tr>
<td style="PADDING-RIGHT: 0cm; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; PADDING-TOP: 0cm">
</td>
<td style="PADDING-RIGHT: 0cm; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; PADDING-TOP: 0cm">
</td>
</tr>
<tr>
<td style="PADDING-RIGHT: 0cm; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; PADDING-TOP: 0cm">
</td>
<td style="PADDING-RIGHT: 0cm; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; PADDING-TOP: 0cm">
<p><code><span style="FONT-SIZE: 10pt">&quot;normal&quot;</span></code></p>
<p>Applies the regular text anti-aliasing. This matches the type of anti-aliasing that Flash Player used in version 7 and earlier.</p>
</td>
</tr>
<tr>
<td style="PADDING-RIGHT: 0cm; PADDING-LEFT: 0cm; BACKGROUND: rgb(248,248,248); PADDING-BOTTOM: 0cm; PADDING-TOP: 0cm">
</td>
<td style="PADDING-RIGHT: 0cm; PADDING-LEFT: 0cm; BACKGROUND: rgb(248,248,248); PADDING-BOTTOM: 0cm; PADDING-TOP: 0cm">
<p>&nbsp;</p>
<p><code><span style="FONT-SIZE: 10pt">&quot;advanced&quot;</span></code></p>
<p>Applies advanced anti-aliasing, which makes text more legible. (This feature is available as of Flash Player 8.) Advanced anti-aliasing allows for high-quality rendering of font faces at small sizes. It is best used with applications that have a lot of small
 text. Advanced anti-aliasing is not recommended for fonts that are larger than 48 points.</p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="MARGIN-LEFT: 36pt"><br>
<br>
Help for the properties panel for text gives the following options:</p>
<p class="MsoNormal" style="MARGIN-LEFT: 72pt"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Symbol"><span>·<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span>In the Property inspector, choose one of the following options from the Anti-Aliasing pop-up menu:
</p>
<p style="MARGIN-LEFT: 72pt"><b>Use Device Fonts </b>specifies that the SWF file use the fonts installed on the local computer to display the fonts. Although this option has the least impact on the size of the SWF file, it also forces you to rely on the fonts
 installed on the user's computer for font display. For example, if you specify the font Times Roman as a device font, the Times Roman font must be installed on the computer playing back the content for the text to display. For this reason, when using device
 fonts, choose only commonly installed font families.</p>
<p style="MARGIN-LEFT: 72pt"><b>Bitmap Text (No Anti-Alias) </b>turns off anti-aliasing and provides no text smoothing. The text is displayed using sharp edges, and the resulting SWF file size is increased because the font outlines are embedded in the SWF.
 Bitmap text is sharp at the exported size, but scales poorly.</p>
<p style="MARGIN-LEFT: 72pt"><b>Anti-Alias for Animation</b> creates a smoother animation. This is possible in part because Flash ignores alignment and kerning information. Specifying Anti-Alias for Animation creates a larger SWF file, because font outlines
 are embedded.</p>
<table style="MARGIN-LEFT: 72pt; WIDTH: 432pt" cellspacing="0" cellpadding="0" width="576" border="0">
<tbody>
<tr>
<td style="PADDING-RIGHT: 0cm; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; WIDTH: 34.05pt; PADDING-TOP: 0cm" width="45">
<p><b>NOTE</b></p>
</td>
<td style="PADDING-RIGHT: 0cm; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; WIDTH: 0.75pt; PADDING-TOP: 0cm" width="1">
</td>
<td style="PADDING-RIGHT: 0cm; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; PADDING-TOP: 0cm">
<p>Fonts rendered using Anti-Alias for Animation are less legible at smaller font sizes. for this reason, it is recommended that you use 10 point or larger type when specifying Anti-Alias for Animation.</p>
</td>
</tr>
</tbody>
</table>
<p style="MARGIN-LEFT: 72pt"><b>Anti-Alias for Readability</b> uses a new anti-aliasing engine that improves the readability of fonts, particularly at small sizes. Specifying Anti-Alias for Readability creates a larger SWF file, because font outlines are embedded.
 In order to use the Anti-Alias for Readability setting you must publish to Flash Player 8.</p>
<table style="MARGIN-LEFT: 72pt; WIDTH: 432pt" cellspacing="0" cellpadding="0" width="576" border="0">
<tbody>
<tr>
<td style="PADDING-RIGHT: 0cm; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; WIDTH: 34.05pt; PADDING-TOP: 0cm" width="45">
<p><b>NOTE</b></p>
</td>
<td style="PADDING-RIGHT: 0cm; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; WIDTH: 0.75pt; PADDING-TOP: 0cm" width="1">
</td>
<td style="PADDING-RIGHT: 0cm; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; PADDING-TOP: 0cm">
<p>Anti-Alias for Readability creates a highly legible typeface even at small sizes. However, it animates poorly, and may cause performance problems. If you intend to animate text, use Anti-Alias for Animation.
</p>
</td>
</tr>
</tbody>
</table>
<p style="MARGIN-LEFT: 72pt"><b>Custom Anti-Alias (Flash Professional only) </b>lets you modify the font's properties as you see fit. The custom anti-aliasing properties are Sharpness and Thickness.</p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 12pt; MARGIN-LEFT: 36pt; MARGIN-RIGHT: 0cm">
&nbsp;</p>
<div>
<p class="MsoNormal" style="MARGIN-LEFT: 36pt">On Mon, Nov 22, 2010 at 5:45 AM, Julian Tenney &lt;<a href="mailto:Julian.Tenney@nottingham.ac.uk">Julian.Tenney@nottingham.ac.uk</a>&gt; wrote:</p>
<div>
<div>
<p class="MsoNormal" style="MARGIN-LEFT: 36pt"><span style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125)">Not sure: how do you do it in Flash?</span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 36pt"><span style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125)"></span>&nbsp;</p>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<p class="MsoNormal" style="MARGIN-LEFT: 72pt"><b><span lang="EN-US" style="FONT-SIZE: 10pt">From:</span></b><span lang="EN-US" style="FONT-SIZE: 10pt">
<a href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a>]
<b>On Behalf Of </b>Mary Ann Ahearn<br>
<b>Sent:</b> 19 November 2010 22:35<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> [Xerte] Text anti-alias question - Xerte 2 desktop</span></p>
</div>
<div>
<div>
<p class="MsoNormal" style="MARGIN-LEFT: 72pt">&nbsp;</p>
<p class="MsoNormal" style="MARGIN-LEFT: 72pt">Is there a way to set Xerte text to Anti-alias for readability?&nbsp;
<br>
<br>
We're using embedded fonts with style sheets for formatting and all is well but it could be a little crisper.&nbsp; Looks like it's the flash default - anti-alias for animation.<br>
<br>
Couldn't find much in the archives.<br>
<br>
Thanks!<br>
ma</p>
</div>
</div>
</div>
<p class="MsoNormal" style="MARGIN-LEFT: 36pt">&nbsp;</p>
<p style="MARGIN-LEFT: 36pt">This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use,
 copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
</p>
<p style="MARGIN-LEFT: 36pt">This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University
 of Nottingham may be monitored as permitted by UK legislation. </p>
</div>
<p class="MsoNormal" style="MARGIN-BOTTOM: 12pt; MARGIN-LEFT: 36pt; MARGIN-RIGHT: 0cm">
<br>
_______________________________________________<br>
Xerte mailing list<br>
<a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br>
<br>
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. &nbsp; Please do not use, copy or disclose the information
 contained in this message or in any attachment. &nbsp;Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.<br>
<br>
This message has been checked for viruses but the contents of an attachment<br>
may still contain software viruses which could damage your computer system:<br>
you are advised to perform your own checks. Email communications with the<br>
University of Nottingham may be monitored as permitted by UK legislation.<br>
<br>
</p>
</div>
<p class="MsoNormal" style="MARGIN-LEFT: 36pt">&nbsp;</p>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Xerte mailing list<br>
<a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br>
<br>
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. &nbsp; Please do not use, copy or disclose the information
 contained in this message or in any attachment. &nbsp;Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.<br>
<br>
This message has been checked for viruses but the contents of an attachment<br>
may still contain software viruses which could damage your computer system:<br>
you are advised to perform your own checks. Email communications with the<br>
University of Nottingham may be monitored as permitted by UK legislation.<br>
<br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</body>
</html>