HomeSort by relevance Sort by last modified time
    Searched refs:LOGFONT (Results 1 - 25 of 31) sorted by null

1 2

  /external/skia/include/ports/
SkTypeface_win.h 18 * corresponding typeface for the specified logfont. The caller is responsible
21 SK_API SkTypeface* SkCreateTypefaceFromLOGFONT(const LOGFONT&);
24 * Copy the LOGFONT associated with this typeface into the lf parameter. Note
27 * typeface may be NULL, in which case we return the logfont for the default font.
29 SK_API void SkLOGFONTFromTypeface(const SkTypeface* typeface, LOGFONT* lf);
  /external/skia/legacy/include/ports/
SkTypeface_win.h 18 * corresponding typeface for the specified logfont. The caller is responsible
21 SK_API SkTypeface* SkCreateTypefaceFromLOGFONT(const LOGFONT&);
24 * Copy the LOGFONT associated with this typeface into the lf parameter. Note
27 * typeface may be NULL, in which case we return the logfont for the default font.
29 SK_API void SkLOGFONTFromTypeface(const SkTypeface* typeface, LOGFONT* lf);
  /external/webkit/Source/WebCore/platform/graphics/chromium/
FontUtilsChromiumWin.h 63 // Derive a new HFONT by replacing lfFaceName of LOGFONT with |family|,
68 // should match what's contained in LOGFONT. It should be calculated
81 bool getDerivedFontData(const UChar* family, int style, LOGFONT*, int* ascent, HFONT*, SCRIPT_CACHE**, WORD* spaceGlyph);
91 // FONT_STYLE_ITALIC) from LOGFONT. Returns 0 if |*logfont| is NULL.
92 int getStyleFromLogfont(const LOGFONT*);
FontCacheChromiumWin.cpp 240 static HFONT createFontIndirectAndGetWinName(const String& family, LOGFONT* winfont, String* winName)
328 static SimpleFontData* fontDataFromDescriptionAndLogFont(FontCache* fontCache, const FontDescription& fontDescription, const LOGFONT& font, wchar_t* outFontFamilyName)
352 static void FillLogFont(const FontDescription& fontDescription, LOGFONT* winfont)
381 static int CALLBACK traitsInFamilyEnumProc(CONST LOGFONT* logFont, CONST TEXTMETRIC* metrics, DWORD fontType, LPARAM lParam)
386 traitsMask |= logFont->lfItalic ? FontStyleItalicMask : FontStyleNormalMask;
388 LONG weight = logFont->lfWeight;
417 static int CALLBACK getLastResortFallbackFontProc(const LOGFONT* logFont, const TEXTMETRIC* metrics, DWORD fontType, LPARAM lParam)
420 procData->m_fontData = fontDataFromDescriptionAndLogFont(procData->m_fontCache, *procData->m_fontDescription, *logFont, procData->m_fontName)
    [all...]
SimpleFontDataChromiumWin.cpp 117 LOGFONT winFont;
118 GetObject(m_platformData.hfont(), sizeof(LOGFONT), &winFont);
UniscribeHelper.h 394 LOGFONT m_logfont;
FontUtilsChromiumWin.cpp 393 LOGFONT* logfont,
399 ASSERT(logfont);
409 String fontKey = String::format("%1d:%d:%ls", style, logfont->lfHeight, family);
414 wcscpy_s(logfont->lfFaceName, LF_FACESIZE, family);
421 derived->hfont = CreateFontIndirect(logfont);
442 int getStyleFromLogfont(const LOGFONT* logfont)
445 // returning it when logfont is 0
446 if (!logfont) {
    [all...]
UniscribeHelper.cpp 47 // This function uses GetObject to convert HFONT back to LOGFONT,
48 // resets the fields of LOGFONT and calculates style to use later
50 static void setLogFontAndStyle(HFONT hfont, LOGFONT *logfont, int *style)
52 ASSERT(hfont && logfont);
53 if (!hfont || !logfont)
56 GetObject(hfont, sizeof(LOGFONT), logfont);
60 logfont->lfWidth = 0;
61 logfont->lfEscapement = 0
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/wince/
FontPlatformData.h 35 typedef struct tagLOGFONTW LOGFONT;
69 const LOGFONT& logFont() const;
FontPlatformData.cpp 84 static int CALLBACK enumFontFamProc(const LOGFONT FAR* lpelf, const TEXTMETRIC FAR* lpntm, DWORD FontType, LPARAM lParam);
96 static int CALLBACK enumFontFamProc(const LOGFONT FAR* lpelf, const TEXTMETRIC FAR* lpntm, DWORD FontType, LPARAM lParam);
101 LOGFONT m_font;
179 int CALLBACK FontFamilyChecker::enumFontFamProc(const LOGFONT FAR* lpelf, const TEXTMETRIC FAR* lpntm, DWORD FontType, LPARAM lParam)
185 int CALLBACK ValidFontFamilyFinder::enumFontFamProc(const LOGFONT FAR* lpelf, const TEXTMETRIC FAR* lpntm, DWORD FontType, LPARAM lParam)
245 LOGFONT& winFont = fontData->m_font;
410 LOGFONT font = m_private->m_rootFontData->m_font;
461 const LOGFONT& FontPlatformData::logFont() const
FontCacheWinCE.cpp 187 static int CALLBACK traitsInFamilyEnumProc(CONST LOGFONT* logFont, CONST TEXTMETRIC* metrics, DWORD fontType, LPARAM lParam)
192 traitsMask |= logFont->lfItalic ? FontStyleItalicMask : FontStyleNormalMask;
194 LONG weight = FontPlatformData::adjustedGDIFontWeight(logFont->lfWeight, procData->m_familyName);
339 LOGFONT logFont;
340 logFont.lfCharSet = DEFAULT_CHARSET;
342 memcpy(logFont.lfFaceName, familyName.characters(), familyLength * sizeof(UChar));
343 logFont.lfFaceName[familyLength] = 0;
344 logFont.lfPitchAndFamily = 0
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/win/
FontCacheWin.cpp 73 static int CALLBACK metaFileEnumProc(HDC hdc, HANDLETABLE* table, CONST ENHMETARECORD* record, int tableEntries, LPARAM logFont)
77 *reinterpret_cast<LOGFONT*>(logFont) = createFontRecord->elfw.elfLogFont;
82 static int CALLBACK linkedFontEnumProc(CONST LOGFONT* logFont, CONST TEXTMETRIC* metrics, DWORD fontType, LPARAM hfont)
84 *reinterpret_cast<HFONT*>(hfont) = CreateFontIndirect(logFont);
180 LOGFONT lf;
181 GetObject(MLangFont, sizeof(LOGFONT), &lf);
246 LOGFONT logFont;
    [all...]
FontCustomPlatformData.cpp 67 LOGFONT& logFont = *static_cast<LOGFONT*>(malloc(sizeof(LOGFONT)));
69 TTGetNewFontName(&m_fontReference, logFont.lfFaceName, LF_FACESIZE, 0, 0);
71 memcpy(logFont.lfFaceName, m_name.charactersWithNullTermination(), sizeof(logFont.lfFaceName[0]) * min(static_cast<size_t>(LF_FACESIZE), 1 + m_name.length()));
73 logFont.lfHeight = -size;
75 logFont.lfHeight *= 32;
76 logFont.lfWidth = 0
    [all...]
SimpleFontDataWin.cpp 120 LOGFONT winfont;
121 GetObject(m_platformData.hfont(), sizeof(LOGFONT), &winfont);
FontPlatformDataCGWin.cpp 112 LOGFONT logfont; local
113 GetObject(font, sizeof(logfont), &logfont);
114 m_cgFont.adoptCF(CGFontCreateWithPlatformFont(&logfont));
  /external/webkit/Source/WebKit/chromium/tests/
UniscribeHelperTest.cpp 53 LOGFONT lf;
54 memset(&lf, 0, sizeof(LOGFONT));
  /external/skia/legacy/src/ports/
SkFontHost_win.cpp 79 * Since LOGFONT wants its textsize as an int, and we support fractional sizes,
86 static void make_canonical(LOGFONT* lf) {
93 static SkTypeface::Style get_style(const LOGFONT& lf) {
104 static void setStyle(LOGFONT* lf, SkTypeface::Style style) {
146 LogFontTypeface(SkTypeface::Style style, SkFontID fontID, const LOGFONT& lf) :
149 LOGFONT fLogFont;
151 static LogFontTypeface* Create(const LOGFONT& lf) {
158 static const LOGFONT& get_default_font() {
159 static LOGFONT gDefaultFont;
165 const LOGFONT* lf = reinterpret_cast<const LOGFONT*>(ctx)
    [all...]
  /external/skia/src/ports/
SkFontHost_win.cpp 32 static bool compute_bounds_outset(const LOGFONT& lf, SkIRect* outset) {
143 * Since LOGFONT wants its textsize as an int, and we support fractional sizes,
150 static void make_canonical(LOGFONT* lf) {
157 static SkTypeface::Style get_style(const LOGFONT& lf) {
168 static void setStyle(LOGFONT* lf, SkTypeface::Style style) {
213 LogFontTypeface(SkTypeface::Style style, SkFontID fontID, const LOGFONT& lf, bool serializeAsStream = false) :
237 // Used a logfont on a memory context, should never get a device font.
243 LOGFONT fLogFont;
247 static LogFontTypeface* Create(const LOGFONT& lf) {
259 FontMemResourceTypeface(SkTypeface::Style style, SkFontID fontID, const LOGFONT& lf, HANDLE fontMemResource)
    [all...]
  /external/chromium/chrome/common/
utility_messages.h 171 LOGFONT /* font data */)
  /external/webkit/Source/WebCore/platform/graphics/skia/
FontCustomPlatformData.cpp 74 LOGFONT logFont;
82 memcpy(logFont.lfFaceName, m_name.charactersWithNullTermination(),
83 sizeof(logFont.lfFaceName[0]) * (1 + m_name.length()));
87 logFont.lfHeight = -size;
88 logFont.lfWidth = 0;
89 logFont.lfEscapement = 0;
90 logFont.lfOrientation = 0;
91 logFont.lfUnderline = false;
92 logFont.lfStrikeOut = false
    [all...]
SkiaFontWin.cpp 337 LOGFONT info;
  /external/webkit/WebKitLibraries/win/include/WebKitSystemInterface/
WebKitSystemInterface.h 59 typedef LOGFONTW LOGFONT;
  /external/webkit/Source/WebCore/rendering/
RenderThemeWin.cpp 283 static void fillFontDescription(FontDescription& fontDescription, LOGFONT& logFont, float fontSize)
287 fontDescription.firstFamily().setFamily(String(logFont.lfFaceName));
289 fontDescription.setWeight(logFont.lfWeight >= 700 ? FontWeightBold : FontWeightNormal); // FIXME: Use real weight.
290 fontDescription.setItalic(logFont.lfItalic);
293 static void fillFontDescription(FontDescription& fontDescription, LOGFONT& logFont)
295 fillFontDescription(fontDescription, logFont, abs(logFont.lfHeight));
321 LOGFONT logFont
    [all...]
  /external/icu4c/samples/layout/
GDIFontInstance.cpp 109 LOGFONT lf;
  /external/chromium/chrome/browser/ui/views/
task_manager_view.cc 241 LOGFONT* logfont) {

Completed in 1391 milliseconds

1 2