freetype-devel
[Top][All Lists]
Advanced

[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 18:04:12 +0100

Oh, I see now that 
/usr/X11 and /usr/X11R6 are symlinked (rightly) to /opt/X11

So there's a bunch of things like libfreetype, libcairo etc. in /opt/X11 (aka /usr/X11) and, separately, in /usr/local

But this is not different from what I had a month ago. 



On Sat, Mar 26, 2016 at 5:52 PM, Adam Twardoch (Lists) <address@hidden> wrote:
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 <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"
 <address@hidden>
 Subject: [ft-devel] ft2demos with X11 on OS X (XQuartz)
 Message-ID:
    
 <address@hidden>
 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
address@hidden
https://lists.nongnu.org/mailman/listinfo/freetype-devel



reply via email to

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