[HarfBuzz] pangocairo on Mac: transformation matrix and fontsize

Martin Hosken mhosken at gmail.com
Thu Dec 6 20:06:51 PST 2012


Dear Behdad,

> > The next hold-up is some graphite2 build problems and test failures on PowerPC that I'm dealing with that developer about.
> 
> Please package without graphite2.  That's my recommendation anyway.

And my recommendation is the opposite (of course). Please do package with graphite so that pango will 'just work' with graphite fonts. It's not a big cost, and it is no less portable than having harfbuzz depend on glib, despite Behdad's warnings that if you link to graphite the world will come to an end :)

Could you explain why you think that linking against libgraphite2 is non-portable? Perhaps you could remove this warning? Graphite2 builds in all environments that TeX Live and Firefox do. And we would be more than happy to ensure that Graphite builds in all contexts that harfbuzz does.

Yours,
Martin

PS. Here's my current dependencies on a typical system build of harfbuzz:

ldd /usr/local/lib/libharfbuzz.so
	linux-vdso.so.1 =>  (0x00007fff005be000)
	libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007fcb4ce70000)
	libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007fcb4cb7b000)
	libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007fcb4c8de000)
	libgraphite2.so.3 => /usr/local/lib/libgraphite2.so.3 (0x00007fcb4c6aa000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fcb4c2eb000)
	libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007fcb4c0e2000)
	libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007fcb4bea5000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fcb4bc88000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fcb4ba7f000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fcb4b868000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fcb4d3bb000)

which raises questions as to why some of those are in the list (libpcre, libz).

and (FWIW) here's graphite's:

ldd /usr/local/lib/libgraphite2.so
	linux-vdso.so.1 =>  (0x00007fff2bbff000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fdc14080000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fdc146a6000)



More information about the HarfBuzz mailing list