Skip to main content
JF Software
Inspiring
August 24, 2009
Question

Are fractional font sizes permitted using TLF?

  • August 24, 2009
  • 1 reply
  • 557 views

Can the font size of a character format be fractional, e.g. 6.5 or must it be an integer. In the manual, the data type is 'object' and the valid range is '1-720', which suggests it must be an integer but isn't unambiguous.

Many thanks in advance for any replies.

JcFx

http://www.jcfx.eu

This topic has been closed for replies.

1 reply

Adobe Employee
August 24, 2009

Yes fractional values are supported.

The type is actually not Object - its * (AS3 untyped).  That's because the value can be a Number, the string "inherit" or the AS3 keyword undefined.

I agree that it should say a Number in the range of 1 to 720 and I filed a bug.

(originally it was Object so that may be why you are seeing that.  it changed to untyped earlier this year).

Thanks for the feedback,

Richard