for fonts use

font-family: ariel;

@font-face { font-family: ariel; src: url('http://font.com/font.ttf'); }

You cant get the string length(number of characters in a string without using javascript.

var textChar = document.getElementById('myDiv').innerHTML.length;

not sure on the other part though.