Can you describe, what exactly you had changed in src ??

Thanks,
Mitul Golakiya



On Tue, Feb 25, 2014 at 7:23 PM, Mathieu St-Gelais <
[email protected]> wrote:

> Hi. I hope the following will help you.
>
> When I switched to Flex 4.12, I had to change the src in the font-face
> classes of my style sheets. For a reason I didn't try to understand, the
> relative path had to be changed. Here's an example of what I have in my css
> file. I also use otf files.
>
> As you can see, I always declare a CFF and a non CFF font-face, as
> different Flex components need one or the other.
>
> In my project, fonts are in this folder:
> [...]/assets/fonts/
>
> Style sheets are there:
> [...]/style/
>
> @font-face {
>     src: url("../assets/fonts/Lyon_Text-Regular.otf");
>     fontFamily: lyon;
>     embedAsCFF: false;
>     fontStyle: normal;
>     fontWeight: normal;
>     advanced-anti-aliasing: true;
> }
>
> @font-face {
>     src: url("../assets/fonts/Lyon_Text-Regular.otf");
>     fontFamily: lyonCFF;
>     embedAsCFF: true;
>     fontStyle: normal;
>     fontWeight: normal;
>     advanced-anti-aliasing: true;
> }
>
> Let us know if you can resolve the problem.
>
> Mat
>
>
> On Tue, Feb 25, 2014 at 5:10 AM, Mitul Golakiya <[email protected]
> >wrote:
>
> > Hello All,
> >
> > I had just tried 4.12 RC2 and migrated my whole app from 4.10 to 4.12 RC2
> > and getting font transcoding error which was running completely fine with
> > 4.10.
> >
> > I found one link on which someone else also posted the same with 4.11
> RC2,
> > but he hadn't posted the solution link.
> >
> >
> http://apache-flex-users.2333346.n4.nabble.com/Flex-SDK-4-11-rc2-compile-error-td3319.html
> >
> > I am getting following error:
> >
> > *"exception during transcoding."*
> >
> > I am using *.otf* files for fonts.
> > I don't know exactly, its a bug or something is missing.
> >
> > Can anyone help with this??
> >
> >
> > Thanks,
> > Mitul Golakiya
> >
>

Reply via email to