1. Remove deprecated api usage.
2. Fix font AA rendering problem in Navlink.