[luatex] pdf_dest node explained

Patrick Gundlach patrick at gundla.ch
Thu Jun 30 10:48:18 CEST 2011


Hi,

I am playing with links in PDF now. Can someone help me explaining the fields of the dest node?

I guess that dest_type is the contents of the struct pdf_destination_types in pdfdest.h source:

    pdf_dest_xyz = 0,
    pdf_dest_fit = 1,
    pdf_dest_fith = 2,
    pdf_dest_fitv = 3,
    pdf_dest_fitb = 4,
    pdf_dest_fitbh = 5,
    pdf_dest_fitbv = 6,
    pdf_dest_fitr = 7

correct?

"xyz zoom" is the amount of zoom when dest_type == 0
"named_id" is 0 if dest is a number, 1 if it is a string (named dest)
"dest_id" is either the number or the string


width/height/depth: what is this?
what is the objnum?


Thanks

Patrick




More information about the luatex mailing list