Re: Pango Integration?



Thanks Noah - that works thank you so much :-)

While it works from the command line perfectly, PHP does not seem to be able
to wait for the process to finish to get the output back.  However I can
write the output to file and that works fine.

If your ever in Kiwiland I owe you lunch .... Z.


----- Original Message -----
From: "Noah Levitt" <nlevitt columbia edu>


> Compile with
>
>   gcc -Wall `pkg-config --cflags pangoft2` -o pango_get_width
pango_get_width.c `pkg-config --libs pangoft2`
>
> Noah
>
> > Full Error Message:
> > [zitan linuxdev zitan]$ gcc `pkg-config --cflags gtk+-2.0`
pango_get_width.c
> > `pkg-config --libs gtk+-2.0` -o pango_get_width
> > /tmp/ccxkytsb.o(.text+0x7): In function `char_width_from_layout':
> > : undefined reference to `pango_ft2_font_map_new'
> > /tmp/ccxkytsb.o(.text+0x26): In function `char_width_from_layout':
> > : undefined reference to `pango_ft2_font_map_get_type'
> > /tmp/ccxkytsb.o(.text+0x3b): In function `char_width_from_layout':
> > : undefined reference to `pango_ft2_font_map_set_resolution'
> > /tmp/ccxkytsb.o(.text+0x4c): In function `char_width_from_layout':
> > : undefined reference to `pango_ft2_font_map_get_type'
> > /tmp/ccxkytsb.o(.text+0x61): In function `char_width_from_layout':
> > : undefined reference to `pango_ft2_font_map_create_context'
> > collect2: ld returned 1 exit status
> _______________________________________________
> gtk-i18n-list mailing list
> gtk-i18n-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-i18n-list
>
>





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