[Xerte] Xerte SA (standalone) anti-aliasing
Dave Burnett
d_b_burnett at hotmail.com
Mon Dec 14 13:18:13 GMT 2009
OK, compiled Arial.ttf's into a resources.swf.
The font in that disp is being set by css:
ss16_text
{
font-family: Arial, Helvetica;
font-size:16px;
color: #000000;
display: inline;
}
If I set embedFonts to 1 on the disp icon, the text disappears.
My resources.swf is failing?
Subject: RE: [Xerte] Xerte SA (standalone) anti-aliasing
Date: Mon, 14 Dec 2009 12:47:26 +0000
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
What’s setStyle()? Not one of mine…
iconID.txt is the textfield, yes. Debug(myIcon.txt); or even
debug(typeof(myIcon.txt));
From:
xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: Monday, December 14, 2009 12:21 PM
To: Xerte list
Subject: RE: [Xerte] Xerte SA (standalone) anti-aliasing
txt is the default textfield label then?
I had tried adding .txt and no change.
Does embedFonts have to be set 1 for the setStyle to function?
Subject:
RE: [Xerte] Xerte SA (standalone) anti-aliasing
Date: Mon, 14 Dec 2009 12:09:26 +0000
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
You can have more than one
tf, but you need to create them yourself (icon.createTextField…)
From:
xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: Monday, December 14, 2009 12:08 PM
To: Xerte list
Subject: RE: [Xerte] Xerte SA (standalone) anti-aliasing
Thought
about that, but then why does this work?
page_prev_text_clip = icon.previousSibling.clip();
page_prev_text_clip.setText('<pgcounter_text><B>Page ' + page + '
It is overriding the text set in the text property of the icon, so I figured it
has to be targeting the textfield, as you can have only 1 TF per icon.
Subject:
RE: [Xerte] Xerte SA (standalone) anti-aliasing
Date: Mon, 14 Dec 2009 11:48:52 +0000
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Remember: you are trying to
talk to the icon not it’s textfield:
Icon.blah.clip() is an icon,
a MovieClip
Icon.blah.clip().txt is the
text field in there,
From:
xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk]
On Behalf Of Dave Burnett
Sent: Monday, December 14, 2009 11:46 AM
To: Xerte list
Subject: RE: [Xerte] Xerte SA (standalone) anti-aliasing
Pi to the last digit.
I tried a few script attempts:
page_prev_text_clip = icon.previousSibling.clip();
//page_prev_text_clip.setText('<pgcounter_text><B>Page ' + page + '
of ' + page_count + '</pgcounter_text>');
//page_prev_text_clip.antiAliasType = "normal";
page_prev_text_clip.setStyle("antiAliasType","normal");
No joy.
A real situation, so a method would be great.
Or I can just do a function and pass it the textfield
Subject:
RE: [Xerte] Xerte SA (standalone) anti-aliasing
Date: Mon, 14 Dec 2009 10:51:49 +0000
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Nothing is undoable!
Either you can set the
properties from Xerte using script, or, more conveniently, you can call some
methods in the engine that we can add. Is this an actual problem you’re trying
to solve, or speculation?
From:
xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: Sunday, December 13, 2009 10:12 PM
To: Xerte list
Subject: RE: [Xerte] Xerte SA (standalone) anti-aliasing
I
had looked at the textfield settings, tried a few things, but no go.
Just wanted to know if I was attempting something undoable in Xerte before I
continued bashing about.
Dave
Subject:
RE: [Xerte] Xerte SA (standalone) anti-aliasing
Date: Sun, 13 Dec 2009 21:47:56 +0000
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
I looked into it. There is quite
a lot of detail, but in the end I think I decided the default settings were in
fact pretty optimal for dynamic text - which we are mostly concerend with. If
you embed fonts, those options might become more meaningful, but, again, you
are fine tuning a pretty good default, if I recall correctly.
Read up in the Flash help for the textField.
From:
xerte-bounces at lists.nottingham.ac.uk on behalf of Dave Burnett
Sent: Sun 13/12/2009 16:36
To: Xerte list
Subject: [Xerte] Xerte SA (standalone) anti-aliasing
Archives
do not seem to contain the term.
Am I correct in thinking it requires font embedding, and is therefore a bit
frowned upon due to accessiblity issues?
Cheers,
Dave
Hotmail: Trusted email with Microsoft’s
powerful SPAM protection. Sign up now.
Your E-mail and More On-the-Go. Get Windows
Live Hotmail Free. Sign
up now.
Hotmail: Trusted email with Microsoft’s
powerful SPAM protection. Sign up now.
Hotmail: Powerful Free email with security
by Microsoft. Get it
now.
Hotmail: Powerful Free email with security
by Microsoft. Get it now.
_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/171222986/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20091214/d98de85d/attachment.html
More information about the Xerte
mailing list