Skip to content

Commit 1788392

Browse files
committed
Merge branch 'release/alpha/master'
2 parents 38d47ac + 5ee2aad commit 1788392

32 files changed

+458
-351
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ Here is the rough roadmap of the development.
4040

4141
----
4242

43+
- [X] Bug Fixes: Some common PDF bugs are now fixed.
44+
- [X] UI change to make it more suitable for screens with lower resolution.
45+
- [X] **Alpha Release 3**
46+
47+
----
48+
4349
- [ ] Fine tune the rough edges in the supporting library.
4450
- [ ] Memory/Resource optimization.
4551
- [ ] Finalizing and optimizing the Graphical User Interface.
@@ -48,12 +54,14 @@ Here is the rough roadmap of the development.
4854
## Requirements
4955
- JRE 1.8 or higher
5056
- Linux, Windows
57+
- Mac OS
5158

52-
Can probably work on macOS, but I do not own one, so not able to test.
59+
**Note:** PDF fixing feature is not available on the Mac.
5360

5461
#### For fixing feature to work, you require the following:
5562
* Linux: poppler-utils
5663
* Windows: poppler-utils is included with the release.
64+
* Mac OS: __Not supported__
5765

5866
**Note:** This is a new feature, which can resolve few of the PDF errors, but not all. New fixes
5967
will be added later on.

TODO

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Kpdfsync
5555
Highlighting = 12 67 (Expected, Much more accepatble
5656
highlighting)
5757

58-
[ ] (GitHub Issue #2)
58+
[X] (GitHub Issue #2)
5959
Book: Concrete Mathematics original PDF file.
6060

6161
For some PDF files, org.pdfclown.tools.TextExtractor.extract() is returning null.
@@ -110,7 +110,7 @@ Kpdfsync
110110

111111
The times, this exception occures, it occures around the 73% mark.
112112

113-
[ ] (GitHub Issue #1)
113+
[X] (GitHub Issue #1)
114114
EOFException at org.pdfclown.tools.TextExtractor.extract() method. This is seen on
115115
'the_evolution_of_operating_system_cropped.pdf' file. Could also be a font issue.
116116
Here is the stack trace
@@ -186,7 +186,7 @@ java.io.EOFException
186186
Running pdftocairo tool (from poppler-utils package), solves this error.
187187
Command: pdftocairo -pdf <in pdf file> <out pdf file>
188188

189-
[ ] (GitHub Issue #4)
189+
[X] (GitHub Issue #4)
190190
Book: MMURTL
191191
org.pdfclown.util.NotImplementedException: LZWDecode
192192

@@ -240,7 +240,7 @@ java.io.EOFException
240240
at coderarjob.kpdfsync.poc.MainFrame$2.run(MainFrame.java:201)
241241
at java.base/java.lang.Thread.run(Thread.java:833)
242242

243-
[ ] (GitHub Issue #6)
243+
[X] (GitHub Issue #6)
244244
Book :resulting pdf after fixing original progit.pdf
245245

246246
Exception :'name' table does NOT exist.
@@ -274,3 +274,7 @@ java.io.EOFException
274274
at coderarjob.kpdfsync.lib.annotator.PdfAnnotatorV1.highlight(PdfAnnotatorV1.java:62)
275275
at coderarjob.kpdfsync.poc.MainFrame$2.run(MainFrame.java:201)
276276
at java.lang.Thread.run(Thread.java:748)
277+
278+
Solution:
279+
Modifed pdfclown to treat 'name' and 'post' tables as optional. It is
280+
released with kpdfsync 0.8.2-alpha.

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ cp -r src/coderarjob/kpdfsync/poc/res $BIN_DIR/coderarjob/kpdfsync/poc || exit
6363
# -----------------------------------------------------------------------------
6464
# Replace placeholder information in resource files.
6565
# -----------------------------------------------------------------------------
66-
VER=0.8.1
66+
VER=0.8.2
6767
TAG=alpha
6868
buildid=$(date +%y%m%d)
6969

build/pack.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ cp ../lib/pdfclown.jar ./$DIST_DIR/bin || exit
4848
cp -r ../tools ./$DIST_DIR/bin || exit
4949

5050
# Copy the kpdfsync.sh and kpdfsync.bat to kpdfsync dist folder.
51-
cp kpdfsync.sh ./$DIST_DIR || exit
51+
cp kpdfsync.sh ./$DIST_DIR/kpdfsync || exit
5252
cp kpdfsync.bat ./$DIST_DIR || exit
5353

5454
# Copy LICENSE Readme.md and HowTo.pdf to kpdfsync dist folder.

docs/HowToSImplified.odt

754 KB
Binary file not shown.

docs/images/screenshot_alpha.png

19.3 KB
Loading

lib/README.txt

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
Library
2+
PDF Clown Project [../../main/README.html] > PDF Clown for Java [../README.html] >
3+
4+
5+
Project version: 0.1.3 - README revision: 0 (2022-04-04)
6+
7+
---------------
8+
Introduction
9+
---------------
10+
This change was done by Arjob (arjobmukherjee@gmail.com), to fix the following errors:
11+
* 'name' table does NOT exit.
12+
* 'post' table does NOT exit.
13+
14+
This section hosts the source code of the Java implementation of PDF Clown.
15+
16+
17+
---------------
18+
Resources
19+
---------------
20+
* src [src/]: Source code
21+
* package [build/package/]: Library archive (automatically generated)
22+
* api docs [build/docs/api/index.html]: API reference (automatically generated)
23+
* build [build/]: Created by the build tasks and used to hold compiled source, assembled modules, and files generated by the Javadoc tool.
24+
* PDF Clown Project home page [http://www.pdfclown.org]: Project home page
25+
* Navigation:
26+
* Current directory [.]: browse current section contents
27+
* Parent section [../README.html]: move to parent section
28+
* Previous section [../README.html]: move to previous section
29+
* Next section [../pdfclown.samples.cli/README.html]: move to next section
30+
* INDEX [../../main/INDEX.html]: move to the distribution map

lib/pdfclown.jar

-175 KB
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# This is the settings file for coderarjob.ajl package.
2-
app.version = <kpdfsync-ver>-<build>-<commitid>-<tag>
2+
app.version = <kpdfsync-ver>-<tag>+<build>-<commitid>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# This is the settings file for coderarjob.kpdfsync.lib package.
2-
app.version = <kpdfsync-ver>-<build>-<commitid>-<tag>
2+
app.version = <kpdfsync-ver>-<tag>+<build>-<commitid>

0 commit comments

Comments
 (0)