Note that named_dest is the string representation of the named
destination. This is the right form to pass to poppler functions,
e.g. poppler_document_find_dest(), but to get the destination as
it appears in the PDF itself, you need to convert it to a bytestring
with poppler_named_dest_to_bytestring() first.
Also note that named_dest does not have a defined encoding and
is not in a form suitable to be displayed to the user.
Data structure for holding a destination
Note that
named_destis the string representation of the named destination. This is the right form to pass to poppler functions, e.g.poppler_document_find_dest(), but to get the destination as it appears in the PDF itself, you need to convert it to a bytestring withpoppler_named_dest_to_bytestring()first. Also note thatnamed_destdoes not have a defined encoding and is not in a form suitable to be displayed to the user.Since 24.10 this type supports g_autoptr