You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Alessandro Palombaro <al...@gmail.com> on 2013/08/13 10:51:35 UTC

Flex 4.10.0 embed font change

Hey everyone,

I'm having an issue with switching to 4.10.0 from 4.9.1 and was wondering
if anyone else has experienced it when switching SDK.

I have a couple of projects running on 4.9.1 and was trying to update them
to 4.10.0 to take advantage of all the improvements/tweaks and added
components that have been contributed through all your hard work.

Downloading and switching SDK's using Flashbuilder was a breeze, and both
applications compiled without any issues and function perfectly... with one
exeption. Embedded fonts aren't being recognized anymore.

I'm pulling in the fonts using a linked stylesheet

<fx:Style source="css/font.css"/>

In the css I embed the font using

@font-face
{
src: url("fonts/Interstate-LT.ttf");
fontFamily: "Interstate-Light";
}

and apply to the application using

s|Application
{
fontFamily:"Interstate-Light";
fontSize:13pt;
color:#404041;
paragraphSpaceAfter:8;
}

When I run the application I get numerous warnings along the line of

warning: incompatible embedded font 'Interstate-Light' specified for
spark.components::RichText (RichText488) . This component requires that the
embedded font be declared with embedAsCFF=true

I've tried changing

@font-face
{
src: url("fonts/Interstate-LT.ttf");
fontFamily: "Interstate-Light";
embedAsCFF:true;
}

but the result is the same. Switching back to 4.9.1 fixes the issue so my
question is does anyone know what change might have occurred to cause this?

PS Thanks for all the work you guys are doing! I'm really hoping Flex lives
on through Apache and am hoping to be able to contribute asap.

Re: Flex 4.10.0 embed font change

Posted by aYo ~ <ay...@binitie.com>.
Yes please

aYo
www.ayobinitie.com
mrbinitie.blogspot.com

Re: Flex 4.10.0 embed font change

Posted by Alex Harui <ah...@adobe.com>.
Pre-checking the "required" is probably ok.  I'm pretty sure we can't
default into the optional stuff.

Note, though, that BlazeDS has been donated, so the only remaining
optional download (IIRC) is the Embedded Font Libraries.  Does anybody
have the time and motivation to help me re-write these?  The primary thing
we need is a spline converter (take in an array of spline points, generate
a new array with a different spline algorithm).

-Alex

On 8/13/13 7:38 AM, "OmPrakash Muppirala" <bi...@gmail.com> wrote:

>We did have a 'Select All' button.  We could perhaps bring it back and
>pose
>a challenge saying 'Do you agree to all these licenses?' or something like
>that.
>
>Om
>On Aug 13, 2013 5:40 AM, "Justin Mclean" <ju...@classsoftware.com> wrote:
>
>> Hi,
>>
>> May not be possible to pre check them as we have to let the user make a
>> decision/perform an action to accept the license.
>>
>> Does anyone know what other Apache projects do in situations like this?
>>
>> Justin


Re: Flex 4.10.0 embed font change

Posted by OmPrakash Muppirala <bi...@gmail.com>.
We did have a 'Select All' button.  We could perhaps bring it back and pose
a challenge saying 'Do you agree to all these licenses?' or something like
that.

Om
On Aug 13, 2013 5:40 AM, "Justin Mclean" <ju...@classsoftware.com> wrote:

> Hi,
>
> May not be possible to pre check them as we have to let the user make a
> decision/perform an action to accept the license.
>
> Does anyone know what other Apache projects do in situations like this?
>
> Justin

Re: Flex 4.10.0 embed font change

Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,

May not be possible to pre check them as we have to let the user make a decision/perform an action to accept the license.

Does anyone know what other Apache projects do in situations like this?

Justin

Re: Flex 4.10.0 embed font change

Posted by Paul Hastings <pa...@gmail.com>.
On 8/13/2013 6:20 PM, Justin Mclean wrote:
> Could we make make the optional parts opt out rather than opt in or do we run
> into issues around accepting the software licenses there?

well even the parts that are listed as *required* aren't preselected. and i've 
been burned forgetting the remoting bits several times.

so yeah, making them all preselected & letting the user un-select the ones they
don't want sounds like a good idea to me.


Re: Flex 4.10.0 embed font change

Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,

This is come up several time, and while I know not every one reads text) how about change the text to this?
"Adobe libraries and utilities  for embedded font support"

Or as much as I hate them a pop alter that says something like.
"While Font Embedding is an optional feature, it's recommended that you install it. Not installing it mean that fonts may not display correctly in your application."

Could we make make the optional parts opt out rather than opt in or do we run into issues around accepting the software licenses there?

Thanks,
Justin

Re: Flex 4.10.0 embed font change

Posted by Alessandro Palombaro <al...@gmail.com>.
Smack!
Thanks Om, that's all it needed :)
Sorry everyone! My stupid mistake


On Tue, Aug 13, 2013 at 4:55 PM, OmPrakash Muppirala
<bi...@gmail.com>wrote:

> Just checking - did you choose the optional 'Adobe Embedded Font Libraries
> and Utilities' component in the Installer?
>
> Thanks,
> Om
>
> On Tue, Aug 13, 2013 at 1:51 AM, Alessandro Palombaro <
> alexpalombaro@gmail.com> wrote:
>
> > Hey everyone,
> >
> > I'm having an issue with switching to 4.10.0 from 4.9.1 and was wondering
> > if anyone else has experienced it when switching SDK.
> >
> > I have a couple of projects running on 4.9.1 and was trying to update
> them
> > to 4.10.0 to take advantage of all the improvements/tweaks and added
> > components that have been contributed through all your hard work.
> >
> > Downloading and switching SDK's using Flashbuilder was a breeze, and both
> > applications compiled without any issues and function perfectly... with
> one
> > exeption. Embedded fonts aren't being recognized anymore.
> >
> > I'm pulling in the fonts using a linked stylesheet
> >
> > <fx:Style source="css/font.css"/>
> >
> > In the css I embed the font using
> >
> > @font-face
> > {
> > src: url("fonts/Interstate-LT.ttf");
> > fontFamily: "Interstate-Light";
> > }
> >
> > and apply to the application using
> >
> > s|Application
> > {
> > fontFamily:"Interstate-Light";
> > fontSize:13pt;
> > color:#404041;
> > paragraphSpaceAfter:8;
> > }
> >
> > When I run the application I get numerous warnings along the line of
> >
> > warning: incompatible embedded font 'Interstate-Light' specified for
> > spark.components::RichText (RichText488) . This component requires that
> the
> > embedded font be declared with embedAsCFF=true
> >
> > I've tried changing
> >
> > @font-face
> > {
> > src: url("fonts/Interstate-LT.ttf");
> > fontFamily: "Interstate-Light";
> > embedAsCFF:true;
> > }
> >
> > but the result is the same. Switching back to 4.9.1 fixes the issue so my
> > question is does anyone know what change might have occurred to cause
> this?
> >
> > PS Thanks for all the work you guys are doing! I'm really hoping Flex
> lives
> > on through Apache and am hoping to be able to contribute asap.
> >
>

Re: Flex 4.10.0 embed font change

Posted by OmPrakash Muppirala <bi...@gmail.com>.
Just checking - did you choose the optional 'Adobe Embedded Font Libraries
and Utilities' component in the Installer?

Thanks,
Om

On Tue, Aug 13, 2013 at 1:51 AM, Alessandro Palombaro <
alexpalombaro@gmail.com> wrote:

> Hey everyone,
>
> I'm having an issue with switching to 4.10.0 from 4.9.1 and was wondering
> if anyone else has experienced it when switching SDK.
>
> I have a couple of projects running on 4.9.1 and was trying to update them
> to 4.10.0 to take advantage of all the improvements/tweaks and added
> components that have been contributed through all your hard work.
>
> Downloading and switching SDK's using Flashbuilder was a breeze, and both
> applications compiled without any issues and function perfectly... with one
> exeption. Embedded fonts aren't being recognized anymore.
>
> I'm pulling in the fonts using a linked stylesheet
>
> <fx:Style source="css/font.css"/>
>
> In the css I embed the font using
>
> @font-face
> {
> src: url("fonts/Interstate-LT.ttf");
> fontFamily: "Interstate-Light";
> }
>
> and apply to the application using
>
> s|Application
> {
> fontFamily:"Interstate-Light";
> fontSize:13pt;
> color:#404041;
> paragraphSpaceAfter:8;
> }
>
> When I run the application I get numerous warnings along the line of
>
> warning: incompatible embedded font 'Interstate-Light' specified for
> spark.components::RichText (RichText488) . This component requires that the
> embedded font be declared with embedAsCFF=true
>
> I've tried changing
>
> @font-face
> {
> src: url("fonts/Interstate-LT.ttf");
> fontFamily: "Interstate-Light";
> embedAsCFF:true;
> }
>
> but the result is the same. Switching back to 4.9.1 fixes the issue so my
> question is does anyone know what change might have occurred to cause this?
>
> PS Thanks for all the work you guys are doing! I'm really hoping Flex lives
> on through Apache and am hoping to be able to contribute asap.
>