After spent many days of struggling, finally I built libreoffcie-4.4.0.3 on
Arch linux.
I run the command line on new built software: soffice --headless
--convert-to pdf my.docx
(here my.docx is a regular English document with size 19K)
my.pdf has been created successfully. but the display in Adobe Reader looks
strange: The structure of pdf resembles original docx format. but all
characters in pdf are display as [], in Adobe Reader.
I did the compare with the libreoffice installed on Mac. Here is the
summury:
Original file size
(.docx) size of pdf after convert (.pdf)
using software built on linux box: 19K
8.5K
using software installed on Mac: 19K
98K
You see that the size after converting using new built was much smaller that
the one built from installed software.
I used online tool to extract txt from pdf. it consists of only data
'FFFFF...'
Any idea how this happened or how to debug the issue?
I attached the configuration flags I used to build libreoffice:
--without-java
--disable-cups
--with-doxygen=no
--with-build-version="${_LOver} Arch Linux build-${pkgrel}"
--with-vendor="Arch Linux"
--prefix=/usr
--exec-prefix=/usr
--sysconfdir=/etc
--libdir=/usr/lib
--mandir=/usr/share/man
--enable-split-app-modules
--with-parallelism=${MAKEFLAGS/-j/}
--with-system-openssl
--enable-fetch-external
--enable-verbose
--enable-release-build
--enable-crashdump
--disable-coinmp
--disable-avahi
--disable-dbus
--disable-evolution2
--disable-gio
--disable-gnome-vfs
--disable-lockdown
--disable-odk
--dis
<http://nabble.documentfoundation.org/file/n4143069/Screen_Shot_2015-03-12_at_5.png>
able-orcus
--enable-python=system
--disable-scripting-javascript
--disable-telepathy
--enable-ext-nlpsolver=no
--without-fonts
--with-system-apr
--with-myspell-dicts
--with-system-libcmis
--with-system-libexttextcat
--with-system-orcus
--with-system-liblangtag
--with-system-jfreereport
--without-system-apache-commons
--with-system-libatomic-ops
--with-system-dicts
--with-system-graphite
--with-system-glm
--with-system-redland
--with-system-serf
--without-system-npapi-headers
--without-system-libgltf
--with-system-poppler
--without-system-sane
--with-system-boost
--with-system-icu
--with-system-cairo
--with-system-libs
--with-system-mythes
--with-system-headers
--with-system-hsqldb
--with-alloc=system
--with-system-clucene
--with-system-jpeg
--with-system-lcms2
--with-system-nss
--without-krb5
--with-gssapi
--with-system-vigra
--with-system-odbc
--disable-gconf
--disable-liblangtag
--with-system-liblangtag
--disable-postgresql-sdbc
--disable-firebird-sdbc
--with-system-clucene
--with-system-libebook
--with-system-libetonyek
--with-system-libfreehand
--with-system-libcdr
--disable-dependency-tracking
--disable-gltf
--disable-gtk
--disable-gstreamer-1-0
--disable-gstreamer-0-10
--enable-hardlink-deliver
Thanks ahead for any help