Highlighted

Embedded font in TextInput mobile

Community Beginner ,
Feb 20, 2017

Copy link to clipboard

Copied

Hi , I am trying to make it work a TextInput mobile with embeded font. For regrets the embedded font don'w shown.

I found this in the documentation of FLex , but it doesn;t help. I have implemented both format of the font with CFF and without .

"There are just a few things you need to know about fonts in mobile:

  • All mobile skins, LabelItemRenderer and IconItemRenderer use StyleableTextField (based on TextField) instead of the Flash Text Engine (FTE)
  • The Spark Label component uses FTE
  • StyleableTextField only supports embedded fonts with embedAsCFF=false
  • You have to embed fonts twice, once with embedAsCFF=false and again as embedAsCFF=true, to use fonts in both types of text components
  • Avoid using embedded fonts with editable text (TextInput and TextArea)"

If someone knows how to fix this, will be a real benefit

Flex  but I have found a solution. using two fonts with CFF option and without , thank you

TOPICS
Development

Views

229

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Embedded font in TextInput mobile

Community Beginner ,
Feb 20, 2017

Copy link to clipboard

Copied

Hi , I am trying to make it work a TextInput mobile with embeded font. For regrets the embedded font don'w shown.

I found this in the documentation of FLex , but it doesn;t help. I have implemented both format of the font with CFF and without .

"There are just a few things you need to know about fonts in mobile:

  • All mobile skins, LabelItemRenderer and IconItemRenderer use StyleableTextField (based on TextField) instead of the Flash Text Engine (FTE)
  • The Spark Label component uses FTE
  • StyleableTextField only supports embedded fonts with embedAsCFF=false
  • You have to embed fonts twice, once with embedAsCFF=false and again as embedAsCFF=true, to use fonts in both types of text components
  • Avoid using embedded fonts with editable text (TextInput and TextArea)"

If someone knows how to fix this, will be a real benefit

Flex  but I have found a solution. using two fonts with CFF option and without , thank you

TOPICS
Development

Views

230

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Feb 20, 2017 0
Advocate ,
Feb 21, 2017

Copy link to clipboard

Copied

Are you using Flex components or just pure AS3? With the latter I might be able to help, that's what we use.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 21, 2017 0
Community Beginner ,
Feb 23, 2017

Copy link to clipboard

Copied

Flex  but I have found a solution. using two fonts with CFF option and without , thank you

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 23, 2017 0