Re: [gtk-osx-users] gtk2 failing to build + no pangoft2



It seems all that's required is to manually add pangocoretext.h to
$PREFIX/inst/include after pango is installed - the other missing header(s)
I don't need.

Attempting to build my program now leads to linker errors - undefined
symbols - but only for the macOS Core Text CTFont functions called,
presumably because I am still missing a macOS library.

There is no undefined symbol reported in respect of the single Pango Core
Text function which is called.  

Regards,
David Cooke


-----Original Message-----
From: John Ralls [mailto:jralls ceridwen us] 
Sent: 24 January 2020 19:04
To: David Cooke
Cc: gtk-osx-users-list gnome org
Subject: Re: [gtk-osx-users] gtk2 failing to build + no pangoft2



On Jan 24, 2020, at 9:36 AM, David Cooke <djcooke wintree plus com> wrote:

In your previous reply to my query:

Is it possible to get pango built with both freetype and coretext?

you wrote:

It does. The CoreText support is built into libpangocairo-1.0.dylib. 


In the absence of any identifiable headers for Pango Core Text in
$PREFIX/inst/include, the inference must be that Pango Core Text support
is
not being provided by Gtk-OSX.


Gtk-OSX is only a build manager. What gets installed is controlled by the
individual project; in the case of  pangocoretext.h, that would be
pango/meson.build.

To verify that the CoreText support is present, run `otool -L
$PREFIX/lib/libpangocairo-1.0.dylib` and observe that CoreText.framework is
linked.

Regards,
John Ralls



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