summaryrefslogtreecommitdiff
path: root/source/xps
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2015-02-26 10:19:16 +0000
committerRobin Watts <robin.watts@artifex.com>2015-02-26 10:19:16 +0000
commitf8809680945937d49f70be417e2f8ffda8a57558 (patch)
treebadd75fe8e180c288207369f53e011951c6a0250 /source/xps
parentc47220017efa6daccd6e12ebb93b0d82b892dad3 (diff)
downloadmupdf-f8809680945937d49f70be417e2f8ffda8a57558.tar.xz
tweak pdf_parse_file_spec
pdf_parse_file_spec sometimes extracts the wrong path from a FileSpec: E.g. the /DOS path should never be returned under Unix systems, neither should be the old /Mac paths. For consistency, this patch also converts filesystem paths under Windows into a format applications will expect (e.g. from "/C/path/..." to "C:\path\..."). Finally, pdf_parse_file_spec is exposed to callers (SumatraPDF requires that for manually processing FZ_ANNOT_FILEATTACHMENT and embedded files).
Diffstat (limited to 'source/xps')
0 files changed, 0 insertions, 0 deletions