simon-git: tring (master): tring.git
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Mon Oct 31 23:43:29 GMT 2016
TL;DR:
b268d99 Add a Makefile subtarget for the graphics.
84572c2 Replace Ghostscript graphics generation with Inkscape.
9b97a54 Improve the install script.
Repository: https://git.tartarus.org/simon/tring.git
On the web: https://git.tartarus.org/?p=simon/tring.git
Branch updated: master
Committer: tring.git
Date: 2016-10-31 23:43:29
commit b268d99da07891fe1428c8816c78b99c81a9b603
web diff https://git.tartarus.org/?p=simon/tring.git;a=commitdiff;h=b268d99da07891fe1428c8816c78b99c81a9b603;hp=d92c2777513d167acfdfd2279e2d8696868a7fae
Author: Simon Tatham <anakin at pobox.com>
Date: Sun Oct 30 16:55:41 2016 +0000
Add a Makefile subtarget for the graphics.
At the moment, the 32-bit chroot in which I run the Chumby development
tools is a bit broken and has trouble handling the graphics part of
the build. So it's useful to be able to type 'make graphics' and
_then_ go into the chroot to do the actual compiling.
The bob build script does exactly that, removing the expectation that
the 'chumbydev' delegate environment will provide all the graphics
dependencies as well as the toolchain.
Buildscr | 8 +++++---
Makefile | 2 ++
2 files changed, 7 insertions(+), 3 deletions(-)
commit 84572c25037c78cc7db71f3abedac14ecc113a87
web diff https://git.tartarus.org/?p=simon/tring.git;a=commitdiff;h=84572c25037c78cc7db71f3abedac14ecc113a87;hp=b268d99da07891fe1428c8816c78b99c81a9b603
Author: Simon Tatham <anakin at pobox.com>
Date: Sun Oct 30 14:06:08 2016 +0000
Replace Ghostscript graphics generation with Inkscape.
The advantage of using SVG and feeding it to Inkscape, unlike feeding
PS to Ghostscript, is that it handles kerning in the font you choose.
For that reason alone I've completely rewritten the graphics drawing
system, via a combination of hand-generated SVG for the actual output
plus using the Python Cairo/Pango bindings to query font metrics
during the prior phase of working out _what_ to output. That seems
like a weird combination, but it gets the job done!
.gitignore | 2 +-
Makefile | 11 +-
graphics.ps | 285 ----------------------------------
graphics.py | 496 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 504 insertions(+), 290 deletions(-)
commit 9b97a54b522c18a48de82074c13a7fe4fa17fb13
web diff https://git.tartarus.org/?p=simon/tring.git;a=commitdiff;h=9b97a54b522c18a48de82074c13a7fe4fa17fb13;hp=84572c25037c78cc7db71f3abedac14ecc113a87
Author: Simon Tatham <anakin at pobox.com>
Date: Mon Oct 31 07:24:17 2016 +0000
Improve the install script.
Now it doesn't have my own development pathname hardcoded into it
(ahem), and it can run from the source directory or the build.out
directory in spite of the tring binary living at a different path
relative to it in the two cases. Also I've removed the completely
unnecessary bashism.
install.sh | 24 +++++++++++++++++++-----
1 file changed, 19 insertions(+), 5 deletions(-)
More information about the tartarus-commits
mailing list