문제

I am trying to change from using one set of fonts to another using JFSL. The problem I am having is that I can't get or set the style of font (shown in the image below)

http://i39.tinypic.com/20pbnsg.png

For family: ITC Kabel Std style: Bold

textField.getTextAttr("face"), I get ITC Kabel Std Medium.

Is there anyway to do this with JFSL? If not, what alternatives do I have?

도움이 되었습니까?

해결책

in flash, "bold" is most often a separate attribute form "face".

textField.setTextAttr("face","ITC Kabel Std")
textField.setTextAttr("bold",true) 

it can be bold in flash but still the original font when evaluated.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top