Skip to main content
Participant
February 20, 2017
Answered

Embedded font in TextInput mobile

  • February 20, 2017
  • 1 reply
  • 405 views

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

This topic has been closed for replies.
Correct answer dimitarm14994181

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

1 reply

natural_criticB837
Legend
February 21, 2017

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

dimitarm14994181AuthorCorrect answer
Participant
February 23, 2017

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