Ah, yes. I do indeed have cairo, mupdf installed via brew in /usr/local, freetype is also there (built myself). mupdf comes from the "x11" group of things installed by brew. When I try to launch mupdf-x11, I get
error: cannot open display uncaught exception: cannot open display Then I have XQuartz installed in /opt/x11 I guess these two things are in conflict somehow. So, I do have freetype both in /usr/local/include/freetype2/ and /usr/local/lib and in /opt/X11/include/freetype2/ and /opt/X11/lib Do you know how I could build the freetype2-demos tools to link to freetype that is in /opt/X11 ? A. On Sat, Mar 26, 2016 at 4:52 PM, Hin-Tak Leung <ht...@users.sourceforge.net> wrote: > do you have multiple versions of some libraries (possibly freetype) under > both /opt/X11/lib and /usr/local/lib ? Possibly also cairo, etc? > > The X server should be launched on demand by launchd, but it does depend > on you trying to access those versions of libraries under /opt/X11, and > not other > compatible ones under /usr/local/lib, AFAIK. > > -------------------------------------------- > On Sat, 26/3/16, freetype-devel-requ...@nongnu.org < > freetype-devel-requ...@nongnu.org> wrote: > > Date: Sat, 26 Mar 2016 08:29:07 +0100 > From: "Adam Twardoch (Lists)" <list.a...@twardoch.com> > To: "freetype-devel@nongnu.org" > <freetype-devel@nongnu.org> > Subject: [ft-devel] ft2demos with X11 on OS X (XQuartz) > Message-ID: > > <cag32g7nqw428x6jaexegroku2_wth6n+maxzsz_k+1dfdqd...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > I once somehow had managed to build a version of ft2demos > tools which > worked with the OS X X11 (XQuartz) server. > > But now, with the standard "autogen.sh then make" of current > git FreeType > plus the "make" of current git ft2demos, the tools build but > when trying to > use them, I get: > > ftmulti 72 CinzelGX.ttf > cannot open X11 display > could not allocate display surface > > error = 0x0000 > > Perhaps this is because in the recent versions of Mac OS X, > X11 is not > included by default but the optional XQuartz installer ( > http://www.xquartz.org/ ) installs X11 into: > > /opt/X11 > > Maybe this could be automatically recognized by FT? > > > _______________________________________________ > Freetype-devel mailing list > Freetype-devel@nongnu.org > https://lists.nongnu.org/mailman/listinfo/freetype-devel >
_______________________________________________ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel