[HarfBuzz] Cpp files to make HarfBuzz easy to build.

jake kolb v simulacrum0 at gmail.com
Tue Dec 29 13:51:23 PST 2015


Daniel/Jonathan/Others,

If it is helpful, i already have a block of cpp files that contain all the Harbuzz files ( some need be included separately for symbol conflicts ).  These were made at v0.9 and are not up to date, but they work well for me to simply "drag and drop" the harbuzz into various build schemes all the major desktop/mobile platforms.  Its one core file and 10 auxiliary files ( they include many C files...the auxiliary are separated by script/features ).

https://copy.com/UZmvg4iGRhYtSCgJ

Much thanks to Behdad & Team-


Notes: 
//!!!
// Changes
- Placed several files into CRef__Harfbuzz that were absent from Src and required autogeneration, such as indic-machine.hh
- Must modify #include "ucdn.h" inside hb-ucdn.cc to move directory up
- Must place the harfbuzz source directory at "../Harfbuzz" or find-replace modify that string as Cpp's #include won't accept macros.


Below is text to add to a "Header" with options that fit your use:


//@@@
// HARFBUZZ BEGIN

// Converted hb-version.h.in to here
#define HAVE_UCDN
#define HAVE_OT

//!!!
// FT USE NOT NEEDED HERE
//#define FT_CONFIG_OPTION_USE_HARFBUZZ

#define HB_VERSION_MAJOR 0
#define HB_VERSION_MINOR 9
#define HB_VERSION_MICRO 29
#define HB_VERSION_STRING "0.9.29"


#include "../Harfbuzz/src/hb.h"
#include "../Harfbuzz/src/hb-ft.h"


// HARFBUZZ END
//@@@



>   1. Re: A plea to make HarfBuzz easier to build.
>      (Daniel Ribeiro Maciel)
>   2. Re: HarfBuzz glyph offsets (Khaled Hosny)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Mon, 28 Dec 2015 20:00:57 -0200
> From: Daniel Ribeiro Maciel <daniel.maciel at gmail.com>
> To: Jonathan Blow <jon at number-none.com>
> Cc: Behdad Esfahbod <behdad.esfahbod at gmail.com>, Harfbuzz
> 	<harfbuzz at lists.freedesktop.org>
> Subject: Re: [HarfBuzz] A plea to make HarfBuzz easier to build.
> Message-ID:
> 	<CAM1_LDE4+fn0Hhwf2KkY=+s+1H_eTTFjv9NwP2YCEvvjKkHrcg at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> I can write a '.cc' file which includes all other '.cc' files and defines a
> bunch of stuff if you guys are willing to add such file to your source tree.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20151229/ae30bd26/attachment.html>


More information about the HarfBuzz mailing list