Skip to main content
April 22, 2013
Question

Anti-aliased HTML text in Webkit browser?

  • April 22, 2013
  • 1 reply
  • 1250 views

Hi all,

I'm working with the webkit browser in an AIR project and running into a big hurdle. The fonts displayed in my webkit HTML are blocky and jaggy due to AIR not supporting -webkit-font-smoothing or text-rendering, and this is making my really great AIR app look a bit shoddy.

I was just wondering if anyone out there might have some sort of solution (or hack) that would resolve this issue and improve the appearance of the HTML text. Is there anything I can do?

Thanks for any advice,


Steven.

This topic has been closed for replies.

1 reply

chris.campbell
Legend
April 22, 2013

Hi Steven,

You didn't mention the platform but could your app use StageWebView instead of the HTML control?  If so, the latest versions of AIR leverage the built in OS webkit/rendering engine instead of the outdated version shipped in AIR.

Thanks,

Chris

Inspiring
May 1, 2013

Hi Chris,

Could you clarify your comment? Do you mean the latest versions of the AIR runtime are more up to date that the AIR SDK?

chris.campbell
Legend
May 1, 2013

Sorry for the confusion.  The latest runtimes are the same as the SDK's.  The issue is that the version of webkit (shipped with both the runtime and the sdk) is not as up to date as the version that is shipped with your OS.  The HTML control depends on the webkit library included with AIR, the StageWebView leverages the OS version of WebKit.

Hope this makes sense.