Hash :
e700bce1
Author :
Date :
2011-09-20T11:20:53
[util] Add hb-diff A diff program written in Python that is more suitable for comparing hb-shape output from different backends. Main differences with stock diff: 1. It outputs one line's comparison at a time, as opposed to batching '+' lines and '-' lines. 2. It colors the part of the line that changed, taking word boundaries into consideration. You can pipe the colored output to 'less -r'.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
# Process this file with automake to produce Makefile.in
NULL =
EXTRA_DIST =
CLEANFILES =
DISTCLEANFILES =
MAINTAINERCLEANFILES =
bin_PROGRAMS =
AM_CPPFLAGS = \
-I$(top_srcdir)/src/ \
-I$(top_builddir)/src/ \
$(GLIB_CFLAGS) \
$(FREETYPE_CFLAGS) \
$(CAIRO_FT_CFLAGS) \
$(NULL)
LDADD = \
$(top_builddir)/src/libharfbuzz.la \
-lm \
$(GLIB_LIBS) \
$(FREETYPE_LIBS) \
$(NULL)
if HAVE_GLIB
if HAVE_FREETYPE
if HAVE_CAIRO_FT
hb_view_SOURCES = \
hb-view.cc \
hb-view.hh \
options.cc \
options.hh \
helper-cairo.cc \
helper-cairo.hh \
view-cairo.cc \
view-cairo.hh \
$(NULL)
hb_view_LDADD = \
$(LDADD) \
$(CAIRO_LIBS) \
$(CAIRO_FT_LIBS) \
$(NULL)
bin_PROGRAMS += hb-view
endif
endif
endif
if HAVE_GLIB
if HAVE_FREETYPE
hb_shape_SOURCES = \
hb-shape.cc \
hb-view.hh \
options.cc \
options.hh \
$(NULL)
bin_PROGRAMS += hb-shape
endif
endif
EXTRA_DIST += hb-diff
-include $(top_srcdir)/git.mk