OSPKit
======
This browser is meant to be used with the project html2print available here: .
The aim is to lay out printed documents within a web browser.
We built our own webkit browser in order to have a faster browser and good typography (weirdly, the bearings and kernings can be weird in certain webkit browsers).
Before the compilation for ubuntu users install qt5-default and libqt5webkit5-dev.
How to compile
--------------
cd src
qmake
make
How to launch the app
---------------------
From the WebkitApp directory:
./OSPKit
Available shortcuts
-------------------
- Ctrl + P: Print to file
- Ctrl + Shift + P: Print dialog (allows output page resizing)
- Ctrl + R: Reload
Using the latest version of QTWebkit
------------------------------------
See
sudo apt-get install qt5-default qtpositioning5-dev libqt5sensors5-dev libxcomposite-dev \
libxrender-dev build-essential perl python ruby flex gperf bison \
cmake ninja-build libfontconfig1-dev libicu-dev libsqlite3-dev \
zlib1g-dev libpng12-dev libjpeg-dev libxslt1-dev libxml2-dev libhyphen-dev
git clone -b ospkit --single-branch https://github.com/aleray/webkit.git
cd webkit
WEBKIT_OUTPUTDIR=`pwd`/build/qt Tools/Scripts/build-webkit --qt --release
cd build/qt/Release
sudo ninja install