fix: using async code to wait font rendering on chrome.
refactor: extracting some specs.