Home
last modified time | relevance | path

Searched refs:logfont (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/content/browser/renderer_host/pepper/
Dpepper_truetype_font_list_win.cc62 LOGFONTW logfont; in GetFontFamilies_SlowBlocking() local
63 memset(&logfont, 0, sizeof(logfont)); in GetFontFamilies_SlowBlocking()
64 logfont.lfCharSet = DEFAULT_CHARSET; in GetFontFamilies_SlowBlocking()
67 &logfont, in GetFontFamilies_SlowBlocking()
75 LOGFONTW logfont; in GetFontsInFamily_SlowBlocking() local
76 memset(&logfont, 0, sizeof(logfont)); in GetFontsInFamily_SlowBlocking()
77 logfont.lfCharSet = DEFAULT_CHARSET; in GetFontsInFamily_SlowBlocking()
79 memcpy(&logfont.lfFaceName, &family16[0], sizeof(logfont.lfFaceName)); in GetFontsInFamily_SlowBlocking()
82 &logfont, in GetFontsInFamily_SlowBlocking()
/external/chromium_org/ui/base/l10n/
Dl10n_util_win.cc27 LOGFONT* logfont) { in AdjustLogFont() argument
34 logfont->lfHeight = static_cast<long>(font_size_scaler * in AdjustLogFont()
35 static_cast<double>(abs(logfont->lfHeight)) + 0.5) * in AdjustLogFont()
36 (logfont->lfHeight > 0 ? 1 : -1); in AdjustLogFont()
43 memcpy(logfont->lfFaceName, font_family.data(), name_len * sizeof(WORD)); in AdjustLogFont()
44 logfont->lfFaceName[name_len] = 0; in AdjustLogFont()
155 void AdjustUIFont(LOGFONT* logfont) { in AdjustUIFont() argument
161 AdjustUIFontForDIP(dpi_scale, logfont); in AdjustUIFont()
164 void AdjustUIFontForDIP(float dpi_scale, LOGFONT* logfont) { in AdjustUIFontForDIP() argument
169 AdjustLogFont(ui_font_family, ui_font_size_scaler, dpi_scale, logfont); in AdjustUIFontForDIP()
[all …]
Dl10n_util_win.h51 UI_BASE_EXPORT void AdjustUIFont(LOGFONT* logfont);
59 UI_BASE_EXPORT void AdjustUIFontForDIP(float dpi_scale, LOGFONT* logfont);
/external/chromium_org/content/common/
Dfont_list_win.cc35 LOGFONTW logfont; in GetFontList_SlowBlocking() local
36 memset(&logfont, 0, sizeof(logfont)); in GetFontList_SlowBlocking()
37 logfont.lfCharSet = DEFAULT_CHARSET; in GetFontList_SlowBlocking()
40 ::EnumFontFamiliesExW(hdc, &logfont, (FONTENUMPROCW)&EnumFontFamExProc, in GetFontList_SlowBlocking()
/external/chromium_org/content/renderer/
Drenderer_main_platform_delegate_win.cc40 void SkiaPreCacheFont(const LOGFONT& logfont) { in SkiaPreCacheFont() argument
43 render_thread->PreCacheFont(logfont); in SkiaPreCacheFont()
47 void SkiaPreCacheFontCharacters(const LOGFONT& logfont, in SkiaPreCacheFontCharacters() argument
53 logfont, in SkiaPreCacheFontCharacters()
Drenderer_webkitplatformsupport_impl.cc562 LOGFONT logfont; in ensureFontLoaded() local
563 GetObject(font, sizeof(LOGFONT), &logfont); in ensureFontLoaded()
564 RenderThread::Get()->PreCacheFont(logfont); in ensureFontLoaded()
/external/pdfium/core/src/fxge/Microsoft SDK/include/
DGdiPlusFont.h64 IN const LOGFONTW* logfont) in Font() argument
67 if (logfont) in Font()
69 lastResult = DllExports::GdipCreateFontFromLogfontW(hdc, logfont, &font); in Font()
86 IN const LOGFONTA* logfont) in Font() argument
90 if (logfont) in Font()
92 lastResult = DllExports::GdipCreateFontFromLogfontA(hdc, logfont, &font); in Font()
DGdiPlusHeaders.h281 IN const LOGFONTA* logfont);
283 IN const LOGFONTW* logfont);
DGdiPlusFlat.h2397 GDIPCONST LOGFONTA *logfont,
2404 GDIPCONST LOGFONTW *logfont,
/external/chromium_org/content/ppapi_plugin/
Dppapi_plugin_main.cc56 void SkiaPreCacheFont(const LOGFONT& logfont) { in SkiaPreCacheFont() argument
58 reinterpret_cast<const void*>(&logfont)); in SkiaPreCacheFont()
Dppapi_webkitplatformsupport_impl.cc76 LOGFONT logfont; in ensureFontLoaded() local
77 GetObject(font, sizeof(LOGFONT), &logfont); in ensureFontLoaded()
82 new ChildProcessHostMsg_PreCacheFont(logfont)); in ensureFontLoaded()
/external/chromium_org/content/renderer/pepper/
Dpepper_truetype_font_win.cc149 LOGFONTW logfont; in GetFontData() local
150 if (!::GetObject(font_, sizeof(LOGFONTW), &logfont)) in GetFontData()
155 render_thread->PreCacheFont(logfont); in GetFontData()
/external/chromium_org/chrome/renderer/
Dchrome_render_process_observer.cc136 LOGFONT logfont; in GetFontDataPatch() local
137 if (GetObject(font, sizeof(LOGFONT), &logfont)) { in GetFontDataPatch()
139 RenderThread::Get()->PreCacheFont(logfont); in GetFontDataPatch()
/external/chromium_org/chrome/utility/
Dprinting_handler.cc165 LOGFONT logfont; in UtilityProcess_GetFontDataPatch() local
166 if (GetObject(font, sizeof(LOGFONT), &logfont)) { in UtilityProcess_GetFontDataPatch()
167 content::UtilityThread::Get()->PreCacheFont(logfont); in UtilityProcess_GetFontDataPatch()
/external/chromium_org/chrome/browser/
Dchrome_browser_main_win.cc79 void AdjustUIFont(LOGFONT* logfont) { in AdjustUIFont() argument
80 l10n_util::AdjustUIFont(logfont); in AdjustUIFont()