Home
last modified time | relevance | path

Searched refs:logfont (Results 1 – 14 of 14) 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.cc28 LOGFONT* logfont) { in AdjustLogFont() argument
35 logfont->lfHeight = static_cast<long>(font_size_scaler * in AdjustLogFont()
36 static_cast<double>(abs(logfont->lfHeight)) + 0.5) * in AdjustLogFont()
37 (logfont->lfHeight > 0 ? 1 : -1); in AdjustLogFont()
44 memcpy(logfont->lfFaceName, font_family.data(), name_len * sizeof(WORD)); in AdjustLogFont()
45 logfont->lfFaceName[name_len] = 0; in AdjustLogFont()
156 void AdjustUIFont(LOGFONT* logfont) { in AdjustUIFont() argument
162 AdjustUIFontForDIP(dpi_scale, logfont); in AdjustUIFont()
165 void AdjustUIFontForDIP(float dpi_scale, LOGFONT* logfont) { in AdjustUIFontForDIP() argument
170 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.cc41 void SkiaPreCacheFont(const LOGFONT& logfont) { in SkiaPreCacheFont() argument
44 render_thread->PreCacheFont(logfont); in SkiaPreCacheFont()
48 void SkiaPreCacheFontCharacters(const LOGFONT& logfont, in SkiaPreCacheFontCharacters() argument
54 logfont, in SkiaPreCacheFontCharacters()
Drenderer_webkitplatformsupport_impl.cc540 LOGFONT logfont; in ensureFontLoaded() local
541 GetObject(font, sizeof(LOGFONT), &logfont); in ensureFontLoaded()
542 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/chrome/renderer/
Dchrome_render_process_observer.cc142 LOGFONT logfont; in GetFontDataPatch() local
143 if (GetObject(font, sizeof(LOGFONT), &logfont)) { in GetFontDataPatch()
145 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.cc83 void AdjustUIFont(LOGFONT* logfont) { in AdjustUIFont() argument
84 l10n_util::AdjustUIFont(logfont); in AdjustUIFont()