Closed GoogleCodeExporter closed 9 years ago
Alex, it seems to me that your textfield doesn't have the fonts properly
embedded and
it's using the system fonts instead. When that happens, _alpha change is not
possible
- so the text would either have 100% of opacity, or 0%.
Incidentally, when that happens, adding an empty filter (like a blur of 0) does
force
the textfield to be prerendered prior to drawing, so an _alpha works.
So I'd like to know the circumstances behind font embedding for that specific
textfield you're using. If my theory is correct, then there isn't much that
should be
changed - afterall, it's the way it's supposed to work, and I wouldn't like to
try to
circumvent limitations of the rendering algorithms with solutions that could
create
problems elsewhere (like adding an empty filter). It'd be best for the
developer to
use the trick when needed and just let Tweener do what it said it'd do, change
the
_alpha.
Thanks,
Zeh
Original comment by zisfor...@gmail.com
on 13 Aug 2007 at 5:53
yes, you're right the font used in the textfield is not embeded.
If it was I guess the _alpha tween would work in any case.
On the other hand embeding fonts uses quiet a lot of space this is why I'm not
embeding them.
Anyway my little trick is working and that is the most important ;-)
Cheers.
Original comment by anonymou...@yahoo.fr
on 13 Aug 2007 at 6:01
Yeah, there are reasons to use non-embed fonts, but just keep in mind it's a
different rendering path so you'll have problems with _alpha and masking.
Thankfully the "empty filter" trick should solve them both though.
Original comment by zisfor...@gmail.com
on 14 Aug 2007 at 2:23
Original issue reported on code.google.com by
anonymou...@yahoo.fr
on 13 Aug 2007 at 3:43