[[ Bug 11964 ]] Updated Linux, Mac, Android and iOS text measuring routines to use new API.