Re: [HarfBuzz] Building from git on OS X with Homebrew

2014-06-03 Thread Vincent Isambart
What is the current status about merging those CoreText changes in? On Wednesday, March 26, 2014 at 16:26, Jiang Jiang wrote: On Wed, Mar 26, 2014 at 5:56 AM, Konstantin Ritt ritt...@gmail.com (mailto:ritt...@gmail.com) wrote: That's a great improvement, thanks Jiang. Even more... it

Re: [HarfBuzz] Building from git on OS X with Homebrew

2014-03-26 Thread Jiang Jiang
On Wed, Mar 26, 2014 at 5:56 AM, Konstantin Ritt ritt...@gmail.com wrote: That's a great improvement, thanks Jiang. Even more... it clearly shows the truncation issue I was describing several times already (http://lists.freedesktop.org/archives/harfbuzz/2014-February/004149.html). I'll add

Re: [HarfBuzz] Building from git on OS X with Homebrew

2014-03-25 Thread Behdad Esfahbod
On 14-03-25 03:08 PM, Jiang Jiang wrote: On Mon, Mar 24, 2014 at 11:18 PM, Jiang Jiang gzjj...@gmail.com wrote: I have to explain that I do intend to use the OT shaper, but I just want to have the font table data loaded from a CGFontRef instead. In case anyone wondering (doesn't seemed to

Re: [HarfBuzz] Building from git on OS X with Homebrew

2014-03-25 Thread Jiang Jiang
On Tue, Mar 25, 2014 at 11:14 PM, Behdad Esfahbod beh...@behdad.org wrote: In case anyone wondering (doesn't seemed to see any interests in this scenario), I managed to get it working by implementing a set of Core Text font_funcs for HarfBuzz:

Re: [HarfBuzz] Building from git on OS X with Homebrew

2014-03-25 Thread Behdad Esfahbod
On 14-03-25 03:17 PM, Jiang Jiang wrote: On Tue, Mar 25, 2014 at 11:14 PM, Behdad Esfahbod beh...@behdad.org wrote: In case anyone wondering (doesn't seemed to see any interests in this scenario), I managed to get it working by implementing a set of Core Text font_funcs for HarfBuzz:

[HarfBuzz] Building from git on OS X with Homebrew

2014-03-24 Thread James Clark
I had another go at building harfbuzz from git on Mac OS X. Using Homebrew, together with gtk-doc's now being optional, made it an order of magnitude easier than last time (glib and freetype are so that hb-shape builds): # Install Xcode command line tools xcode-select --install # Install

Re: [HarfBuzz] Building from git on OS X with Homebrew

2014-03-24 Thread Werner LEMBERG
After that you should recompile FreeType again [...] Uh, oh, I mean either `compile again' or `recompile' :-) Werner ___ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/harfbuzz

Re: [HarfBuzz] Building from git on OS X with Homebrew

2014-03-24 Thread Rolf Langenhuijzen
Yes, I tried this too and worked fine (I forgot the double Freetype compilation). I need to find some time, but will do a separate formula for the brew collection so it's easier to install even for others (and just run brew install harfbuzz-git or something, including extra options for the

Re: [HarfBuzz] Building from git on OS X with Homebrew

2014-03-24 Thread Behdad Esfahbod
On 14-03-24 01:32 AM, James Clark wrote: I had another go at building harfbuzz from git on Mac OS X. Using Homebrew, together with gtk-doc's now being optional, made it an order of magnitude easier than last time (glib and freetype are so that hb-shape builds): A while ago I put MacPorts

Re: [HarfBuzz] Building from git on OS X with Homebrew

2014-03-24 Thread Rolf Langenhuijzen
You have to install one package at a time, and have to know the formula names (https://github.com/mbcoguno/homebrew-core/tree/master/Library/Formula) So like James wrote (and first install Homebrew which depends on Xcode cmd line tools); I’d point to http://brew.sh for the basic information.

Re: [HarfBuzz] Building from git on OS X with Homebrew

2014-03-24 Thread Rolf Langenhuijzen
oh crap, in addition you would run brew install freetype” again after all this (below) because of the chicken-and-egg problem Werner posted about before. Rolf On 24 Mar 2014, at 22:00, Rolf Langenhuijzen rolf.langenhuij...@xs4all.nl wrote: You have to install one package at a time, and have

Re: [HarfBuzz] Building from git on OS X with Homebrew

2014-03-24 Thread Rolf Langenhuijzen
OK, one more note; I will try to setup OSX Mavericks on a VirtualBox setup later this week to test this install from scratch on a clean system. There were some issues in the past installing OSX on VirtualBox, but I think those issues are over (at least when using latest OSX Mavericks, latest

Re: [HarfBuzz] Building from git on OS X with Homebrew

2014-03-24 Thread Behdad Esfahbod
On 14-03-24 06:16 AM, Rolf Langenhuijzen wrote: I was wondering if --with-icu has any advantages/disadvantages? I haven't used it on osx or ubuntu, but I'm using very basic stuff of harfbuzz. It will build harfbuzz-icu.so, which has glue for integrating with ICU. -- behdad http://behdad.org/

Re: [HarfBuzz] Building from git on OS X with Homebrew

2014-03-24 Thread Jiang Jiang
Hi Behdad, On Mon, Mar 24, 2014 at 8:00 PM, Behdad Esfahbod beh...@behdad.org wrote: On 14-03-24 01:32 AM, James Clark wrote: I had another go at building harfbuzz from git on Mac OS X. Using Homebrew, together with gtk-doc's now being optional, made it an order of magnitude easier than last

Re: [HarfBuzz] Building from git on OS X with Homebrew

2014-03-24 Thread Jiang Jiang
On Mon, Mar 24, 2014 at 10:12 PM, Jiang Jiang gzjj...@gmail.com wrote: Am I missing something or why are the glyphs always 0? I just realized that src/test.cc adds some UTF-8 text that might not be supported by the font given. I changed the text to some ASCII text and it seemed to work.

Re: [HarfBuzz] Building from git on OS X with Homebrew

2014-03-24 Thread James Clark
On Tue, Mar 25, 2014 at 2:00 AM, Behdad Esfahbod beh...@behdad.org wrote: A while ago I put MacPorts instructions on the harfbuzz homepage. It might be helpful also to put those instructions in an INSTALL file in the repository. I suspect some people (like me!) in their eagerness to get