mspnr

Results 10 comments of mspnr

Here is an idea: 1. Based on `vTranslate` and `scale` we know in general where the PDF as a scroll is positioned. 2. If we would know total number of...

It is not a problem to technically draw any text any size any color in `decodeRegion`. One can use `canvas.drawText` for that. The problem is this solution is not elegant....

Border size can be moved to a field and be zero by default. Also checking border size against 0 can be a condition to draw the border. See [commit](/Dmitry-Borodin/pdfview-android/commit/3f57f4a8f162a3a64d2074316641a047c1de48a6) for...

Here you are. This error is coming out after performing all operations described above and doing gradle sync: ``` org.gradle.internal.exceptions.LocationAwareException: Build file '.../android-stepper/stepper/build.gradle.kts' line: 9 Script compilation error: Line 9:...

What do you mean by adding `Dependencies.kt` to my project? Do you mean simply copy `android-stepper/buildSrc/src/main/java/Dependencies.kt` to `MyApplication/app/src/main/java/com/example/myapplication/Dependencies.kt`? Or there is another way to do it, e.g. as a reference?...

Nope, I don't have `buildSrc` in my project. I created my project by selecting in Android Studio: New project / Phone or tablet / Empty activity. All other settings are...

Here is an another example of the 256-bit AES encrypted file: https://pratiyogitaabhiyan.in/wp-content/uploads/2020/09/Indian-National-Movement-Phase-III-1935-1947-NotesMCQ-PDF-pratiyogitaabhiyan.in_.pdf Qpdf output: ``` >qpdf --show-encryption Indian-National-Movement_1.pdf WARNING: Indian-National-Movement_1.pdf: file is damaged WARNING: Indian-National-Movement_1.pdf (offset 1116099): xref not found...

To fix the problem of opening files with 256-bit AES encryption [this part](https://github.com/itext/itext7-dotnet/blob/40817078bce310497ad33351c10dd86882d498ef/itext/itext.kernel/itext/kernel/crypto/securityhandler/StandardHandlerUsingAes256.cs#L206) from "itext7-dotnet" repository should be brought into this repository somewhere here: https://github.com/LibrePDF/OpenPDF/blob/116b38cdbe30385161444976a2c418446fdaf0a5/openpdf/src/main/java/com/lowagie/text/pdf/PdfReader.java#L728-L737

@mkl-public I get you point. Actually I saved the link with AES256 implementation in iText because it is always nice to have a working code and you can always take...

See in the [README](https://github.com/google/android-emulator-m1-preview/blob/main/README.markdown): >Edit `/Applications/Android\ Emulator.app/Contents/MacOS/aosp-master-arm64-v8a/config.ini` > - `hw.lcd.width`,`hw.lcd.height`: Virtual display dimensions.