Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


I need help.

After spent many days of struggling, finally I built libreoffcie-4.4.0.3 on
Arch linux. I built it without X enabled so I can't use the UI to see is
anything wrong apparently.

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 used an online tool which claims to extract text from pdf file. I got back
space plus FFFFFFFFFF...

I did the compare with the result from running the same command against
libreoffice installed on Mac. Here is the summary: 

                                                    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 

I did further testing:
1. convert docx to txt or html, there is no issue
2. create a txt document which contains one character, after convert to pdf
file. The display is a single []

I used pacman to install required libraries first. and build libreoffice.

Following is the options in command line:
--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
                        --disable-fetch-external
                        --enable-verbose
                        --enable-debug
                        --disable-release-build
                        --enable-crashdump
                        --disable-coinmp
                        --disable-avahi
                        --disable-dbus
                        --disable-evolution2
                        --disable-gio
                        --disable-gnome-vfs
                        --disable-lockdown
                        --disable-odk
                        --disable-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
                --with-system-harfbuzz
                        --disable-dependency-tracking
                        --disable-gltf
                        --disable-gtk
                        --disable-gstreamer-1-0
                --disable-gstreamer-0-10
                        --enable-hardlink-deliver

Any idea how this happened or how to debug the issue (which module ? Is
vcl/source/gdi/pdfwriter_impl.cxx the correct place to look at it?).
 
<http://nabble.documentfoundation.org/file/n4143177/Screen_Shot_2015-03-12_at_5.png> 



--
View this message in context: 
http://nabble.documentfoundation.org/convert-docx-to-pdf-creates-a-document-which-display-all-tp4143177.html
Sent from the Dev mailing list archive at Nabble.com.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.