I just looked at the default mobile theme. It sets the fontWeight of Button to "bold" so you probably have to either embed a bold font or set the fontWeight back to "normal".
-ALex On 10/1/14 8:14 AM, "Maxim Solodovnik" <[email protected]> wrote: >Maybe someone have working example? > >On 1 October 2014 01:20, Maxim Solodovnik <[email protected]> wrote: > >> just double checked with this example: >> >>http://help.adobe.com/en_US/flex/mobileapps/WS19f279b149e7481c6a9f451212b >>87fe7e87-8000.html >> (slightly modified) >> >> <s:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library:// >> ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" >> contentCreationComplete="contentCreated();" title="{data.name}" >> preinitialize="preinit(event);" > >> <fx:Style> >> @namespace s "library://ns.adobe.com/flex/spark"; >> @font-face { >> font-family: myArial; >> embedAsCFF: false; >> src: url("../../../../assets/arial.ttf"); >> } >> .customStyle { >> fontFamily: myArial; >> fontSize: 14; >> skinClass: ClassReference("spark.skins.mobile.ButtonSkin"); >> } >> </fx:Style> >> >> <s:Button id="chat" styleName="customStyle" label="Chat" rotation="90" >> width="120"/> >> >> </s:View> >> >> >> no luck :( >> >> >> On 1 October 2014 01:17, Maxim Solodovnik <[email protected]> wrote: >> >>> not sure :( >>> folder only contain *.jar files >>> >>> >>> On 1 October 2014 01:12, Alex Harui <[email protected]> wrote: >>> >>>> I keep forgetting to ask folks: Have you installed the font embedding >>>> libraries in your SDK? Do you have files in the SDK's >>>> lib/external/optional folder? >>>> >>>> On 9/30/14 11:09 AM, "Maxim Solodovnik" <[email protected]> wrote: >>>> >>>> >Tried this one: >>>> > >>>> >>>>http://help.adobe.com/en_US/flex/mobileapps/WS19f279b149e7481c6a9f45121 >>>>2b8 >>>> >7fe7e87-8000.html >>>> >Font was arial.ttf from windows fonts >>>> > >>>> >And some others tutorials (don't remember exactly) >>>> > >>>> >Will double check >>>> > >>>> >On 1 October 2014 01:05, OmPrakash Muppirala <[email protected]> >>>> wrote: >>>> > >>>> >> Yes, if you rotate text, usually the font disappears. How exactly >>>>are >>>> >>you >>>> >> embedding the font? >>>> >> >>>> >> Thanks, >>>> >> Om >>>> >> >>>> >> On Tue, Sep 30, 2014 at 11:02 AM, Maxim Solodovnik >>>> >><[email protected]> >>>> >> wrote: >>>> >> >>>> >> > Hello All, >>>> >> > >>>> >> > I'm trying to create rotated button as follows: >>>> >> > <s:Button id="chat" label="Chat" rotation="90" width="120"/> >>>> >> > >>>> >> > But see no text (both emulator and Android phone) >>>> >> > >>>> >> > button is created on View of Mobile project >>>> >> > flex latest >>>> >> > I tried to embed font, but with no luck >>>> >> > >>>> >> > Maybe anyone can help me to figure out what is wrong? >>>> >> > Thanks in advance >>>> >> > >>>> >> > -- >>>> >> > WBR >>>> >> > Maxim aka solomax >>>> >> > >>>> >> >>>> > >>>> > >>>> > >>>> >-- >>>> >WBR >>>> >Maxim aka solomax >>>> >>>> >>> >>> >>> -- >>> WBR >>> Maxim aka solomax >>> >> >> >> >> -- >> WBR >> Maxim aka solomax >> > > > >-- >WBR >Maxim aka solomax
