[HB] Rename harfbuzz-buffer to hb-buffer
This commit is contained in:
parent
b857b49c82
commit
5c0adce1cc
|
@ -11,7 +11,8 @@ CXX = gcc $(GCCOPTS) -g -fno-rtti -fno-exceptions -Wabi -Wpadded -Wcast-align
|
|||
noinst_LTLIBRARIES = libharfbuzz-1.la
|
||||
|
||||
HBSOURCES = \
|
||||
harfbuzz-buffer.c \
|
||||
hb-buffer.c \
|
||||
hb-buffer-private.h \
|
||||
hb-private.h \
|
||||
hb-ot-layout.cc \
|
||||
hb-ot-layout-common-private.h \
|
||||
|
@ -25,7 +26,7 @@ HBSOURCES = \
|
|||
|
||||
HBHEADERS = \
|
||||
hb-common.h \
|
||||
harfbuzz-buffer.h \
|
||||
hb-buffer.h \
|
||||
hb-ot-layout.h \
|
||||
$(NULL)
|
||||
|
||||
|
|
|
@ -25,11 +25,11 @@
|
|||
* Red Hat Author(s): Owen Taylor, Behdad Esfahbod
|
||||
*/
|
||||
|
||||
#ifndef HARFBUZZ_BUFFER_PRIVATE_H
|
||||
#define HARFBUZZ_BUFFER_PRIVATE_H
|
||||
#ifndef HB_BUFFER_PRIVATE_H
|
||||
#define HB_BUFFER_PRIVATE_H
|
||||
|
||||
#include "harfbuzz-impl.h"
|
||||
#include "harfbuzz-buffer.h"
|
||||
#include "hb-buffer.h"
|
||||
|
||||
HB_BEGIN_HEADER
|
||||
|
||||
|
@ -103,4 +103,4 @@ _hb_buffer_allocate_ligid( HB_Buffer buffer );
|
|||
|
||||
HB_END_HEADER
|
||||
|
||||
#endif /* HARFBUZZ_BUFFER_PRIVATE_H */
|
||||
#endif /* HB_BUFFER_PRIVATE_H */
|
|
@ -26,9 +26,7 @@
|
|||
*/
|
||||
|
||||
#include "harfbuzz-impl.h"
|
||||
#include "harfbuzz-buffer-private.h"
|
||||
#include "harfbuzz-gsub-private.h"
|
||||
#include "harfbuzz-gpos-private.h"
|
||||
#include "hb-buffer-private.h"
|
||||
|
||||
/* Here is how the buffer works internally:
|
||||
*
|
||||
|
@ -161,7 +159,7 @@ hb_buffer_add_glyph (HB_Buffer buffer,
|
|||
{
|
||||
HB_Error error;
|
||||
HB_GlyphItem glyph;
|
||||
|
||||
|
||||
hb_buffer_ensure (buffer, buffer->in_length + 1);
|
||||
|
||||
glyph = &buffer->in_string[buffer->in_length];
|
|
@ -25,8 +25,8 @@
|
|||
* Red Hat Author(s): Owen Taylor, Behdad Esfahbod
|
||||
*/
|
||||
|
||||
#ifndef HARFBUZZ_BUFFER_H
|
||||
#define HARFBUZZ_BUFFER_H
|
||||
#ifndef HB_BUFFER_H
|
||||
#define HB_BUFFER_H
|
||||
|
||||
#include "hb-common.h"
|
||||
|
||||
|
@ -65,7 +65,7 @@ typedef struct _hb_buffer_t {
|
|||
unsigned int out_length;
|
||||
unsigned int in_pos;
|
||||
unsigned int out_pos;
|
||||
|
||||
|
||||
hb_bool_t separate_out;
|
||||
HB_GlyphItem in_string;
|
||||
HB_GlyphItem out_string;
|
||||
|
@ -91,4 +91,4 @@ hb_buffer_add_glyph (hb_buffer_t *buffer,
|
|||
|
||||
HB_END_DECLS();
|
||||
|
||||
#endif /* HARFBUZZ_BUFFER_H */
|
||||
#endif /* HB_BUFFER_H */
|
|
@ -28,7 +28,7 @@
|
|||
#define HB_OT_LAYOUT_GSUBGPOS_PRIVATE_H
|
||||
|
||||
#include "hb-ot-layout-gdef-private.h"
|
||||
#include "harfbuzz-buffer-private.h" /* XXX */
|
||||
#include "hb-buffer-private.h" /* XXX */
|
||||
|
||||
|
||||
#define APPLY_ARG_DEF \
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#include "hb-ot-layout.h"
|
||||
|
||||
/* XXX */
|
||||
#include "harfbuzz-buffer.h"
|
||||
#include "hb-buffer.h"
|
||||
|
||||
|
||||
typedef unsigned int hb_ot_layout_class_t;
|
||||
|
|
|
@ -28,6 +28,9 @@
|
|||
|
||||
#define HB_OT_LAYOUT_CC
|
||||
|
||||
/* XXX */
|
||||
#include "hb-buffer-private.h"
|
||||
|
||||
#include "hb-ot-layout.h"
|
||||
#include "hb-ot-layout-private.h"
|
||||
|
||||
|
@ -36,8 +39,6 @@
|
|||
#include "hb-ot-layout-gsub-private.h"
|
||||
#include "hb-ot-layout-gpos-private.h"
|
||||
|
||||
/* XXX */
|
||||
#include "harfbuzz-buffer-private.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#define HB_OT_LAYOUT_H
|
||||
|
||||
#include "hb-common.h"
|
||||
#include "harfbuzz-buffer.h"
|
||||
#include "hb-buffer.h"
|
||||
|
||||
HB_BEGIN_DECLS();
|
||||
|
||||
|
|
Loading…
Reference in New Issue