• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Chinese in PdfDocument

Pogo Lin

Lurker
Hi all,
I need to generate PDF file with Chinese Character. Now I encountered one problem. When I use Canvas.drawText() to draw Chinese Character, the file size of PDF will become larger than English. I found that Android turning Chinese text into Image.
My question is how to generate Chinese text in PDF file not Chinese Image in PDF.
Thanks a lot.

Pogo Lin
 
PDF has text format. If it is text format, you can copy and paste to anther editor. I generate a PDF File in two kinds of text. One is Chinese, the other is English. The English can be copy and paste to anther editor. But Chinese can't . The file size of Chinese is about 3-4 MB and the file size of English is about 70-100KB.
 
Back
Top Bottom