[poppler] (OT) setting PDF language document

Albert Astals Cid aacid at kde.org
Wed Jan 20 15:00:45 PST 2010


A Dimecres, 20 de gener de 2010, Pablo Rodríguez va escriure:
> Hi there,
> 
> sorry for the off-topic, but I'm experiencing a problem when setting the
> reading language in a PDF document.
> 
> I generate the following document with XeLaTeX:
> 
>   \documentclass{article}
>   \begin{document}
>   \special{pdf:put @catalog << /Lang (es-ES) >>}
>   Spanish should be the reading language in this document.
>   \end{document}
> 
> The issue is that for some strange reason acroread versions <7 recognize
> the reading document language, but versions above =>7 don't recognize it.
> 
> As the PDF 1.7 specification requires, the XeLaTeX document includes the
> <</Lang (es-ES)>> tag to the PDF document catalog.
> 
> Does anyone if something has changed in acroread >=7? Or am I missing
> something here?

And how are we supposed to know how acroread works?

Albert

> 
> Thanks for your help,
> 
> 
> Pablo
> 
> 
> PS: uncompressing the PDF document with Multivalent, the first lines read:
> 
>   %PDF-1.5
>   %„†
>   1 0 obj<< /Type /Catalog /Lang (es-ES) /Pages 8 0 R>>
>   endobj
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler
> 


More information about the poppler mailing list