What I want
Given a String s and a coordinate x1, want to print to pdf considering x1 at the center. I need starting x-coordinate
problem
I can easily calculate start coordinate(x) with x1-s.length()/2 to a position it at the center but it fails for Hindi(Language)
How to count the actual no of characters ignoring the Unicode characters but the letters. I basically want to print the string at the center, String is variable