scientist2009 / pdfium

Automatically exported from code.google.com/p/pdfium
0 stars 0 forks source link

FPDF_GetMetaText should not skip 2 bytes behind U+001B for "Title". #191

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The title of property of attached file is "Super Visual Formade".
But it becomes the "uper Visual Formade" when I use "FPDF_GetMetaText" to get 
"Title".
The attached file title include the "language code".
"language code" is sandwiched in between "U+001B".
2 bytes behind rear "U+001B" are skipped.

・What steps will reproduce the problem?
Call the FPDF_GetMetaText to get the "Title".

・What is the expected output?
"Super Visual Formade.pdf" 

・What do you see instead?
"uper Visual Formade.pdf" 

What version of the product are you using? On what operating system?
・chromium/2471 master
・Windows7(x64), iOS, Android

Original issue reported on code.google.com by kowa0...@gmail.com on 5 Aug 2015 at 1:30

Attachments: