qickrooms / flex-mojos

Automatically exported from code.google.com/p/flex-mojos
0 stars 0 forks source link

Different anti-aliasing when compiled using FB3 #104

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When I compile one movie which is using embedded Arial font, text in the
application is showed different whether I use Flex Builder compiler or
flex-mojos Maven2 plugin. When Flex-Mojos is used, text is showed using an
anti-alias efect resembling the one used in Flex 2 SDK. When compiled with
FB3 (or mxmlc command), anti-alias effect is the right one for Flex 3 SDK.

Major changes were done in the anti-alias implementation between Flex 2 and
Flex 3 as stated here:
http://www.actionscript.org/forums/showthread.php3?t=163207

I've uploaded a zip with two projects. Try to compile 'sampleStyles'
project using FB3 and flex-mojos (with the last one, rename the binary to
sampleStyles.swf, without version string). Put the binary into bin-debug
directory of sampleApp project and launch "sampleApp.html". 'sampleApp"
will load "sampleStyles.swf" at runtime. You'll observe different results
when using FB3 and flex-mojos to compile the styles SWF.

It has been tested with version 2.0M5 of flex-mojos with MPL and FULL Flex
3 SDK 3.0.0.477 versions.

Original issue reported on code.google.com by joser...@gmail.com on 12 Sep 2008 at 8:21

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,

I checked in some changes at TRUNK, backward compatibility related.  Can you 
give a
shot on TRUNK?

VELO

Original comment by velo...@gmail.com on 29 Sep 2008 at 2:32

GoogleCodeExporter commented 9 years ago
Sure. I'll let you know the outcome.

Original comment by joser...@gmail.com on 2 Oct 2008 at 6:28

GoogleCodeExporter commented 9 years ago
You mean version 2.0M6, right?

Original comment by joser...@gmail.com on 2 Oct 2008 at 6:32

GoogleCodeExporter commented 9 years ago
Yes.

BTW, it is already released, just forget to blog about it :D

VELO

Original comment by velo...@gmail.com on 2 Oct 2008 at 11:34

GoogleCodeExporter commented 9 years ago
Still happening. I have the impression this is a flex-compiler-oem problem. I've
posted an issue in Flex Bug System. I'll keep you informed right here.

Original comment by joser...@gmail.com on 6 Oct 2008 at 6:18

GoogleCodeExporter commented 9 years ago
Can you post the issue number for me?

BTW, are you sure you are using a non opensource FDK?

Run mvn with -X parameter (will output lots of debbuging)

At some point it should print this dependency "flex-fontkit".

VELO

Original comment by velo...@gmail.com on 17 Oct 2008 at 9:47

GoogleCodeExporter commented 9 years ago
Ok, I've found it! Thanks for your time, m8!

My com.adobe.flex.compiler-3.0.0.477 pom didn't have a reference to flex-fontkit
dependency. I've added it manually and now it's working fine.

Could it be that install-mojo does not generates a dependey entry for 
"flex-fontkit"
in compiler pom when installing a Flex full SDK version? Or should it work that 
way
since flex-fontkit.jar is not an MPL library?

Original comment by joser...@gmail.com on 20 Oct 2008 at 7:29

GoogleCodeExporter commented 9 years ago
Install-mojo will install all available .jars on repo.  But flex-fontkit isn't 
MPL.

For font using, you must install a complete FDK.

Original comment by velo...@gmail.com on 20 Oct 2008 at 10:59