< prev index next >

src/java.desktop/share/native/libfontmanager/harfbuzz/hb-buffer-deserialize-json.hh

Print this page

        

*** 446,465 **** hb_font_t *font) { const char *p = buf, *pe = buf + buf_len; /* Ensure we have positions. */ ! (void) hb_buffer_get_glyph_positions (buffer, NULL); while (p < pe && ISSPACE (*p)) p++; if (p < pe && *p == (buffer->len ? ',' : '[')) { *end_ptr = ++p; } ! const char *tok = NULL; int cs; hb_glyph_info_t info = {0}; hb_glyph_position_t pos = {0}; #line 466 "hb-buffer-deserialize-json.hh" --- 446,465 ---- hb_font_t *font) { const char *p = buf, *pe = buf + buf_len; /* Ensure we have positions. */ ! (void) hb_buffer_get_glyph_positions (buffer, nullptr); while (p < pe && ISSPACE (*p)) p++; if (p < pe && *p == (buffer->len ? ',' : '[')) { *end_ptr = ++p; } ! const char *tok = nullptr; int cs; hb_glyph_info_t info = {0}; hb_glyph_position_t pos = {0}; #line 466 "hb-buffer-deserialize-json.hh"
< prev index next >