[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] ft2demos with X11 on OS X (XQuartz) (Re: Freetype-devel D

From: Adam Twardoch (Lists)
Subject: Re: [ft-devel] ft2demos with X11 on OS X (XQuartz) (Re: Freetype-devel Digest, Vol 134, Issue 22)
Date: Sat, 26 Mar 2016 17:52:39 +0100

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 ? 


On Sat, Mar 26, 2016 at 4:52 PM, Hin-Tak Leung <address@hidden> 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, address@hidden <address@hidden> wrote:

 Date: Sat, 26 Mar 2016 08:29:07 +0100
 From: "Adam Twardoch (Lists)" <address@hidden>
 To: "address@hidden"
 Subject: [ft-devel] ft2demos with X11 on OS X (XQuartz)
 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 " 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 ( ) installs X11 into:


 Maybe this could be automatically recognized by FT?

Freetype-devel mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]