HBLIBS =
HBSOURCES = \
hb-blob.cc \
- hb-blob-private.h \
+ hb-blob-private.hh \
hb-buffer.cc \
hb-buffer-private.hh \
- hb-common.c \
+ hb-common.cc \
hb-font.cc \
- hb-font-private.h \
- hb-object-private.h \
+ hb-font-private.hh \
+ hb-object-private.hh \
hb-open-file-private.hh \
hb-open-type-private.hh \
hb-ot-head-private.hh \
- hb-private.h \
+ hb-private.hh \
hb-shape.cc \
hb-unicode.cc \
hb-unicode-private.hh \
hb-ot-map-private.hh \
hb-ot-shape.cc \
hb-ot-shape-complex-arabic.cc \
- hb-ot-shape-complex-arabic-table.h \
+ hb-ot-shape-complex-arabic-table.hh \
hb-ot-shape-complex-private.hh \
hb-ot-shape-private.hh \
- hb-ot-tag.c \
+ hb-ot-tag.cc \
$(NULL)
HBHEADERS += \
hb-ot.h \
HBCFLAGS += $(FREETYPE_CFLAGS)
HBLIBS += $(FREETYPE_LIBS)
HBSOURCES += \
- hb-ft.c \
+ hb-ft.cc \
$(NULL)
HBHEADERS += \
hb-ft.h \
dist_check_SCRIPTS += check-libstdc++.sh
endif
+TESTS = $(dist_check_SCRIPTS)
-include $(top_srcdir)/git.mk
* Red Hat Author(s): Behdad Esfahbod
*/
-#ifndef HB_BLOB_PRIVATE_H
-#define HB_BLOB_PRIVATE_H
+#ifndef HB_BLOB_PRIVATE_HH
+#define HB_BLOB_PRIVATE_HH
-#include "hb-private.h"
+#include "hb-private.hh"
#include "hb-blob.h"
HB_END_DECLS
-#endif /* HB_BLOB_PRIVATE_H */
+#endif /* HB_BLOB_PRIVATE_HH */
* Red Hat Author(s): Behdad Esfahbod
*/
-#include "hb-private.h"
+#include "hb-private.hh"
-#include "hb-blob-private.h"
+#include "hb-blob-private.hh"
#ifdef HAVE_SYS_MMAN_H
#ifdef HAVE_UNISTD_H
#ifndef HB_BUFFER_PRIVATE_HH
#define HB_BUFFER_PRIVATE_HH
-#include "hb-private.h"
+#include "hb-private.hh"
#include "hb-buffer.h"
#include "hb-unicode-private.hh"
* Red Hat Author(s): Behdad Esfahbod
*/
-#include "hb-private.h"
+#include "hb-private.hh"
HB_BEGIN_DECLS
lang_equal (const void *v1,
const void *v2)
{
- const unsigned char *p1 = v1;
- const unsigned char *p2 = v2;
+ const unsigned char *p1 = (const unsigned char *) v1;
+ const unsigned char *p2 = (const unsigned char *) v2;
while (canon_map[*p1] && canon_map[*p1] == canon_map[*p2])
{
if (unlikely (num_langs == num_alloced)) {
unsigned int new_alloced = 2 * (8 + num_alloced);
- hb_language_t *new_langs = realloc (langs, new_alloced * sizeof (langs[0]));
+ hb_language_t *new_langs = (hb_language_t *) realloc (langs, new_alloced * sizeof (langs[0]));
if (!new_langs)
return NULL;
num_alloced = new_alloced;
* Red Hat Author(s): Behdad Esfahbod
*/
-#ifndef HB_FONT_PRIVATE_H
-#define HB_FONT_PRIVATE_H
+#ifndef HB_FONT_PRIVATE_HH
+#define HB_FONT_PRIVATE_HH
-#include "hb-private.h"
+#include "hb-private.hh"
#include "hb-font.h"
HB_END_DECLS
-#endif /* HB_FONT_PRIVATE_H */
+#endif /* HB_FONT_PRIVATE_HH */
* Red Hat Author(s): Behdad Esfahbod
*/
-#include "hb-private.h"
+#include "hb-private.hh"
-#include "hb-font-private.h"
-#include "hb-blob-private.h"
+#include "hb-font-private.hh"
+#include "hb-blob-private.hh"
#include "hb-open-file-private.hh"
#include "hb-ot-layout-private.hh"
* Red Hat Author(s): Behdad Esfahbod
*/
-#include "hb-private.h"
+#include "hb-private.hh"
#include "hb-ft.h"
-#include "hb-font-private.h"
+#include "hb-font-private.hh"
#include FT_TRUETYPE_TABLES_H
* Red Hat Author(s): Behdad Esfahbod
*/
-#include "hb-private.h"
+#include "hb-private.hh"
#include "hb-glib.h"
* Red Hat Author(s): Behdad Esfahbod
*/
-#include "hb-private.h"
+#include "hb-private.hh"
#include "hb-icu.h"
* Red Hat Author(s): Behdad Esfahbod
*/
-#ifndef HB_OBJECT_PRIVATE_H
-#define HB_OBJECT_PRIVATE_H
+#ifndef HB_OBJECT_PRIVATE_HH
+#define HB_OBJECT_PRIVATE_HH
-#include "hb-private.h"
+#include "hb-private.hh"
HB_BEGIN_DECLS
#define HB_REFERENCE_COUNT_IS_INVALID(RC) (HB_REFERENCE_COUNT_GET_VALUE (RC) == HB_REFERENCE_COUNT_INVALID_VALUE)
-#define HB_REFERENCE_COUNT_HAS_REFERENCE(RC) (HB_REFERENCE_COUNT_GET_VALUE (RC) > 0)
-
/* Debug */
HB_END_DECLS
-#endif /* HB_OBJECT_PRIVATE_H */
+#endif /* HB_OBJECT_PRIVATE_HH */
#ifndef HB_OPEN_TYPE_PRIVATE_HH
#define HB_OPEN_TYPE_PRIVATE_HH
-#include "hb-private.h"
+#include "hb-private.hh"
#include "hb-blob.h"
#include "hb-ot-layout-common-private.hh"
-#include "hb-font-private.h"
+#include "hb-font-private.hh"
HB_BEGIN_DECLS
#ifndef HB_OT_LAYOUT_PRIVATE_HH
#define HB_OT_LAYOUT_PRIVATE_HH
-#include "hb-private.h"
+#include "hb-private.hh"
#include "hb-ot-layout.h"
#include "hb-ot-head-private.hh"
-#include "hb-font-private.h"
+#include "hb-font-private.hh"
#include "hb-buffer-private.hh"
HB_BEGIN_DECLS
* Google Author(s): Behdad Esfahbod
*/
-#ifndef HB_OT_SHAPE_COMPLEX_ARABIC_TABLE_H
-#define HB_OT_SHAPE_COMPLEX_ARABIC_TABLE_H
+#ifndef HB_OT_SHAPE_COMPLEX_ARABIC_TABLE_HH
+#define HB_OT_SHAPE_COMPLEX_ARABIC_TABLE_HH
-#include "hb-private.h"
+#include "hb-private.hh"
HB_BEGIN_DECLS
HB_END_DECLS
-#endif /* HB_OT_SHAPE_COMPLEX_ARABIC_TABLE_H */
+#endif /* HB_OT_SHAPE_COMPLEX_ARABIC_TABLE_HH */
* Joining types:
*/
-#include "hb-ot-shape-complex-arabic-table.h"
+#include "hb-ot-shape-complex-arabic-table.hh"
static unsigned int get_joining_type (hb_codepoint_t u, hb_unicode_general_category_t gen_cat)
{
#ifndef HB_OT_SHAPE_COMPLEX_PRIVATE_HH
#define HB_OT_SHAPE_COMPLEX_PRIVATE_HH
-#include "hb-private.h"
+#include "hb-private.hh"
#include "hb-ot-shape-private.hh"
#ifndef HB_OT_SHAPE_PRIVATE_HH
#define HB_OT_SHAPE_PRIVATE_HH
-#include "hb-private.h"
+#include "hb-private.hh"
#include "hb-ot-shape.h"
* Red Hat Author(s): Behdad Esfahbod
*/
-#include "hb-private.h"
+#include "hb-private.hh"
#include "hb-ot.h"
#include <string.h>
}
/* find a language matching in the first component */
- lang_tag = bsearch (lang_str, ot_languages,
- ARRAY_LENGTH (ot_languages), sizeof (LangTag),
- (hb_compare_func_t) lang_compare_first_component);
+ lang_tag = (LangTag *) bsearch (lang_str, ot_languages,
+ ARRAY_LENGTH (ot_languages), sizeof (LangTag),
+ (hb_compare_func_t) lang_compare_first_component);
/* we now need to find the best language matching */
if (lang_tag)
* Red Hat Author(s): Behdad Esfahbod
*/
-#ifndef HB_PRIVATE_H
-#define HB_PRIVATE_H
+#ifndef HB_PRIVATE_HH
+#define HB_PRIVATE_HH
#if HAVE_CONFIG_H
#include "config.h"
}
-#include "hb-object-private.h"
+#include "hb-object-private.hh"
HB_END_DECLS
-#endif /* HB_PRIVATE_H */
+#endif /* HB_PRIVATE_HH */
* Red Hat Author(s): Behdad Esfahbod
*/
-#include "hb-private.h"
+#include "hb-private.hh"
#include "hb-shape.h"
#ifndef HB_UNICODE_PRIVATE_HH
#define HB_UNICODE_PRIVATE_HH
-#include "hb-private.h"
+#include "hb-private.hh"
#include "hb-unicode.h"
* Google Author(s): Behdad Esfahbod
*/
-#include "hb-private.h"
+#include "hb-private.hh"
#include "hb-unicode-private.hh"
#include <cairo-ft.h>
#include <hb-ft.h>
+HB_BEGIN_DECLS
+
+
/* Controlled by cmd-line options */
static int margin_t = 10;
static int margin_b = 10;
return 0;
}
+
+
+HB_END_DECLS