[hb-shape] Internal rename

This commit is contained in:
Behdad Esfahbod 2022-07-18 12:13:48 -06:00
parent 4f22397f05
commit 94be459808
1 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@
const unsigned DEFAULT_FONT_SIZE = FONT_SIZE_UPEM; const unsigned DEFAULT_FONT_SIZE = FONT_SIZE_UPEM;
const unsigned SUBPIXEL_BITS = 0; const unsigned SUBPIXEL_BITS = 0;
struct output_buffer_t : output_options_t<> struct shape_output_t : output_options_t<>
{ {
void add_options (option_parser_t *parser) void add_options (option_parser_t *parser)
{ {
@ -129,7 +129,7 @@ struct output_buffer_t : output_options_t<>
const char *message, const char *message,
void *user_data) void *user_data)
{ {
output_buffer_t *that = (output_buffer_t *) user_data; shape_output_t *that = (shape_output_t *) user_data;
that->trace (buffer, font, message); that->trace (buffer, font, message);
return true; return true;
} }
@ -162,6 +162,6 @@ struct output_buffer_t : output_options_t<>
int int
main (int argc, char **argv) main (int argc, char **argv)
{ {
using main_t = main_font_text_t<shape_consumer_t<output_buffer_t>, font_options_t, shape_text_options_t>; using main_t = main_font_text_t<shape_consumer_t<shape_output_t>, font_options_t, shape_text_options_t>;
return batch_main<main_t> (argc, argv); return batch_main<main_t> (argc, argv);
} }