Skip to main content
Harbs.
Legend
September 14, 2011
Answered

TLFTypographicCase.LOWERCASE_TO_SMALL_CAPS

  • September 14, 2011
  • 1 reply
  • 2216 views

I have a web app which uses TLF to render text. I'm having an issue with TLFTypographicCase.LOWERCASE_TO_SMALL_CAPS.

Simply put: It does not seem to work correctly. I'm getting that exact same results using TLFTypographicCase.LOWERCASE_TO_SMALL_CAPS as I get using TLFTypographicCase.UPPERCASE.

It seems to me that the lowercase is being converted to uppercase, but not to small caps. I have a similar problem with TLFTypographicCase.CAPS_TO_SMALL_CAPS. The result is exactly the same as TLFTypographicCase.DEFAULT.

The font I tested with was Poplar Std. I'm using Flex 4.5.0.

It looks to me that the Adobe help page has the same problem: http://help.adobe.com/en_US/flex/using/WS02f7d8d4857b1677-165a04e1126951a2d98-7ff0.html

Notice that the "T" and the "H" are the same size. The text is being rendered as all caps instead of small caps.

This topic has been closed for replies.
Correct answer BChalupka

The font family has to include the small caps characters. If you use a font like Adobe Garamond Pro it should work. It would be nice if a future version of TLF would support faking the small caps characters, but I don't know if there are any plans to integrate this.

1 reply

BChalupkaCorrect answer
Inspiring
September 15, 2011

The font family has to include the small caps characters. If you use a font like Adobe Garamond Pro it should work. It would be nice if a future version of TLF would support faking the small caps characters, but I don't know if there are any plans to integrate this.

Harbs.
Harbs.Author
Legend
September 15, 2011

Thank you. When using a font with built-in OpenType small caps it does indeed work.

This is a TREMENDOUS limitation (which basically renders the feature worthless for my purposes), and the docs are very misleading about this.

Any word on whether beefing up the small caps support is in the pipeline?

Thanks,

Harbs

Inspiring
September 16, 2011

My advice would be to not set the thread to solved.

If you are interested, I posted another issue with the small caps a while ago and a employee answered to it (it may give you a deeper insight on how the feature works at the moment): http://forums.adobe.com/thread/537037