You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by chris_d_k <ck...@christiankiefer.de> on 2016/06/16 22:28:42 UTC

Flex Mobile // Air // RichText-Component // Embedded Font not used

Hi, 

we have an app with embedded fonts and we use a RichText-Component. 

In RichText-Components the embedded font is not used. What am I doing wrong? 

Here the css: 

@font-face { 
    src: url("../assets/fonts/corbel.ttf"); 
    fontFamily: "StandardFontAsCFF"; 
    fontWeight: normal; 
    embedAsCFF: true; 
    advancedAntiAliasing: false; 
} 

s|RichText { 
    fontFamily: StandardFontAsCFF; 
    fontLookup: embeddedCFF; 
} 

Kind regards 

Christian



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flex-Mobile-Air-RichText-Component-Embedded-Font-not-used-tp12847.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: Flex Mobile // Air // RichText-Component // Embedded Font not used

Posted by fl...@hercom.net.
hi
changes in css

embedAsCFF: false;

a greeting



El 2016-06-16 19:55, Alex Harui escribió:
> How Rich is the Text?  Might it specify a different font?
> 
> On 6/16/16, 3:28 PM, "chris_d_k" <ck...@christiankiefer.de> wrote:
> 
>> Hi,
>> 
>> we have an app with embedded fonts and we use a RichText-Component.
>> 
>> In RichText-Components the embedded font is not used. What am I doing
>> wrong?
>> 
>> Here the css:
>> 
>> @font-face {
>>    src: url("../assets/fonts/corbel.ttf");
>>    fontFamily: "StandardFontAsCFF";
>>    fontWeight: normal;
>>    embedAsCFF: true;
>>    advancedAntiAliasing: false;
>> }
>> 
>> s|RichText {
>>    fontFamily: StandardFontAsCFF;
>>    fontLookup: embeddedCFF;
>> }
>> 
>> Kind regards
>> 
>> Christian
>> 
>> 
>> 
>> --
>> View this message in context:
>> http://apache-flex-users.2333346.n4.nabble.com/Flex-Mobile-Air-RichText-Co
>> mponent-Embedded-Font-not-used-tp12847.html
>> Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: Flex Mobile // Air // RichText-Component // Embedded Font not used

Posted by Alex Harui <ah...@adobe.com>.
How Rich is the Text?  Might it specify a different font?

On 6/16/16, 3:28 PM, "chris_d_k" <ck...@christiankiefer.de> wrote:

>Hi, 
>
>we have an app with embedded fonts and we use a RichText-Component.
>
>In RichText-Components the embedded font is not used. What am I doing
>wrong? 
>
>Here the css: 
>
>@font-face { 
>    src: url("../assets/fonts/corbel.ttf");
>    fontFamily: "StandardFontAsCFF";
>    fontWeight: normal;
>    embedAsCFF: true;
>    advancedAntiAliasing: false;
>} 
>
>s|RichText { 
>    fontFamily: StandardFontAsCFF;
>    fontLookup: embeddedCFF;
>} 
>
>Kind regards 
>
>Christian
>
>
>
>--
>View this message in context:
>http://apache-flex-users.2333346.n4.nabble.com/Flex-Mobile-Air-RichText-Co
>mponent-Embedded-Font-not-used-tp12847.html
>Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Flex Mobile // Air // RichText-Component // Embedded Font not used

Posted by jude <fl...@gmail.com>.
Does the text flow specify another font to use? Make sure the text flow
specifies, "StandardFontAsCFF"
On Jun 16, 2016 6:08 PM, "chris_d_k" <ck...@christiankiefer.de> wrote:

> Hi,
>
> we have an app with embedded fonts and we use a RichText-Component.
>
> In RichText-Components the embedded font is not used. What am I doing
> wrong?
>
> Here the css:
>
> @font-face {
>     src: url("../assets/fonts/corbel.ttf");
>     fontFamily: "StandardFontAsCFF";
>     fontWeight: normal;
>     embedAsCFF: true;
>     advancedAntiAliasing: false;
> }
>
> s|RichText {
>     fontFamily: StandardFontAsCFF;
>     fontLookup: embeddedCFF;
> }
>
> Kind regards
>
> Christian
>
>
>
> --
> View this message in context:
> http://apache-flex-users.2333346.n4.nabble.com/Flex-Mobile-Air-RichText-Component-Embedded-Font-not-used-tp12847.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>