GoodBoyDigital/pixi.js — pull request #658 by videlais (2014-03-16 09:23:22+00:00)
Title: Text support for CocoonJS

Adds determineFontHeightInPixels for calculating the exact height of 'gM' in a given size and font.

Calls the function if it detects CocoonJS. The normal determineFontHeight will fail since CocoonJS' accelerated mode doesn't have CSS support to calculate the correct element.offsetHeight value.