Hi all
We have a customer with an odd issue and I wanted to check if anyone had found
something similar already…
The odd part about this is that it works fine with Java 1.8.0 build 201 but
fails with Java 1.8.0 build 291, both of them 64-bit.
The error is just when compiling an MXML file using Flex:
Loading configuration file C:\FlexSDK\frameworks\flex-config.xml
Error: null
We have managed to narrow it down to the use of CFF:
@font-face {
src: url("Roboto-Regular.ttf");
fontFamily: Roboto;
embedAsCFF: true;
}
Change the “true” to “false” and it compiles fine…
In terms of version:
>amxmlc.bat -version
Version 4.6.0 build 23201
Although they’ve also tried with 4.16.1, adding in the old jar files using “ant
thirdparty-downloads” which apparently still works.
My thinking was that there’s an odd dependency upon the Adobe font embedding
library, but I have never come across it working with one version of Java 1.8
and failing with another version of 1.8…. (and of course anything later also
fails so they can’t just update to Java 11 or 17..)
Does anyone have any hints or seen this sort of thing before?
Many thanks
Andrew