Hi Graham, Sorry for the delayed reply.
On Wednesday, 31 January 2018 5:23 PM, Graham Inggs wrote: > I saw this message in bug #887595  and thought it would be relevant here: > > On Tue, Jan 23, 2018 at 11:56:38AM +0000, Hugh McMaster wrote: >> Also note that the Freetype2 developers no longer recommend using >> #include <freetype2/ft2build.h> >> in source files (which was the intent of my patch). The following should be >> used instead: >> #include <ft2build.h> >> #include FT_FREETYPE_H >> >> Developers would then use either freetype-config or pkg-config to >> obtain the cflags etc. > > Hugh, do you have a reference for the above? The freetype-2.8 API reference shows this #include usage. Look at the documentation provided with libfreetype6-dev in /usr/share/doc/libfreetype6/documentation.html, particulary Tutorial #1 and Example #1. Freetype-2.9 (the most recent upstream version) also has this information. See  for information on freetype2's header inclusion scheme and  for the tutorial.  https://www.freetype.org/freetype2/docs/reference/ft2-header_inclusion.html  https://www.freetype.org/freetype2/docs/tutorial/step1.html  https://anonscm.debian.org/cgit/collab-maint/motif.git/tree/debian/patches/fix_ac_find_xft.patch