Dear Stuart and Edgar,

Thank you. I am only looking for the most lightweight PDF viewer. I am in the 
process of compiling xpdf now.

Sincerely,
Xianwen

On Sat, Feb 17, 2018 at 5:32 PM, Edgar Pettijohn 
<[email protected]<mailto:[email protected]>> wrote:


On 02/17/18 07:14, Stuart Henderson wrote:
On 2018-02-17, Xianwen Chen <[email protected]<mailto:[email protected]>> 
wrote:
Dear Vincent,

Thank you.

I am surprised that mupdf is actually close to 30 MB of size. You are right 
that it is not lightweight in terms of package size.
It has the full PDF renderer in it, unlike evince which just uses poppler for 
that.
Metrics for CJK fonts are compiled in to mupdf too.

I guess that evince is heavier than mupdf, when I consider its dependent 
libraries. I do not know a good way to list evince's dependencies, its 
dependencies' dependencies etc. Do you know how I may check that?
  $ cd /usr/ports/textproc/mupdf
$ make full-run-depends
bzip2-1.0.6p8
freeglut-3.0.0
nghttp2-1.30.0
curl-7.58.0p0
jpeg-1.5.3v0
tiff-4.0.9
lcms2-2.9
graphite2-1.3.10p1
xdg-utils-1.1.2p0
libiconv-1.14p3
gettext-0.19.8.1p1
sqlite3-3.21.0
pcre-8.41
lzo2-2.10
png-1.6.34
jbig2dec-0.11
openjp2-2.3.0
libffi-3.2.1p4
python-2.7.14p0
libelf-0.8.13p4
glib2-2.54.3p0
desktop-file-utils-0.23p0
cairo-1.14.12
harfbuzz-1.7.5

$ cd /usr/ports/graphics/evince
$ make full-run-depends
texlive_texmf-buildset-2017
hicolor-icon-theme-0.17
bzip2-1.0.6p8
lz4-1.8.1.2
libusb1-1.0.21
zziplib-0.13.62p0
cdparanoia-3.a9.8p3
xz-5.2.3p0
detex-2.8.1
dbus-1.12.4v0
dbus-daemon-launch-helper-1.12.4
dbus-1.12.4v0
giflib-5.1.4
jpeg-1.5.3v0
tiff-4.0.9
lcms2-2.9
soundtouch-1.9.2p2
dvi2tty-5.3.1p0
potrace-1.15
iso-codes-3.77
graphite2-1.3.10p1
libdaemon-0.14p1
jasper-2.0.14
t1utils-1.41
libiconv-1.14p3
gettext-0.19.8.1p1
gdbm-1.13
libgpg-error-1.27p1
libassuan-2.5.1p0
libgcrypt-1.8.2p0
libksba-1.3.5p1
aspell-0.60.6.1p5
e2fsprogs-1.42.12p4
libunistring-0.9.7
libidn2-2.0.0p0
libxml-2.9.7
libxslt-1.1.32
libarchive-3.3.2
unzip-6.0p11
fribidi-0.19.7
libass-0.13.7p0
sqlite3-3.21.0
gnome-backgrounds-3.26.2
ghostscript-fonts-8.11p3
libogg-1.3.3
libvorbis-1.3.5
tremor-20120410p1
libtheora-1.1.1p3
flac-1.3.2p1
libsndfile-1.0.27
libbs2b-3.1.0p2
mozilla-dicts-en-GB-1.3p1
hunspell-1.6.1p2
yelp-xsl-3.20.1
libpaper-1.1.24.5
psutils-1.23
ffcall-1.10p3
pcre-8.41
orc-0.4.24p0
libtasn1-4.13p0
ijs-0.35p2
hyphen-2.8.8
gmp-6.1.2p1
libnettle-3.4
opus-1.2.1
libsigsegv-2.12
clisp-2.49p2
unrar-5.50v1
npth-1.5p0
lzo2-2.10
icu4c-58.2p5
png-1.6.34
jbig2dec-0.11
libwebp-0.6.1p0
gd-2.2.5p0
openjp2-2.3.0
libffi-3.2.1p4
python-2.7.14p0
p11-kit-0.23.2p0
gnutls-3.5.18
python-3.6.4
poppler-data-0.4.8
cantarell-fonts-0.100
libelf-0.8.13p4
glib2-2.54.3p0
dconf-0.26.1
gsettings-desktop-schemas-3.24.1
avahi-0.7p1
cups-libs-2.2.6
ghostscript-9.07p7
libspectre-0.2.8p2
ps2eps-1.68p0
desktop-file-utils-0.23p0
shared-mime-info-1.9p0
gdk-pixbuf-2.36.11
gtk-update-icon-cache-3.22.28
djvulibre-3.5.27p2
libnotify-0.7.7
libproxy-0.4.15p0
glib2-networking-2.54.1
libsoup-2.60.3
json-glib-1.4.2
meta-tracker-2.0.3
avahi-0.7p1
geoclue2-2.4.7
cairo-1.14.12
harfbuzz-1.7.5
harfbuzz-icu-1.7.5
texlive_base-2017
harfbuzz-1.7.5
pango-1.40.14
poppler-0.59.0
libgxps-0.2.5p2
libsecret-0.18.5p0
pinentry-1.1.0p0
gnupg-2.2.4
libcroco-0.6.12
librsvg-2.40.20
adwaita-icon-theme-3.26.1
gnome-icon-theme-3.12.0p3
gnome-icon-theme-symbolic-3.12.0p2
atk-2.26.1
gtk+2-2.24.32
gtk-engines2-2.20.2p9
gnome-themes-standard-3.22.3p0
at-spi2-core-2.26.2
at-spi2-atk-2.26.1
gtk+3-3.22.28
gcr-3.20.0p0
gvfs-1.34.2
gnome-desktop-3.26.2
gnome-autoar-0.2.2p0
nautilus-3.26.2
gstreamer1-1.12.4p0
gstreamer1-plugins-base-1.12.4
libmms-0.6.2p4
gstreamer1-plugins-bad-1.12.4
enchant-1.6.1p1
webkitgtk4-2.18.6
yelp-3.26.0p0

I don't know all of your needs but the lightest of the pdf viewers is probably 
xpdf

laptop$ cd /usr/ports/textproc/xpdf
laptop$ make full-run-depends
jpeg-1.5.1p0v0
libiconv-1.14p3
ghostscript-fonts-8.11p3
png-1.6.31
motif-2.3.7

Reply via email to