Revise font cache scheme

Change: store fonts using rounded double as key instead of string.