I am using Zend PDF, trying to print Russian words. My code is
$unicodeString = "это фигня";
$page->drawText($unicodeString, 72, 720, 'UTF-8');
but the result is ѕто фигнѕ
So, it is printing something weird. I read that the issue might have to do with fonts and Unicode, so I am planning to fix it by doing this:
$font = Zend_Pdf_Font::fontWithPath('/Library/Fonts/Times New Roman Bold.ttf');
How can i find the path to this font in on an IBM i / AS/400 machine?
One more very basic question. The font will be coming from the server. What I understand is that the fonts should be on the server, Zend PDF is just finding the font by name. The font is not part of the Zend framework . Is my understanding correct?
I am just curious how a Chinese or in general a non-English language speaker will access a website like Google, Yahoo, or StackOverflow. What i am trying to ask is, if the person doesn't know English and the keyboard is not in English how they will type the url? Or am I completely wrong?
Is the url in English only?
google.com 谷歌随着
Is the above is possible or not?