Re: [HarfBuzz] Simplifying the hb-shape.cc example

2012-01-05 Thread Nicolas Rougier
Thanks for the quick answer. I will try to investigate a bit further to see if there are any errors. If anyone on the list can test the code and report results, that might be helpful as well. I'm attaching the Makefile I used to compile (removed all glib stuff, maybe this where the error is):

Re: [HarfBuzz] Problem with compiling

2012-01-05 Thread Behdad Esfahbod
On 01/05/2012 05:15 PM, Alfabety wrote: > Dou you have some idea how to solve this puzzle? It's building fine, and you can use it. It's just that one of the tests is failing. No idea why, but it's safe to use otherwise. What compiler are you using? behdad _

[HarfBuzz] Problem with compiling

2012-01-05 Thread Alfabety
Hi, I'm trying to build completely independent environment on remote server. I have all dependencies installed — pango, Cairo etc. But harbfuzz make fails (./autogen.sh and ./configure pass without warnings, after I commented one line in configure.ac) $make check gives me this: $make check Mak

Re: [HarfBuzz] Simplifying the hb-shape.cc example

2012-01-05 Thread Behdad Esfahbod
On 01/05/2012 04:44 PM, Nicolas Rougier wrote: > > Hi, > > I've been trying to simplify the hb-shape.c example from the util directory > in order to remove any glib dependencies and come up with source below ( ~50 > lines) but it does not seem to work (no ligature for fi): > > $ hb-shape DejaV

Re: [HarfBuzz] Simplifying the hb-shape.cc example

2012-01-05 Thread Behdad Esfahbod
Nevermind. Lemme check your code. It would be useful to include something like this in an examples directory. I agree that the module util/ code is not the best example to get started anymore. behdad On 01/05/2012 04:57 PM, Behdad Esfahbod wrote: > Hi Nicolas, > > Can you attach a patch inste

Re: [HarfBuzz] Simplifying the hb-shape.cc example

2012-01-05 Thread Behdad Esfahbod
Hi Nicolas, Can you attach a patch instead? behdad On 01/05/2012 04:44 PM, Nicolas Rougier wrote: > > Hi, > > I've been trying to simplify the hb-shape.c example from the util directory > in order to remove any glib dependencies and come up with source below ( ~50 > lines) but it does not se

[HarfBuzz] Simplifying the hb-shape.cc example

2012-01-05 Thread Nicolas Rougier
Hi, I've been trying to simplify the hb-shape.c example from the util directory in order to remove any glib dependencies and come up with source below ( ~50 lines) but it does not seem to work (no ligature for fi): $ hb-shape DejaVuSans.ttf "fi" $ main DejaVuSans.ttf "fi" Did I do somethi

Re: [HarfBuzz] Conflict type declaration with Win32/64 API (SHORT, USHORT, ...)

2012-01-05 Thread Behdad Esfahbod
On 01/05/2012 11:43 AM, Petr Kobalíček wrote: > Another solution can be to maintain my private version of patched > harfbuzz, but personally I don't like this idea. People have successfully compiled HarfBuzz on Windows, and I regularly do so using mingw32. The issue you are facing may be as simpl

[HarfBuzz] Conflict type declaration with Win32/64 API (SHORT, USHORT, ...)

2012-01-05 Thread Petr Kobalíček
Hello list, I'm trying to compile harfbuzz using MSVS2010. I just added important files into the project and added bridge between Fog-Framework and harfbuzz. But I encountered a problem that harfbuzz defines types which conflicts with types which are part of Win32/64 API. The error starts here: