flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mitul Golakiya <mtl.golak...@gmail.com>
Subject Re: Getting font transcoding error with 4.12 RC2
Date Tue, 04 Mar 2014 12:58:49 GMT
Issue fixed.

There were some third party libraries (embedded font files) (.jar) files
were missing. like flex-fontkit.jar...
I was using direct binary distribution of RC release, which is not
including it as default...

Thanks to everyone for help...

Thanks,
Mitul Golakiya



On Tue, Mar 4, 2014 at 5:13 PM, Mitul Golakiya <mtl.golakiya@gmail.com>wrote:

> We don't have space in our font path.
>
> And still we are getting same error with latest release RC4...
> I am attaching zip file of my testing app with RC4 with Intellij 13...
>
> I tried two font files, .otf is giving error and .ttf is compiled
> successfully. But it (.ttf file) gives warning of embedded as CFF true even
> I had declared fonts as CFF true.
>
> The same code (with .otf font file) is compiled fine with 4.10 and giving
> error with 4.12.
>
> Can anyone identify what's wrong ??
>
> Thanks,
> Mitul Golakiya
>
>
>
> On Wed, Feb 26, 2014 at 6:48 PM, Mathieu St-Gelais <
> mathieu.stgelais@gmail.com> wrote:
>
>> Mmmm... I just went back in the Git history, and it seems the only thing I
>> did was remove spaces in some file names. I had URLs that looked like
>> this:
>>
>> src: url("../assets/fonts/Lyon Text-Regular.otf");
>>
>> But that might not be your problem at all. Just so you know, my
>> stylesheets
>> are loaded directly in the main application MXML file, at the project's
>> root. Here's an example:
>>
>> <fx:Style source="style/fonts.css" />
>>
>> Let me know if I can be of any more help.
>>
>> Matt
>>
>>
>> On Wed, Feb 26, 2014 at 12:00 AM, Mitul Golakiya <mtl.golakiya@gmail.com
>> >wrote:
>>
>> > 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 <
>> > mathieu.stgelais@gmail.com> 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 <
>> mtl.golakiya@gmail.com
>> > > >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
>> > > >
>> > >
>> >
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message