X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=DEVELOP.md;h=c89fe160147994aa1d525ce06da05e9a86169bb3;hb=de9a71985d7e58d4c24305b68ff37c6229ef89e9;hp=11020d1ce8bb30d8dd625dd953d7930566549cce;hpb=8ea0bc72744e288a5d8a6c8f23d6dc93e6d4ee66;p=dcpomatic.git diff --git a/DEVELOP.md b/DEVELOP.md index 11020d1ce..c89fe1601 100644 --- a/DEVELOP.md +++ b/DEVELOP.md @@ -59,8 +59,19 @@ to load a script file called `stress` and start executing it. - cp build/src/lib/libdcpomatic.pot src/lib/po/$LANG.po - cp build/src/wx/libdcpomatic-wx.pot src/wx/po/$LANG.po - cp build/src/tools/libdcpomatic-wx.pot src/tools/po/$LANG.po -- sed "s/CHARSET/UTF-8/" src/tools/po/$LANG.po +- sed -i "s/CHARSET/UTF-8/" src/{lib,wx,tools}/po/$LANG.po - Commit / push - Add credit to `src/wx/about_dialog.cc` and database. - Add to `i18n.php` on website and `update-i18n-stats` script, then run `update-i18n-stats` script. + +## Taking screenshots for the manual + +The manual PDF looks nice if vector screenshots are used. These can be taken as follows: + +- Build `gtk-vector-screenshot.git` (using meson/ninja) +- Copy `libgtk-vector-screenshot.so` to `/usr/local/lib/gtk-3.0/modules/` +- Run DCP-o-matic using `run/dcpomatic --screenshot` +- Start `take-vector-screenshot`, click "Take screenshot" then click on the DCP-o-matic window. +- Find a PDF in `/tmp/dcpomatic2.pdf` +- Copy this to `doc/manual/raw-screenshots`