diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..963ab08
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,24 @@
+all:
+
+install:
+ mkdir -p ${DESTDIR}/usr/bin/
+ mkdir -p ${DESTDIR}/usr/lib/
+ mkdir -p ${DESTDIR}/usr/share/mime/application/
+ mkdir -p ${DESTDIR}/usr/share/icons/
+ mkdir -p ${DESTDIR}/usr/share/applications/
+ install -m755 cajviewer ${DESTDIR}/usr/bin/cajviewer
+ install -m644 libreaderex_x64.so ${DESTDIR}/usr/lib/libreaderex_x64.so
+ install -m644 cnki-caj.xml ${DESTDIR}/usr/share/mime/application/cnki-caj.xml
+ install -m644 cajviewer.png ${DESTDIR}/usr/share/icons/cajviewer.png
+ install -m644 cajviewer.desktop ${DESTDIR}/usr/share/applications/cajviewer.desktop
+ mkdir -p ${DESTDIR}/opt/cajviewer/
+ chmod 777 ${DESTDIR}/opt/cajviewer
+ cp -r Resource ${DESTDIR}/opt/cajviewer/
+
+clean:
+ rm -f ${DESTDIR}/usr/bin/cajviewer
+ rm -f ${DESTDIR}/usr/lib/libreaderex_x64.so
+ rm -f ${DESTDIR}/usr/share/mime/application/cnki-caj.xml
+ rm -f ${DESTDIR}/usr/share/icons/cajviewer.png
+ rm -f ${DESTDIR}/usr/share/applications/cajviewer.desktop
+ rm -rf ${DESTDIR}/opt/cajviewer/
diff --git a/Resource/Adobe-CNS1.bin b/Resource/Adobe-CNS1.bin
new file mode 100755
index 0000000..706d274
Binary files /dev/null and b/Resource/Adobe-CNS1.bin differ
diff --git a/Resource/Adobe-GB1.bin b/Resource/Adobe-GB1.bin
new file mode 100755
index 0000000..8f30535
Binary files /dev/null and b/Resource/Adobe-GB1.bin differ
diff --git a/Resource/Adobe-Japan1.bin b/Resource/Adobe-Japan1.bin
new file mode 100755
index 0000000..6873389
Binary files /dev/null and b/Resource/Adobe-Japan1.bin differ
diff --git a/Resource/Adobe-Korea1.bin b/Resource/Adobe-Korea1.bin
new file mode 100755
index 0000000..2c585ea
Binary files /dev/null and b/Resource/Adobe-Korea1.bin differ
diff --git a/Resource/cajfonts/CAJFNT00.ttf b/Resource/cajfonts/CAJFNT00.ttf
new file mode 100755
index 0000000..0740b8c
Binary files /dev/null and b/Resource/cajfonts/CAJFNT00.ttf differ
diff --git a/Resource/cajfonts/CAJFNT03.ttf b/Resource/cajfonts/CAJFNT03.ttf
new file mode 100755
index 0000000..725635f
Binary files /dev/null and b/Resource/cajfonts/CAJFNT03.ttf differ
diff --git a/Resource/cajfonts/CAJFNT04.ttf b/Resource/cajfonts/CAJFNT04.ttf
new file mode 100755
index 0000000..32c00ba
Binary files /dev/null and b/Resource/cajfonts/CAJFNT04.ttf differ
diff --git a/Resource/cajfonts/CAJFNT07.ttf b/Resource/cajfonts/CAJFNT07.ttf
new file mode 100755
index 0000000..ac5d57e
Binary files /dev/null and b/Resource/cajfonts/CAJFNT07.ttf differ
diff --git a/Resource/cajfonts/CAJFNT08.ttf b/Resource/cajfonts/CAJFNT08.ttf
new file mode 100755
index 0000000..36c5341
Binary files /dev/null and b/Resource/cajfonts/CAJFNT08.ttf differ
diff --git a/Resource/cajfonts/CAJFNT0B.ttf b/Resource/cajfonts/CAJFNT0B.ttf
new file mode 100755
index 0000000..4136b85
Binary files /dev/null and b/Resource/cajfonts/CAJFNT0B.ttf differ
diff --git a/Resource/cajfonts/CAJFNT0C.ttf b/Resource/cajfonts/CAJFNT0C.ttf
new file mode 100755
index 0000000..e28235e
Binary files /dev/null and b/Resource/cajfonts/CAJFNT0C.ttf differ
diff --git a/Resource/cajfonts/CAJFNT0D.ttf b/Resource/cajfonts/CAJFNT0D.ttf
new file mode 100755
index 0000000..ba55850
Binary files /dev/null and b/Resource/cajfonts/CAJFNT0D.ttf differ
diff --git a/Resource/cajfonts/CAJFNT0E.ttf b/Resource/cajfonts/CAJFNT0E.ttf
new file mode 100755
index 0000000..de1906f
Binary files /dev/null and b/Resource/cajfonts/CAJFNT0E.ttf differ
diff --git a/Resource/cajfonts/CAJFNT10.ttf b/Resource/cajfonts/CAJFNT10.ttf
new file mode 100755
index 0000000..ff35634
Binary files /dev/null and b/Resource/cajfonts/CAJFNT10.ttf differ
diff --git a/Resource/cajfonts/CAJFNT12.ttf b/Resource/cajfonts/CAJFNT12.ttf
new file mode 100755
index 0000000..5bb4c6b
Binary files /dev/null and b/Resource/cajfonts/CAJFNT12.ttf differ
diff --git a/Resource/cajfonts/CAJFNT14.ttf b/Resource/cajfonts/CAJFNT14.ttf
new file mode 100755
index 0000000..10e9197
Binary files /dev/null and b/Resource/cajfonts/CAJFNT14.ttf differ
diff --git a/Resource/cajfonts/CAJFNT16.ttf b/Resource/cajfonts/CAJFNT16.ttf
new file mode 100755
index 0000000..682d984
Binary files /dev/null and b/Resource/cajfonts/CAJFNT16.ttf differ
diff --git a/Resource/cajfonts/CAJFNT18.ttf b/Resource/cajfonts/CAJFNT18.ttf
new file mode 100755
index 0000000..9fb2e83
Binary files /dev/null and b/Resource/cajfonts/CAJFNT18.ttf differ
diff --git a/Resource/cajfonts/CAJFNT1A.ttf b/Resource/cajfonts/CAJFNT1A.ttf
new file mode 100755
index 0000000..1f57342
Binary files /dev/null and b/Resource/cajfonts/CAJFNT1A.ttf differ
diff --git a/Resource/cajfonts/CAJFNT1C.ttf b/Resource/cajfonts/CAJFNT1C.ttf
new file mode 100755
index 0000000..26814b8
Binary files /dev/null and b/Resource/cajfonts/CAJFNT1C.ttf differ
diff --git a/Resource/cajfonts/CAJFNT1F.ttf b/Resource/cajfonts/CAJFNT1F.ttf
new file mode 100755
index 0000000..bee1358
Binary files /dev/null and b/Resource/cajfonts/CAJFNT1F.ttf differ
diff --git a/Resource/cajfonts/CAJFNT20.ttf b/Resource/cajfonts/CAJFNT20.ttf
new file mode 100755
index 0000000..f3ea8cf
Binary files /dev/null and b/Resource/cajfonts/CAJFNT20.ttf differ
diff --git a/Resource/cajfonts/CAJFNT23.ttf b/Resource/cajfonts/CAJFNT23.ttf
new file mode 100755
index 0000000..c38d439
Binary files /dev/null and b/Resource/cajfonts/CAJFNT23.ttf differ
diff --git a/Resource/cajfonts/CAJFNT24.ttf b/Resource/cajfonts/CAJFNT24.ttf
new file mode 100755
index 0000000..6f24c69
Binary files /dev/null and b/Resource/cajfonts/CAJFNT24.ttf differ
diff --git a/Resource/cajfonts/CAJFNT27.ttf b/Resource/cajfonts/CAJFNT27.ttf
new file mode 100755
index 0000000..92b0919
Binary files /dev/null and b/Resource/cajfonts/CAJFNT27.ttf differ
diff --git a/Resource/cajfonts/CAJFNT28.ttf b/Resource/cajfonts/CAJFNT28.ttf
new file mode 100755
index 0000000..edd1f7e
Binary files /dev/null and b/Resource/cajfonts/CAJFNT28.ttf differ
diff --git a/Resource/cajfonts/CAJFNT2B.ttf b/Resource/cajfonts/CAJFNT2B.ttf
new file mode 100755
index 0000000..611a576
Binary files /dev/null and b/Resource/cajfonts/CAJFNT2B.ttf differ
diff --git a/Resource/cajfonts/CAJFNT2C.ttf b/Resource/cajfonts/CAJFNT2C.ttf
new file mode 100755
index 0000000..45ff944
Binary files /dev/null and b/Resource/cajfonts/CAJFNT2C.ttf differ
diff --git a/Resource/cajfonts/CAJFNT2D.ttf b/Resource/cajfonts/CAJFNT2D.ttf
new file mode 100755
index 0000000..87eb938
Binary files /dev/null and b/Resource/cajfonts/CAJFNT2D.ttf differ
diff --git a/Resource/cajfonts/CAJFNT2E.ttf b/Resource/cajfonts/CAJFNT2E.ttf
new file mode 100755
index 0000000..74d5520
Binary files /dev/null and b/Resource/cajfonts/CAJFNT2E.ttf differ
diff --git a/Resource/cajfonts/CAJFNT2F.ttf b/Resource/cajfonts/CAJFNT2F.ttf
new file mode 100755
index 0000000..62b585d
Binary files /dev/null and b/Resource/cajfonts/CAJFNT2F.ttf differ
diff --git a/Resource/cajfonts/CAJFNT30.ttf b/Resource/cajfonts/CAJFNT30.ttf
new file mode 100755
index 0000000..6e6a110
Binary files /dev/null and b/Resource/cajfonts/CAJFNT30.ttf differ
diff --git a/Resource/cajfonts/CAJFNT31.ttf b/Resource/cajfonts/CAJFNT31.ttf
new file mode 100755
index 0000000..8117bb6
Binary files /dev/null and b/Resource/cajfonts/CAJFNT31.ttf differ
diff --git a/Resource/cajfonts/CAJFNT32.ttf b/Resource/cajfonts/CAJFNT32.ttf
new file mode 100755
index 0000000..3af1c52
Binary files /dev/null and b/Resource/cajfonts/CAJFNT32.ttf differ
diff --git a/Resource/cajfonts/CAJFNT33.ttf b/Resource/cajfonts/CAJFNT33.ttf
new file mode 100755
index 0000000..9b8d938
Binary files /dev/null and b/Resource/cajfonts/CAJFNT33.ttf differ
diff --git a/Resource/cajfonts/CAJFNT34.ttf b/Resource/cajfonts/CAJFNT34.ttf
new file mode 100755
index 0000000..ab69619
Binary files /dev/null and b/Resource/cajfonts/CAJFNT34.ttf differ
diff --git a/Resource/cajfonts/CAJFNT37.ttf b/Resource/cajfonts/CAJFNT37.ttf
new file mode 100755
index 0000000..2e7bc60
Binary files /dev/null and b/Resource/cajfonts/CAJFNT37.ttf differ
diff --git a/Resource/cajfonts/CAJFNT38.ttf b/Resource/cajfonts/CAJFNT38.ttf
new file mode 100755
index 0000000..66f5956
Binary files /dev/null and b/Resource/cajfonts/CAJFNT38.ttf differ
diff --git a/Resource/cajfonts/CAJFNT3B.ttf b/Resource/cajfonts/CAJFNT3B.ttf
new file mode 100755
index 0000000..8e3ac80
Binary files /dev/null and b/Resource/cajfonts/CAJFNT3B.ttf differ
diff --git a/Resource/cajfonts/CAJFNT3C.ttf b/Resource/cajfonts/CAJFNT3C.ttf
new file mode 100755
index 0000000..e307cbf
Binary files /dev/null and b/Resource/cajfonts/CAJFNT3C.ttf differ
diff --git a/Resource/cajfonts/CAJFNT3F.ttf b/Resource/cajfonts/CAJFNT3F.ttf
new file mode 100755
index 0000000..2e87947
Binary files /dev/null and b/Resource/cajfonts/CAJFNT3F.ttf differ
diff --git a/Resource/cajfonts/CAJFNT40.ttf b/Resource/cajfonts/CAJFNT40.ttf
new file mode 100755
index 0000000..0868c5b
Binary files /dev/null and b/Resource/cajfonts/CAJFNT40.ttf differ
diff --git a/Resource/cajfonts/CAJFNT43.ttf b/Resource/cajfonts/CAJFNT43.ttf
new file mode 100755
index 0000000..0f86059
Binary files /dev/null and b/Resource/cajfonts/CAJFNT43.ttf differ
diff --git a/Resource/cajfonts/CAJFNT44.ttf b/Resource/cajfonts/CAJFNT44.ttf
new file mode 100755
index 0000000..f955711
Binary files /dev/null and b/Resource/cajfonts/CAJFNT44.ttf differ
diff --git a/Resource/cajfonts/CAJFNT45.ttf b/Resource/cajfonts/CAJFNT45.ttf
new file mode 100755
index 0000000..3685267
Binary files /dev/null and b/Resource/cajfonts/CAJFNT45.ttf differ
diff --git a/Resource/cajfonts/CAJFNT46.ttf b/Resource/cajfonts/CAJFNT46.ttf
new file mode 100755
index 0000000..b7fceb6
Binary files /dev/null and b/Resource/cajfonts/CAJFNT46.ttf differ
diff --git a/Resource/cajfonts/CAJFNT47.ttf b/Resource/cajfonts/CAJFNT47.ttf
new file mode 100755
index 0000000..b938136
Binary files /dev/null and b/Resource/cajfonts/CAJFNT47.ttf differ
diff --git a/Resource/cajfonts/CAJFNT48.ttf b/Resource/cajfonts/CAJFNT48.ttf
new file mode 100755
index 0000000..0d05ca4
Binary files /dev/null and b/Resource/cajfonts/CAJFNT48.ttf differ
diff --git a/Resource/cajfonts/CAJFNT49.ttf b/Resource/cajfonts/CAJFNT49.ttf
new file mode 100755
index 0000000..9fcf786
Binary files /dev/null and b/Resource/cajfonts/CAJFNT49.ttf differ
diff --git a/Resource/cajfonts/CAJFNT4A.ttf b/Resource/cajfonts/CAJFNT4A.ttf
new file mode 100755
index 0000000..7a78422
Binary files /dev/null and b/Resource/cajfonts/CAJFNT4A.ttf differ
diff --git a/Resource/cajfonts/CAJFNT4B.ttf b/Resource/cajfonts/CAJFNT4B.ttf
new file mode 100755
index 0000000..b09ea6a
Binary files /dev/null and b/Resource/cajfonts/CAJFNT4B.ttf differ
diff --git a/Resource/cajfonts/CAJFNT4C.ttf b/Resource/cajfonts/CAJFNT4C.ttf
new file mode 100755
index 0000000..c3b63f1
Binary files /dev/null and b/Resource/cajfonts/CAJFNT4C.ttf differ
diff --git a/Resource/cajfonts/CAJFNT4D.ttf b/Resource/cajfonts/CAJFNT4D.ttf
new file mode 100755
index 0000000..b722f04
Binary files /dev/null and b/Resource/cajfonts/CAJFNT4D.ttf differ
diff --git a/Resource/cajfonts/CAJFNT4E.ttf b/Resource/cajfonts/CAJFNT4E.ttf
new file mode 100755
index 0000000..401a4cc
Binary files /dev/null and b/Resource/cajfonts/CAJFNT4E.ttf differ
diff --git a/Resource/cajfonts/CAJFNT4F.ttf b/Resource/cajfonts/CAJFNT4F.ttf
new file mode 100755
index 0000000..2fc3e1e
Binary files /dev/null and b/Resource/cajfonts/CAJFNT4F.ttf differ
diff --git a/Resource/cajfonts/CAJFNT50.ttf b/Resource/cajfonts/CAJFNT50.ttf
new file mode 100755
index 0000000..cfad0b7
Binary files /dev/null and b/Resource/cajfonts/CAJFNT50.ttf differ
diff --git a/Resource/cajfonts/CAJFNT51.ttf b/Resource/cajfonts/CAJFNT51.ttf
new file mode 100755
index 0000000..8c756c4
Binary files /dev/null and b/Resource/cajfonts/CAJFNT51.ttf differ
diff --git a/Resource/cajfonts/CAJFNT52.ttf b/Resource/cajfonts/CAJFNT52.ttf
new file mode 100755
index 0000000..c265c14
Binary files /dev/null and b/Resource/cajfonts/CAJFNT52.ttf differ
diff --git a/Resource/cajfonts/CAJFNT53.ttf b/Resource/cajfonts/CAJFNT53.ttf
new file mode 100755
index 0000000..3860ba8
Binary files /dev/null and b/Resource/cajfonts/CAJFNT53.ttf differ
diff --git a/Resource/cajfonts/CAJFNT54.ttf b/Resource/cajfonts/CAJFNT54.ttf
new file mode 100755
index 0000000..df78465
Binary files /dev/null and b/Resource/cajfonts/CAJFNT54.ttf differ
diff --git a/Resource/cajfonts/CAJFNT55.ttf b/Resource/cajfonts/CAJFNT55.ttf
new file mode 100755
index 0000000..454045d
Binary files /dev/null and b/Resource/cajfonts/CAJFNT55.ttf differ
diff --git a/Resource/cajfonts/CAJFNT56.ttf b/Resource/cajfonts/CAJFNT56.ttf
new file mode 100755
index 0000000..16097ca
Binary files /dev/null and b/Resource/cajfonts/CAJFNT56.ttf differ
diff --git a/Resource/cajfonts/CAJFNT57.ttf b/Resource/cajfonts/CAJFNT57.ttf
new file mode 100755
index 0000000..809de9c
Binary files /dev/null and b/Resource/cajfonts/CAJFNT57.ttf differ
diff --git a/Resource/cajfonts/CAJFNT58.ttf b/Resource/cajfonts/CAJFNT58.ttf
new file mode 100755
index 0000000..1f21f87
Binary files /dev/null and b/Resource/cajfonts/CAJFNT58.ttf differ
diff --git a/Resource/cajfonts/CAJFNT59.ttf b/Resource/cajfonts/CAJFNT59.ttf
new file mode 100755
index 0000000..9a7a13a
Binary files /dev/null and b/Resource/cajfonts/CAJFNT59.ttf differ
diff --git a/Resource/cajfonts/CAJFNT5A.ttf b/Resource/cajfonts/CAJFNT5A.ttf
new file mode 100755
index 0000000..58481bd
Binary files /dev/null and b/Resource/cajfonts/CAJFNT5A.ttf differ
diff --git a/Resource/cajfonts/CAJFNT5B.ttf b/Resource/cajfonts/CAJFNT5B.ttf
new file mode 100755
index 0000000..e3c6b21
Binary files /dev/null and b/Resource/cajfonts/CAJFNT5B.ttf differ
diff --git a/Resource/cajfonts/CAJFNT5C.ttf b/Resource/cajfonts/CAJFNT5C.ttf
new file mode 100755
index 0000000..c424b68
Binary files /dev/null and b/Resource/cajfonts/CAJFNT5C.ttf differ
diff --git a/Resource/cajfonts/CAJFNT5D.ttf b/Resource/cajfonts/CAJFNT5D.ttf
new file mode 100755
index 0000000..bb98eb2
Binary files /dev/null and b/Resource/cajfonts/CAJFNT5D.ttf differ
diff --git a/Resource/cajfonts/CAJFNT5E.ttf b/Resource/cajfonts/CAJFNT5E.ttf
new file mode 100755
index 0000000..d20e8e7
Binary files /dev/null and b/Resource/cajfonts/CAJFNT5E.ttf differ
diff --git a/Resource/cajfonts/CAJFNT5F.ttf b/Resource/cajfonts/CAJFNT5F.ttf
new file mode 100755
index 0000000..a13f44e
Binary files /dev/null and b/Resource/cajfonts/CAJFNT5F.ttf differ
diff --git a/Resource/cajfonts/CAJFNT60.ttf b/Resource/cajfonts/CAJFNT60.ttf
new file mode 100755
index 0000000..4db9b48
Binary files /dev/null and b/Resource/cajfonts/CAJFNT60.ttf differ
diff --git a/Resource/cajfonts/CAJFNT62.ttf b/Resource/cajfonts/CAJFNT62.ttf
new file mode 100755
index 0000000..64e22fb
Binary files /dev/null and b/Resource/cajfonts/CAJFNT62.ttf differ
diff --git a/Resource/cajfonts/CAJFNT64.ttf b/Resource/cajfonts/CAJFNT64.ttf
new file mode 100755
index 0000000..4ef6e93
Binary files /dev/null and b/Resource/cajfonts/CAJFNT64.ttf differ
diff --git a/Resource/cajfonts/CAJFNT66.ttf b/Resource/cajfonts/CAJFNT66.ttf
new file mode 100755
index 0000000..0aa2393
Binary files /dev/null and b/Resource/cajfonts/CAJFNT66.ttf differ
diff --git a/Resource/cajfonts/CAJFNT69.ttf b/Resource/cajfonts/CAJFNT69.ttf
new file mode 100755
index 0000000..f23701b
Binary files /dev/null and b/Resource/cajfonts/CAJFNT69.ttf differ
diff --git a/Resource/cajfonts/CAJFNT6A.ttf b/Resource/cajfonts/CAJFNT6A.ttf
new file mode 100755
index 0000000..0dfcd12
Binary files /dev/null and b/Resource/cajfonts/CAJFNT6A.ttf differ
diff --git a/Resource/cajfonts/CAJFNT6C.ttf b/Resource/cajfonts/CAJFNT6C.ttf
new file mode 100755
index 0000000..faa1a07
Binary files /dev/null and b/Resource/cajfonts/CAJFNT6C.ttf differ
diff --git a/Resource/cajfonts/CAJFNT6D.ttf b/Resource/cajfonts/CAJFNT6D.ttf
new file mode 100755
index 0000000..eb36af6
Binary files /dev/null and b/Resource/cajfonts/CAJFNT6D.ttf differ
diff --git a/Resource/cajfonts/CAJFNT6E.ttf b/Resource/cajfonts/CAJFNT6E.ttf
new file mode 100755
index 0000000..1487186
Binary files /dev/null and b/Resource/cajfonts/CAJFNT6E.ttf differ
diff --git a/Resource/cajfonts/CAJFNT6F.ttf b/Resource/cajfonts/CAJFNT6F.ttf
new file mode 100755
index 0000000..8743a9a
Binary files /dev/null and b/Resource/cajfonts/CAJFNT6F.ttf differ
diff --git a/Resource/cajfonts/HGBX_ZW.ttf b/Resource/cajfonts/HGBX_ZW.ttf
new file mode 100755
index 0000000..5275cc9
Binary files /dev/null and b/Resource/cajfonts/HGBX_ZW.ttf differ
diff --git a/Resource/cajfonts/HGBZ_ZW.ttf b/Resource/cajfonts/HGBZ_ZW.ttf
new file mode 100755
index 0000000..fa2246c
Binary files /dev/null and b/Resource/cajfonts/HGBZ_ZW.ttf differ
diff --git a/Resource/cajfonts/HGHX_ZW.ttf b/Resource/cajfonts/HGHX_ZW.ttf
new file mode 100755
index 0000000..c3e661b
Binary files /dev/null and b/Resource/cajfonts/HGHX_ZW.ttf differ
diff --git a/Resource/cajfonts/HGHZ_ZW.ttf b/Resource/cajfonts/HGHZ_ZW.ttf
new file mode 100755
index 0000000..f5eb242
Binary files /dev/null and b/Resource/cajfonts/HGHZ_ZW.ttf differ
diff --git a/Resource/cajfonts/cajfnta0.ttf b/Resource/cajfonts/cajfnta0.ttf
new file mode 100755
index 0000000..239e948
Binary files /dev/null and b/Resource/cajfonts/cajfnta0.ttf differ
diff --git a/Resource/cajfonts/cajfnta1.ttf b/Resource/cajfonts/cajfnta1.ttf
new file mode 100755
index 0000000..2e77762
Binary files /dev/null and b/Resource/cajfonts/cajfnta1.ttf differ
diff --git a/Resource/cajfonts/cajfnta4.ttf b/Resource/cajfonts/cajfnta4.ttf
new file mode 100755
index 0000000..de48325
Binary files /dev/null and b/Resource/cajfonts/cajfnta4.ttf differ
diff --git a/Resource/cajfonts/cajfnta6.ttf b/Resource/cajfonts/cajfnta6.ttf
new file mode 100755
index 0000000..b8698bc
Binary files /dev/null and b/Resource/cajfonts/cajfnta6.ttf differ
diff --git a/Resource/cajfonts/cajfnta7.ttf b/Resource/cajfonts/cajfnta7.ttf
new file mode 100755
index 0000000..dd1222c
Binary files /dev/null and b/Resource/cajfonts/cajfnta7.ttf differ
diff --git a/Resource/cajfonts/cajfnta8.ttf b/Resource/cajfonts/cajfnta8.ttf
new file mode 100755
index 0000000..a783a0b
Binary files /dev/null and b/Resource/cajfonts/cajfnta8.ttf differ
diff --git a/Resource/cajfonts/cajfntaa.ttf b/Resource/cajfonts/cajfntaa.ttf
new file mode 100755
index 0000000..1aad9fc
Binary files /dev/null and b/Resource/cajfonts/cajfntaa.ttf differ
diff --git a/Resource/cajfonts/cajfntac.ttf b/Resource/cajfonts/cajfntac.ttf
new file mode 100755
index 0000000..68a1bb4
Binary files /dev/null and b/Resource/cajfonts/cajfntac.ttf differ
diff --git a/Resource/cajfonts/cajfntad.ttf b/Resource/cajfonts/cajfntad.ttf
new file mode 100755
index 0000000..9d3f913
Binary files /dev/null and b/Resource/cajfonts/cajfntad.ttf differ
diff --git a/Resource/cajfonts/cajfntae.ttf b/Resource/cajfonts/cajfntae.ttf
new file mode 100755
index 0000000..66f5899
Binary files /dev/null and b/Resource/cajfonts/cajfntae.ttf differ
diff --git a/Resource/cajfonts/cajfntbd.ttf b/Resource/cajfonts/cajfntbd.ttf
new file mode 100755
index 0000000..3c82ba2
Binary files /dev/null and b/Resource/cajfonts/cajfntbd.ttf differ
diff --git a/Resource/cajfonts/cajfntbz.ttf b/Resource/cajfonts/cajfntbz.ttf
new file mode 100755
index 0000000..525306c
Binary files /dev/null and b/Resource/cajfonts/cajfntbz.ttf differ
diff --git a/Resource/cajfonts/cajfntdg.ttf b/Resource/cajfonts/cajfntdg.ttf
new file mode 100755
index 0000000..0910701
Binary files /dev/null and b/Resource/cajfonts/cajfntdg.ttf differ
diff --git a/Resource/cajfonts/cajfnthx.ttf b/Resource/cajfonts/cajfnthx.ttf
new file mode 100755
index 0000000..92513f8
Binary files /dev/null and b/Resource/cajfonts/cajfnthx.ttf differ
diff --git a/Resource/cajfonts/cajfntlt.ttf b/Resource/cajfonts/cajfntlt.ttf
new file mode 100755
index 0000000..e996609
Binary files /dev/null and b/Resource/cajfonts/cajfntlt.ttf differ
diff --git a/Resource/cajfonts/cajfntra.ttf b/Resource/cajfonts/cajfntra.ttf
new file mode 100755
index 0000000..24192f2
Binary files /dev/null and b/Resource/cajfonts/cajfntra.ttf differ
diff --git a/Resource/cajfonts/cajfntst.ttf b/Resource/cajfonts/cajfntst.ttf
new file mode 100755
index 0000000..616c2df
Binary files /dev/null and b/Resource/cajfonts/cajfntst.ttf differ
diff --git a/Resource/cajfonts/cajfttab.ttf b/Resource/cajfonts/cajfttab.ttf
new file mode 100755
index 0000000..fe3dd43
Binary files /dev/null and b/Resource/cajfonts/cajfttab.ttf differ
diff --git a/Resource/cajfonts/cajnote.ttf b/Resource/cajfonts/cajnote.ttf
new file mode 100755
index 0000000..6213325
Binary files /dev/null and b/Resource/cajfonts/cajnote.ttf differ
diff --git a/Resource/cajfonts/cajsa.ttf b/Resource/cajfonts/cajsa.ttf
new file mode 100755
index 0000000..4ba8232
Binary files /dev/null and b/Resource/cajfonts/cajsa.ttf differ
diff --git a/Resource/cajfonts/cajsb.ttf b/Resource/cajfonts/cajsb.ttf
new file mode 100755
index 0000000..433b8dc
Binary files /dev/null and b/Resource/cajfonts/cajsb.ttf differ
diff --git a/Resource/cajfonts/cajsc.ttf b/Resource/cajfonts/cajsc.ttf
new file mode 100755
index 0000000..a8f599b
Binary files /dev/null and b/Resource/cajfonts/cajsc.ttf differ
diff --git a/Resource/cajfonts/wqy-microhei_0.ttf b/Resource/cajfonts/wqy-microhei_0.ttf
new file mode 100755
index 0000000..0ffe1ed
Binary files /dev/null and b/Resource/cajfonts/wqy-microhei_0.ttf differ
diff --git a/Resource/fontmap.xml b/Resource/fontmap.xml
new file mode 100755
index 0000000..e35dcfe
--- /dev/null
+++ b/Resource/fontmap.xml
@@ -0,0 +1,197 @@
+
+
+
+ - 方正书宋_GBK
+ - 宋体
+ - simsun
+ - FZSSJW--GB1-0
+
+
+ - 方正黑体_GBK
+ - 方正艺黑简体
+ - 黑体
+ - simhei
+ - FZHTJW--GB1-0
+
+
+ - 方正楷体_GBK
+ - 楷体
+ - simkai
+
+
+ - 方正仿宋_GBK
+ - 仿宋
+ - simfang
+
+
+ - 方正小标宋_GBK
+
+
+ - 方正行楷_GBK
+ - 方正康体_GBK
+ - 方正平和_GBK
+ - 方正启体简体
+ - 方正舒体_GBK
+ - 方正新舒体_GBK
+ - 方正硬笔楷书简体
+ - 行楷
+
+
+ - 方正魏体_GBK
+ - 方正北魏楷书_GB18030
+
+
+ - 方正隶书_GBK
+ - 方正华隶_GBK
+ - 方正隶二_GBK
+ - 隶书
+ - simli
+
+
+ - 方正准圆_GBK
+ - 方正少儿_GBK
+
+
+ - 方正大黑_GBK
+
+
+ - 方正粗圆_GBK
+ - 粗圆
+
+
+ - 方正细圆_GBK
+
+
+ - 方正大标宋_GBK
+ - 大标宋
+
+
+ - 方正综艺_GBK
+
+
+ - 方正姚体_GBK
+
+
+ - 方正细等线_GBK
+
+
+ - 方正中等线_GBK
+
+
+ - 方正琥珀_GBK
+
+
+ - 方正报宋_GBK
+
+
+ - 方正粗宋_GBK
+
+
+ - 方正超粗黑_GBK
+
+
+ - 方正彩云_GBK
+
+
+ - 方正水柱_GBK
+ - 方正水黑简体
+
+
+ - 方正宋黑_GBK
+
+
+ - 方正隶变_GBK
+ - 方正古隶_GBK
+
+
+ - 方正美黑_GBK
+ - 方正粗活意简体
+
+
+ - 方正胖娃_GBK
+
+
+ - 方正新报宋_GBK
+
+
+ - 方正细黑一_GBK
+
+
+ - 方正幼线_GBK
+
+
+ - 方正中倩_GBK
+ - 方正细倩_GBK
+ - 方正粗倩_GBK
+ - 方正毡笔黑简体
+
+
+ - 方正博雅宋_GBK
+
+
+ - 方正宋一_GBK
+
+
+ - 方正瘦金书_GBK
+ - 方正黄草_GBK
+
+
+ - 方正中楷繁体
+
+
+ - 方正兰亭刊宋_GBK
+
+
+ - 方正兰亭宋_GBK
+
+
+ - 方正韵动特黑简体
+
+
+ - 方正韵动粗黑简体_GBK
+
+
+ - 方正韵动中黑简体
+
+
+ - 方正细珊瑚_GBK
+
+
+ - 方正颜宋简体_纤
+
+
+ - 方正刻本仿宋简体
+
+
+ - 方正稚艺_GBK
+
+
+ - 方正粗楷简体
+
+
+ - 方正宋刻本秀楷简体
+
+
+ - 方正平黑繁体
+
+
+ - 方正宋三_GBK
+
+
+ - 方正正大黑简体
+
+
+ - 方正汉简简体
+ - 方正卡通简体
+ - 方正硬笔行书简体
+
+
+ - 方正新秀丽繁体
+
+
+ - 方正清刻本悦宋简体
+
+
+ - 方正准圆_GBK
+
+
diff --git a/Resource/fonts.bin b/Resource/fonts.bin
new file mode 100755
index 0000000..e07f034
Binary files /dev/null and b/Resource/fonts.bin differ
diff --git a/cajviewer b/cajviewer
new file mode 100755
index 0000000..76df34d
Binary files /dev/null and b/cajviewer differ
diff --git a/cajviewer.desktop b/cajviewer.desktop
new file mode 100644
index 0000000..cd83eda
--- /dev/null
+++ b/cajviewer.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=CAJViewer
+Comment=CAJViewer for Linux
+Icon=/usr/share/icons/cajviewer.png
+Categories=Office;
+MimeType=application/caj;application/kdh;application/nh;application/teb;
+Exec=cajviewer
+X-AppImage-Version=
diff --git a/cajviewer.png b/cajviewer.png
new file mode 100644
index 0000000..859dd9a
Binary files /dev/null and b/cajviewer.png differ
diff --git a/cnki-caj.xml b/cnki-caj.xml
new file mode 100644
index 0000000..728c7f2
--- /dev/null
+++ b/cnki-caj.xml
@@ -0,0 +1,19 @@
+
+
+
+ CAJ file type
+
+
+
+ KDH file type
+
+
+
+ NH file type
+
+
+
+ TEB file type
+
+
+
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..67fee92
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1 @@
+This is repackage of official CAJviewer
diff --git a/debian/cajviewer.install b/debian/cajviewer.install
new file mode 100644
index 0000000..d17e935
--- /dev/null
+++ b/debian/cajviewer.install
@@ -0,0 +1,2 @@
+usr/*
+opt/*
diff --git a/debian/cajviewer.triggers b/debian/cajviewer.triggers
new file mode 100644
index 0000000..c775ced
--- /dev/null
+++ b/debian/cajviewer.triggers
@@ -0,0 +1 @@
+activate-noawait mime-info
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..0e90b97
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+cajviewer (1.0) unstable; urgency=medium
+
+ * first release.
+
+ -- Zhang Ning Thu, 20 Feb 2020 21:45:02 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b4de394
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+11
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..751f5b4
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,19 @@
+Source: cajviewer
+Section: office
+Priority: optional
+Maintainer: Zhang Ning
+Uploaders: Zhang Ning
+Standards-Version: 4.1.4
+Build-Depends:
+ debhelper (>= 11),
+Homepage: http://cajviewer.cnki.net/
+
+
+Package: cajviewer
+Section: office
+Architecture: amd64
+Depends:
+ ${shlibs:Depends},
+Multi-Arch: same
+Description: CAJViewer
+ This package is repackage of official CAJviewer
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7525bd4
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,7 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: CAJviewer
+Source: http://cajviewer.cnki.net/download
+
+Files: *
+Copyright: CNKI
+License: UNKNOWN
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..1cdcd57
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/dpkg/pkg-info.mk
+
+override_dh_auto_clean:
+ @make clean DESTDIR=debian/tmp
+
+override_dh_auto_install:
+ @make install DESTDIR=debian/tmp
+
+%:
+ dh $@
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..3f32f31
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+#git=git://anongit.freedesktop.org/mesa/mesa
+version=3
+opts="uversionmangle=s/-rc/~rc/,dversionmangle=s/\+repack//,pgpsigurlmangle=s/$/.sig/,pasv" \
+https://mesa.freedesktop.org/archive/mesa-(.*)\.tar\.xz
diff --git a/libreaderex_x64.so b/libreaderex_x64.so
new file mode 100755
index 0000000..dfb975f
Binary files /dev/null and b/libreaderex_x64.so differ