Home
last modified time | relevance | path

Searched refs:font_desc (Results 1 – 24 of 24) sorted by relevance

/external/chromium_org/content/browser/renderer_host/pepper/
Dpepper_truetype_font_list_pango.cc44 PangoFontDescription* font_desc = ::pango_font_face_describe(font_face); in GetFontsInFamily_SlowBlocking() local
47 if (::pango_font_description_get_style(font_desc) == PANGO_STYLE_ITALIC) in GetFontsInFamily_SlowBlocking()
50 ::pango_font_description_get_weight(font_desc)); in GetFontsInFamily_SlowBlocking()
52 ::pango_font_description_get_stretch(font_desc)); in GetFontsInFamily_SlowBlocking()
57 ::pango_font_description_free(font_desc); in GetFontsInFamily_SlowBlocking()
/external/chromium_org/content/renderer/pepper/
Dpepper_truetype_font_win.cc98 LOGFONT font_desc; in Describe() local
99 if (!::GetObject(font_, sizeof(LOGFONT), &font_desc)) in Describe()
102 switch (font_desc.lfPitchAndFamily & 0xF0) { // Top 4 bits are family. in Describe()
120 desc->style = font_desc.lfItalic ? PP_TRUETYPEFONTSTYLE_ITALIC : in Describe()
122 desc->weight = static_cast<PP_TrueTypeFontWeight_Dev>(font_desc.lfWeight); in Describe()
125 static_cast<PP_TrueTypeFontCharset_Dev>(font_desc.lfCharSet); in Describe()
/external/chromium_org/ppapi/c/private/
Dppb_flash.h158 const struct PP_BrowserFont_Trusted_Description* font_desc,
245 const struct PP_BrowserFont_Trusted_Description* font_desc,
276 const struct PP_BrowserFont_Trusted_Description* font_desc,
310 const struct PP_BrowserFont_Trusted_Description* font_desc,
/external/chromium_org/chrome/renderer/pepper/
Dpepper_flash_renderer_host.cc207 if (static_cast<PP_BrowserFont_Trusted_Weight>(params.font_desc.weight) >= in OnDrawGlyphs()
210 if (params.font_desc.italic) in OnDrawGlyphs()
213 SkTypeface::CreateFromName(params.font_desc.face.c_str(), in OnDrawGlyphs()
265 paint.setTextSize(SkIntToScalar(params.font_desc.size)); in OnDrawGlyphs()
/external/chromium_org/ppapi/proxy/
Dflash_resource.cc189 const PP_BrowserFont_Trusted_Description* font_desc, in DrawGlyphs() argument
208 params.font_desc.SetFromPPBrowserFontDescription(*font_desc); in DrawGlyphs()
Dflash_resource.h48 const PP_BrowserFont_Trusted_Description* font_desc,
Dserialized_structs.h110 SerializedFontDescription font_desc; member
Dserialized_structs.cc127 font_desc(), in PPBFlash_DrawGlyphs_Params()
Dppapi_param_traits.cc342 ParamTraits<ppapi::proxy::SerializedFontDescription>::Write(m, p.font_desc); in Write()
369 &r->font_desc) && in Read()
/external/chromium_org/ppapi/cpp/private/
Dflash.cc103 const BrowserFontDescription& font_desc, in DrawGlyphs() argument
117 &font_desc.pp_font_description(), in DrawGlyphs()
131 &font_desc.pp_font_description(), in DrawGlyphs()
Dflash.h41 const BrowserFontDescription& font_desc,
/external/chromium_org/ppapi/thunk/
Dppb_flash_thunk.cc32 const PP_BrowserFont_Trusted_Description* font_desc, in DrawGlyphs() argument
45 instance, pp_image_data, font_desc, color, position, clip, transformation, in DrawGlyphs()
Dppb_flash_functions_api.h35 const PP_BrowserFont_Trusted_Description* font_desc,
/external/chromium/chrome/browser/ui/gtk/
Dcertificate_viewer.cc625 PangoFontDescription* font_desc = pango_font_description_copy( in InitDetailsPage() local
626 gtk_widget_get_style(field_value_view)->font_desc); in InitDetailsPage()
627 pango_font_description_set_family(font_desc, kDetailsFontFamily); in InitDetailsPage()
628 gtk_widget_modify_font(field_value_view, font_desc); in InitDetailsPage()
629 pango_font_description_free(font_desc); in InitDetailsPage()
Dgtk_util.cc107 widget->style->font_desc, pango_context_get_language(context)); in GetCharacterWidthForPixels()
273 widget->style->font_desc, pango_context_get_language(context)); in GetWidgetSizeFromCharacters()
458 PangoFontDescription* font_desc = style->font_desc; in ForceFontSizePixels() local
461 pango_font_description_set_absolute_size(font_desc, in ForceFontSizePixels()
463 gtk_widget_modify_font(widget, font_desc); in ForceFontSizePixels()
Dlocation_bar_view_gtk.cc921 gtk_widget_get_style(security_info_label_)->font_desc, in UpdateEVCertificateLabelSize()
/external/chromium_org/chrome/browser/ui/gtk/
Dcertificate_viewer_gtk.cc639 gfx::ScopedPangoFontDescription font_desc(pango_font_description_copy( in InitDetailsPage() local
640 gtk_widget_get_style(field_value_view)->font_desc)); in InitDetailsPage()
641 pango_font_description_set_family(font_desc.get(), kDetailsFontFamily); in InitDetailsPage()
642 gtk_widget_modify_font(field_value_view, font_desc.get()); in InitDetailsPage()
Dgtk_util.cc108 style->font_desc, pango_context_get_language(context)); in GetCharacterWidthForPixels()
350 style->font_desc, pango_context_get_language(context)); in GetWidgetSizeFromCharacters()
473 gfx::ScopedPangoFontDescription font_desc(pango_font_description_new()); in ForceFontSizePixels() local
476 pango_font_description_set_absolute_size(font_desc.get(), in ForceFontSizePixels()
478 gtk_widget_modify_font(widget, font_desc.get()); in ForceFontSizePixels()
Dlocation_bar_view_gtk.cc1332 gtk_widget_get_style(security_info_label_)->font_desc, in UpdateEVCertificateLabelSize()
/external/chromium_org/third_party/harfbuzz-ng/src/
Dhb-coretext.cc510 CTFontDescriptorRef font_desc = CTFontDescriptorCreateWithAttributes (attributes); in _hb_coretext_shape() local
513 range->font = CTFontCreateCopyWithAttributes (font_data->ct_font, 0.0, NULL, font_desc); in _hb_coretext_shape()
515 CFRelease (font_desc); in _hb_coretext_shape()
/external/chromium_org/ppapi/api/private/
Dppb_flash.idl139 [in] PP_BrowserFont_Trusted_Description font_desc,
/external/chromium_org/chrome/browser/ui/gtk/omnibox/
Domnibox_view_gtk.cc1708 (rc_style && rc_style->font_desc) ? in GetFont()
1709 rc_style->font_desc : gtk_style->font_desc); in GetFont()
/external/chromium/chrome/browser/autocomplete/
Dautocomplete_edit_view_gtk.cc1799 gfx::Font font((rc_style && rc_style->font_desc) ? in GetFont()
1800 rc_style->font_desc : in GetFont()
1801 widget->style->font_desc); in GetFont()
/external/chromium_org/ppapi/native_client/src/untrusted/pnacl_irt_shim/
Dpnacl_shim.c2472 …esource pp_image_data, const struct PP_BrowserFont_Trusted_Description* font_desc, uint32_t color,… in Pnacl_M21_PPB_Flash_DrawGlyphs() argument
2474 …return iface->DrawGlyphs(instance, pp_image_data, font_desc, color, position, clip, transformation… in Pnacl_M21_PPB_Flash_DrawGlyphs()
2551 …esource pp_image_data, const struct PP_BrowserFont_Trusted_Description* font_desc, uint32_t color,… in Pnacl_M22_PPB_Flash_DrawGlyphs() argument
2553 …return iface->DrawGlyphs(instance, pp_image_data, font_desc, color, position, clip, transformation… in Pnacl_M22_PPB_Flash_DrawGlyphs()
2635 …esource pp_image_data, const struct PP_BrowserFont_Trusted_Description* font_desc, uint32_t color,… in Pnacl_M24_0_PPB_Flash_DrawGlyphs() argument
2637 …return iface->DrawGlyphs(instance, pp_image_data, font_desc, color, position, clip, transformation… in Pnacl_M24_0_PPB_Flash_DrawGlyphs()
2724 …esource pp_image_data, const struct PP_BrowserFont_Trusted_Description* font_desc, uint32_t color,… in Pnacl_M24_1_PPB_Flash_DrawGlyphs() argument
2726 …return iface->DrawGlyphs(instance, pp_image_data, font_desc, color, position, clip, transformation… in Pnacl_M24_1_PPB_Flash_DrawGlyphs()
4736 …esource pp_image_data, const struct PP_BrowserFont_Trusted_Description* font_desc, uint32_t color,…
4754 …esource pp_image_data, const struct PP_BrowserFont_Trusted_Description* font_desc, uint32_t color,…
[all …]