Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

file reading/decoding fails #53

Open
jmue opened this issue Apr 8, 2018 · 1 comment · May be fixed by #54
Open

file reading/decoding fails #53

jmue opened this issue Apr 8, 2018 · 1 comment · May be fixed by #54

Comments

@jmue
Copy link

jmue commented Apr 8, 2018

Opening the pdf-file from https://tcpdf.org/examples/example_065/ with Androids build-in PDF-Viewer (com.google.android.apps.pdfviewer) fails not only on preO (no seekable streams) but also on Oreo (API27).

Steps to reproduce:

  1. Copy the pdf-file from https://tcpdf.org/examples/example_065/ to a samba share. Use files app to open the document -> Toast about invalid format
  2. Copy the pdf file to a local folder (like Downloads) -> opening pdf succeeds
@jmue
Copy link
Author

jmue commented Apr 10, 2018

It shows that all seeking has no effect on the native side. The fd offset stays at totoal bytes read count. I'm using NDK ver 16.1.4479499 and samba source version 4.5.16.

@jmue jmue linked a pull request Apr 18, 2018 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant