Typeface layout adaptation