HomeSort by relevance Sort by last modified time
    Searched defs:font_data (Results 1 - 19 of 19) sorted by null

  /external/chromium_org/content/common/mac/
font_loader.h 34 base::SharedMemory font_data; member in struct:FontLoader::Result
41 // |result->font_data| - shared memory buffer containing the raw data for
44 // |result->font_data_size| - size of data contained in |result->font_data|.
63 static bool CGFontRefFromBuffer(base::SharedMemoryHandle font_data,
  /external/chromium_org/third_party/harfbuzz-ng/src/
test-size-params.cc 55 const char *font_data; local
63 font_data = g_mapped_file_get_contents (mf);
73 font_data = (const char *) malloc (len);
74 if (!font_data) len = 0;
75 len = fread ((char *) font_data, 1, len, f);
77 user_data = (void *) font_data;
82 blob = hb_blob_create (font_data, len, mm, user_data, destroy);
test-would-substitute.cc 59 const char *font_data; local
67 font_data = g_mapped_file_get_contents (mf);
77 font_data = (const char *) malloc (len);
78 if (!font_data) len = 0;
79 len = fread ((char *) font_data, 1, len, f);
81 user_data = (void *) font_data;
86 blob = hb_blob_create (font_data, len, mm, user_data, destroy);
main.cc 50 const char *font_data = NULL; local
55 font_data = g_mapped_file_get_contents (mf);
62 font_data = (const char *) malloc (len);
63 len = fread ((char *) font_data, 1, len, f);
68 const OpenTypeFontFile &ot = *CastP<OpenTypeFontFile> (font_data);
112 const GSUBGPOS &g = *CastP<GSUBGPOS> (font_data + table.offset);
178 const GDEF &gdef = *CastP<GDEF> (font_data + table.offset);
test-buffer-serialize.cc 57 const char *font_data; local
65 font_data = g_mapped_file_get_contents (mf);
75 font_data = (const char *) malloc (len);
76 if (!font_data) len = 0;
77 len = fread ((char *) font_data, 1, len, f);
79 user_data = (void *) font_data;
84 blob = hb_blob_create (font_data, len, mm, user_data, destroy);
test.cc 58 const char *font_data; local
66 font_data = g_mapped_file_get_contents (mf);
76 font_data = (const char *) malloc (len);
77 if (!font_data) len = 0;
78 len = fread ((char *) font_data, 1, len, f);
80 user_data = (void *) font_data;
85 blob = hb_blob_create (font_data, len, mm, user_data, destroy);
hb-uniscribe.cc 550 hb_uniscribe_shaper_font_data_t *font_data = HB_SHAPER_DATA_GET (font);
551 return &font_data->log_font;
558 hb_uniscribe_shaper_font_data_t *font_data = HB_SHAPER_DATA_GET (font);
559 return font_data->hfont;
597 hb_uniscribe_shaper_font_data_t *font_data = HB_SHAPER_DATA_GET (font); local
884 hr = funcs->ScriptShapeOpenType (font_data->hdc,
885 &font_data->script_cache,
925 hr = funcs->ScriptPlaceOpenType (font_data->hdc,
926 &font_data->script_cache,
hb-coretext.cc 198 hb_coretext_shaper_font_data_t *font_data = HB_SHAPER_DATA_GET (font);
199 return font_data->ct_font;
432 hb_coretext_shaper_font_data_t *font_data = HB_SHAPER_DATA_GET (font); local
563 range->font = CTFontCreateCopyWithAttributes (font_data->ct_font, 0.0, NULL, font_desc);
721 kCTFontAttributeName, font_data->ct_font);
798 if (!CFEqual (run_ct_font, font_data->ct_font))
    [all...]
  /external/harfbuzz_ng/src/
test-size-params.cc 55 const char *font_data; local
63 font_data = g_mapped_file_get_contents (mf);
73 font_data = (const char *) malloc (len);
74 if (!font_data) len = 0;
75 len = fread ((char *) font_data, 1, len, f);
77 user_data = (void *) font_data;
82 blob = hb_blob_create (font_data, len, mm, user_data, destroy);
test-would-substitute.cc 59 const char *font_data; local
67 font_data = g_mapped_file_get_contents (mf);
77 font_data = (const char *) malloc (len);
78 if (!font_data) len = 0;
79 len = fread ((char *) font_data, 1, len, f);
81 user_data = (void *) font_data;
86 blob = hb_blob_create (font_data, len, mm, user_data, destroy);
main.cc 50 const char *font_data = NULL; local
55 font_data = g_mapped_file_get_contents (mf);
62 font_data = (const char *) malloc (len);
63 len = fread ((char *) font_data, 1, len, f);
68 const OpenTypeFontFile &ot = *CastP<OpenTypeFontFile> (font_data);
112 const GSUBGPOS &g = *CastP<GSUBGPOS> (font_data + table.offset);
178 const GDEF &gdef = *CastP<GDEF> (font_data + table.offset);
test-buffer-serialize.cc 57 const char *font_data; local
65 font_data = g_mapped_file_get_contents (mf);
75 font_data = (const char *) malloc (len);
76 if (!font_data) len = 0;
77 len = fread ((char *) font_data, 1, len, f);
79 user_data = (void *) font_data;
84 blob = hb_blob_create (font_data, len, mm, user_data, destroy);
test.cc 58 const char *font_data; local
66 font_data = g_mapped_file_get_contents (mf);
76 font_data = (const char *) malloc (len);
77 if (!font_data) len = 0;
78 len = fread ((char *) font_data, 1, len, f);
80 user_data = (void *) font_data;
85 blob = hb_blob_create (font_data, len, mm, user_data, destroy);
hb-uniscribe.cc 549 hb_uniscribe_shaper_font_data_t *font_data = HB_SHAPER_DATA_GET (font);
550 return &font_data->log_font;
557 hb_uniscribe_shaper_font_data_t *font_data = HB_SHAPER_DATA_GET (font);
558 return font_data->hfont;
596 hb_uniscribe_shaper_font_data_t *font_data = HB_SHAPER_DATA_GET (font); local
883 hr = funcs->ScriptShapeOpenType (font_data->hdc,
884 &font_data->script_cache,
925 hr = funcs->ScriptPlaceOpenType (font_data->hdc,
926 &font_data->script_cache,
hb-coretext.cc 203 hb_coretext_shaper_font_data_t *font_data = HB_SHAPER_DATA_GET (font);
204 return font_data->ct_font;
437 hb_coretext_shaper_font_data_t *font_data = HB_SHAPER_DATA_GET (font); local
551 range->font = CTFontCreateCopyWithAttributes (font_data->ct_font, 0.0, NULL, font_desc);
632 kCTFontAttributeName, font_data->ct_font);
712 double advance = CTFontGetAdvancesForGlyphs (font_data->ct_font, kCTFontHorizontalOrientation, &notdef, NULL, 1);
    [all...]
  /external/chromium_org/chrome/renderer/
chrome_render_process_observer.cc 144 std::vector<char> font_data; local
  /external/harfbuzz_ng/util/
options.cc 444 char *font_data; local
469 font_data = g_string_free (gs, false);
470 user_data = font_data;
477 font_data = g_mapped_file_get_contents (mf);
495 if (g_file_get_contents (font_file, &font_data, &l, &error)) {
498 user_data = (void *) font_data;
507 blob = hb_blob_create (font_data, len, mm, user_data, destroy);
  /external/chromium_org/content/renderer/
renderer_webkitplatformsupport_impl.cc 552 base::SharedMemoryHandle font_data; local
554 src_font_descriptor, &font_data_size, &font_data, font_id))) {
560 if (font_data_size == 0 || font_data == base::SharedMemory::NULLHandle() ||
573 return FontLoader::CGFontRefFromBuffer(font_data, font_data_size, out);
    [all...]
  /external/chromium_org/ui/gfx/
render_text_harfbuzz.cc 102 FontData* font_data = reinterpret_cast<FontData*>(data); local
103 GlyphCache* cache = font_data->glyph_cache_;
107 SkPaint* paint = &font_data->paint_;
120 FontData* font_data = reinterpret_cast<FontData*>(data); local
123 GetGlyphWidthAndExtents(&font_data->paint_, glyph, &advance, 0);
137 hb_position_t GetGlyphKerning(FontData* font_data,
140 SkTypeface* typeface = font_data->paint_.getTypeface();
149 SkScalar size = font_data->paint_.getTextSize();
159 FontData* font_data = reinterpret_cast<FontData*>(data); local
160 if (font_data->paint_.isVerticalText())
173 FontData* font_data = reinterpret_cast<FontData*>(data); local
188 FontData* font_data = reinterpret_cast<FontData*>(data); local
    [all...]

Completed in 1744 milliseconds