Re: missing dejavusansmono in rrdtool pango cairo fontconfig

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: missing dejavusansmono in rrdtool pango cairo fontconfig

macports-2

On 2018-04-13, at 19:02, [hidden email] wrote:

port -dv install pango +quartz +x11

i see : pango: checking which cairo font backends could be used... quartz freetype --> NO fontconfig

in the Cairo port are several andbales and disables but nothing for fontconfig. could that be my problem?

Nope.

one step further:

for fontconfig cairo needs variant +opengl so it becomes cairo +opengl +quartz +x11.

then pango complains in configure:
-----
configure:18611: checking for FcWeightFromOpenTypeDouble
configure:18611: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -Wall -I/opt/macp2/include -L/opt/macp2/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  -L/opt/macp2/lib -lfontconfig -lfreetype >&5
Undefined symbols for architecture x86_64:
  "_FcWeightFromOpenTypeDouble", referenced from:
      _main in conftest-b4df1e.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
-----

note -lfontconfig

i installed fontconfig -universal.


Reply | Threaded
Open this post in threaded view
|

Re: missing dejavusansmono in rrdtool pango cairo fontconfig

Joshua Root-8
On 2018-4-14 12:21 , [hidden email] wrote:

>
>> On 2018-04-13, at 19:02, [hidden email]
>> <mailto:[hidden email]> wrote:
>>
>> port -dv install pango +quartz +x11
>>
>> i see : pango: checking which cairo font backends could be used...
>> quartz freetype --> NO fontconfig
>>
>> in the Cairo port are several andbales and disables but nothing for
>> fontconfig. could that be my problem?
>
> Nope.
>
> one step further:
>
> for fontconfig cairo needs variant +opengl so it becomes cairo +opengl
> +quartz +x11.
>
> then pango complains in configure:
> -----
> configure:18611: checking for FcWeightFromOpenTypeDouble
> configure:18611: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -Wall
> -I/opt/macp2/include -L/opt/macp2/lib -Wl,-headerpad_max_install_names
> -arch x86_64 conftest.c  -L/opt/macp2/lib -lfontconfig -lfreetype >&5
> Undefined symbols for architecture x86_64:
>   "_FcWeightFromOpenTypeDouble", referenced from:
>       _main in conftest-b4df1e.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> -----
>
> note -lfontconfig
>
> i installed fontconfig -universal.

<https://www.freedesktop.org/software/fontconfig/fontconfig-devel/fcweightfromopentypedouble.html>

Note the part at the bottom: "Since version 2.12.92"

The fontconfig port is currently at version 2.12.6.

- Josh
Reply | Threaded
Open this post in threaded view
|

Re: missing dejavusansmono in rrdtool pango cairo fontconfig

macports-2

On 2018-04-14, at 04:49, Joshua Root <[hidden email]> wrote:

On 2018-4-14 12:21 , [hidden email] wrote:

On 2018-04-13, at 19:02, [hidden email]
<[hidden email]> wrote:

port -dv install pango +quartz +x11

i see : pango: checking which cairo font backends could be used...
quartz freetype --> NO fontconfig

in the Cairo port are several andbales and disables but nothing for
fontconfig. could that be my problem?

Nope.

one step further:

for fontconfig cairo needs variant +opengl so it becomes cairo +opengl
+quartz +x11.

then pango complains in configure:
-----
configure:18611: checking for FcWeightFromOpenTypeDouble
configure:18611: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -Wall
-I/opt/macp2/include -L/opt/macp2/lib -Wl,-headerpad_max_install_names
-arch x86_64 conftest.c  -L/opt/macp2/lib -lfontconfig -lfreetype >&5
Undefined symbols for architecture x86_64:
  "_FcWeightFromOpenTypeDouble", referenced from:
      _main in conftest-b4df1e.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
-----

note -lfontconfig

i installed fontconfig -universal.

<https://www.freedesktop.org/software/fontconfig/fontconfig-devel/fcweightfromopentypedouble.html>

Note the part at the bottom: "Since version 2.12.92"

The fontconfig port is currently at version 2.12.6.

- Josh

I missed that, so pango needs a function that is not yet not available in fontconfig.

the implication is that rrdtool never could have worked with is own default fonts dejavu.

i think i have to make a ticket about this.

paul.