Home
last modified time | relevance | path

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

12

/reactos/modules/rostests/apitests/win32nt/ntgdi/
H A DNtGdiGetFontResourceInfoInternalW.c14 LOGFONTW logfont; in START_TEST() local
22 dwBufSize = sizeof(logfont); in START_TEST()
23 memset(&logfont, 0x0, dwBufSize); in START_TEST()
31 &logfont, in START_TEST()
36 printf("lfHeight = %ld\n", logfont.lfHeight); in START_TEST()
37 printf("lfWidth = %ld\n", logfont.lfWidth); in START_TEST()
38 printf("lfFaceName = %ls\n", logfont.lfFaceName); in START_TEST()
/reactos/modules/rostests/apitests/gdi32/
H A DCreateFontIndirect.c16 LOGFONTA logfont; in Test_CreateFontIndirectA() local
21 logfont.lfHeight = 12; in Test_CreateFontIndirectA()
22 logfont.lfWidth = 0; in Test_CreateFontIndirectA()
23 logfont.lfEscapement = 0; in Test_CreateFontIndirectA()
26 logfont.lfItalic = 0; in Test_CreateFontIndirectA()
27 logfont.lfUnderline = 0; in Test_CreateFontIndirectA()
28 logfont.lfStrikeOut = 0; in Test_CreateFontIndirectA()
48 LOGFONTW logfont; in Test_CreateFontIndirectW() local
53 logfont.lfHeight = 12; in Test_CreateFontIndirectW()
54 logfont.lfWidth = 0; in Test_CreateFontIndirectW()
[all …]
H A DGdiGetCharDimensions.c12 LOGFONT logfont = {-11, 0, 0, 0, 400, in Test_GdiGetCharDimensions() local
25 hFont = CreateFontIndirect(&logfont); in Test_GdiGetCharDimensions()
/reactos/win32ss/gdi/gdi32/wine/mfdrv/
H A Dobjects.c266 font16->lfHeight = logfont->lfHeight; in MFDRV_CreateFontIndirect()
267 font16->lfWidth = logfont->lfWidth; in MFDRV_CreateFontIndirect()
268 font16->lfEscapement = logfont->lfEscapement; in MFDRV_CreateFontIndirect()
269 font16->lfOrientation = logfont->lfOrientation; in MFDRV_CreateFontIndirect()
270 font16->lfWeight = logfont->lfWeight; in MFDRV_CreateFontIndirect()
271 font16->lfItalic = logfont->lfItalic; in MFDRV_CreateFontIndirect()
272 font16->lfUnderline = logfont->lfUnderline; in MFDRV_CreateFontIndirect()
273 font16->lfStrikeOut = logfont->lfStrikeOut; in MFDRV_CreateFontIndirect()
274 font16->lfCharSet = logfont->lfCharSet; in MFDRV_CreateFontIndirect()
275 font16->lfOutPrecision = logfont->lfOutPrecision; in MFDRV_CreateFontIndirect()
[all …]
/reactos/base/applications/fontview/
H A Ddisplay.c161 LOGFONTW logfont; in Display_SetTypeFace() local
176 logfont = *pLogFont; in Display_SetTypeFace()
177 logfont.lfHeight = -MulDiv(16, GetDeviceCaps(GetDC(NULL), LOGPIXELSY), 72); in Display_SetTypeFace()
178 pData->hCharSetFont = CreateFontIndirectW(&logfont); in Display_SetTypeFace()
198 EnumFontFamiliesExW(hDC, &logfont, in Display_SetTypeFace()
218 logfont.lfHeight = -MulDiv(pData->nSizes[i], GetDeviceCaps(hDC, LOGPIXELSY), 72); in Display_SetTypeFace()
219 pData->hFonts[i] = CreateFontIndirectW(&logfont); in Display_SetTypeFace()
/reactos/win32ss/gdi/gdi32/objects/
H A Dfont.c1911 LOGFONTW logfont; in CreateFontW() local
1913 logfont.lfHeight = nHeight; in CreateFontW()
1914 logfont.lfWidth = nWidth; in CreateFontW()
1915 logfont.lfEscapement = nEscapement; in CreateFontW()
1916 logfont.lfOrientation = nOrientation; in CreateFontW()
1917 logfont.lfWeight = nWeight; in CreateFontW()
1918 logfont.lfItalic = (BYTE)fnItalic; in CreateFontW()
1921 logfont.lfCharSet = (BYTE)fdwCharSet; in CreateFontW()
1924 logfont.lfQuality = (BYTE)fdwQuality; in CreateFontW()
1936 logfont.lfFaceName[0] = L'\0'; in CreateFontW()
[all …]
/reactos/win32ss/gdi/gdi32/wine/
H A Dmetadc.c1079 font16->lfHeight = logfont->lfHeight; in metadc_create_font()
1080 font16->lfWidth = logfont->lfWidth; in metadc_create_font()
1081 font16->lfEscapement = logfont->lfEscapement; in metadc_create_font()
1082 font16->lfOrientation = logfont->lfOrientation; in metadc_create_font()
1083 font16->lfWeight = logfont->lfWeight; in metadc_create_font()
1084 font16->lfItalic = logfont->lfItalic; in metadc_create_font()
1085 font16->lfUnderline = logfont->lfUnderline; in metadc_create_font()
1086 font16->lfStrikeOut = logfont->lfStrikeOut; in metadc_create_font()
1087 font16->lfCharSet = logfont->lfCharSet; in metadc_create_font()
1088 font16->lfOutPrecision = logfont->lfOutPrecision; in metadc_create_font()
[all …]
/reactos/modules/rostests/winetests/comctl32/
H A Dtab.c1486 LOGFONTA logfont; in START_TEST() local
1488 lstrcpyA(logfont.lfFaceName, "Arial"); in START_TEST()
1489 memset(&logfont, 0, sizeof(logfont)); in START_TEST()
1490 logfont.lfHeight = -12; in START_TEST()
1491 logfont.lfWeight = FW_NORMAL; in START_TEST()
1492 logfont.lfCharSet = ANSI_CHARSET; in START_TEST()
1493 hFont = CreateFontIndirectA(&logfont); in START_TEST()
H A Dmonthcal.c1564 LOGFONTA logfont; in test_size() local
1569 lstrcpyA(logfont.lfFaceName, "Arial"); in test_size()
1570 memset(&logfont, 0, sizeof(logfont)); in test_size()
1571 logfont.lfHeight = 12; in test_size()
1572 hFont1 = CreateFontIndirectA(&logfont); in test_size()
1574 logfont.lfHeight = 24; in test_size()
1575 hFont2 = CreateFontIndirectA(&logfont); in test_size()
H A Dbutton.c719 LOGFONTA logfont = { 0 }; in test_button_messages() local
741 logfont.lfHeight = -12; in test_button_messages()
742 logfont.lfWeight = FW_NORMAL; in test_button_messages()
743 strcpy(logfont.lfFaceName, "Tahoma"); in test_button_messages()
745 hfont2 = CreateFontIndirectA(&logfont); in test_button_messages()
/reactos/dll/win32/uxtheme/
H A Ddraw.c1394 LOGFONTW logfont; in DrawThemeTextEx() local
1411 hr = GetThemeFont(hTheme, hdc, iPartId, iStateId, TMT_FONT, &logfont); in DrawThemeTextEx()
1414 hFont = CreateFontIndirectW(&logfont); in DrawThemeTextEx()
1861 LOGFONTW logfont; in GetThemeTextExtent() local
1871 hr = GetThemeFont(hTheme, hdc, iPartId, iStateId, TMT_FONT, &logfont); in GetThemeTextExtent()
1873 hFont = CreateFontIndirectW(&logfont); in GetThemeTextExtent()
1899 LOGFONTW logfont; in GetThemeTextMetrics() local
1905 hr = GetThemeFont(hTheme, hdc, iPartId, iStateId, TMT_FONT, &logfont); in GetThemeTextMetrics()
1907 hFont = CreateFontIndirectW(&logfont); in GetThemeTextMetrics()
H A Dnonclient.c93 LOGFONTW logfont; in ThemeDrawCaptionText() local
118 hr = GetThemeSysFont(pcontext->theme, TMT_CAPTIONFONT, &logfont); in ThemeDrawCaptionText()
120 hFont = CreateFontIndirectW(&logfont); in ThemeDrawCaptionText()
/reactos/win32ss/gdi/ntgdi/
H A Dfont.c299 plf = &plfont->logfont; in FontGetObject()
1164 RtlCopyMemory (&plfont->logfont, pelfw, sizeof(ENUMLOGFONTEXDVW)); in HfontCreate()
1171 plfont->logfont.elfEnumLogfontEx.elfLogFont.lfOrientation = in HfontCreate()
1172 plfont->logfont.elfEnumLogfontEx.elfLogFont.lfEscapement; in HfontCreate()
H A Dtext.h70 ENUMLOGFONTEXDVW logfont; member
H A Dfreetype.c1488 lfBase = pTextObj->logfont.elfEnumLogfontEx.elfLogFont; in FontLink_Chain_Populate()
2646 IntGetFontRenderMode(LOGFONTW *logfont) in IntGetFontRenderMode() argument
2648 switch (logfont->lfQuality) in IntGetFontRenderMode()
2682 plf = &plfont->logfont.elfEnumLogfontEx.elfLogFont; in TextIntCreateFontIndirect()
4299 plf = &TextObj->logfont.elfEnumLogfontEx.elfLogFont; in TextIntUpdateSize()
4490 plf = &TextObj->logfont.elfEnumLogfontEx.elfLogFont; in ftGdiGetGlyphOutline()
4987 plf = &TextObj->logfont.elfEnumLogfontEx.elfLogFont; in TextIntGetTextExtentPoint()
5299 plf = &TextObj->logfont.elfEnumLogfontEx.elfLogFont; in ftGdiGetTextMetricsW()
6899 plf = &TextObj->logfont.elfEnumLogfontEx.elfLogFont; in IntExtTextOutW()
7604 plf = &TextObj->logfont.elfEnumLogfontEx.elfLogFont; in NtGdiGetCharABCWidthsW()
[all …]
/reactos/dll/win32/usp10/
H A Dopentype.c1553 …const LOGFONTW *logfont, const SCRIPT_ANALYSIS *analysis, int *advance, const OT_LookupList *looku…
1636 …ic void GPOS_convert_design_units_to_device(const OUTLINETEXTMETRICW *otm, const LOGFONTW *logfont, in GPOS_convert_design_units_to_device() argument
1641 TRACE("emHeight %i lfWidth %i\n",emHeight, logfont->lfWidth); in GPOS_convert_design_units_to_device()
1644 if (logfont->lfWidth) in GPOS_convert_design_units_to_device()
2143 …const LOGFONTW *logfont, const SCRIPT_ANALYSIS *analysis, int *advance, const OT_LookupList *looku… in GPOS_apply_ContextPos() argument
2238 GPOS_apply_lookup(script_cache, otm, logfont, analysis, advance, in GPOS_apply_ContextPos()
2262 …const LOGFONTW *logfont, const SCRIPT_ANALYSIS *analysis, int *advance, const OT_LookupList *looku… in GPOS_apply_ChainContextPos() argument
2371 … GPOS_apply_lookup(script_cache, otm, logfont, analysis, advance, lookup, lookup_index, in GPOS_apply_ChainContextPos()
2558 … const LOGFONTW *logfont, const SCRIPT_ANALYSIS *analysis, int *advance, unsigned int lookup_index, in OpenType_apply_GPOS_lookup() argument
2564 return GPOS_apply_lookup(script_cache, otm, logfont, analysis, advance, lookup, in OpenType_apply_GPOS_lookup()
H A Dusp10_internal.h283 … const LOGFONTW *logfont, const SCRIPT_ANALYSIS *analysis, int *advance, unsigned int lookup_index,
H A Dshape.c865 const LOGFONTW *logfont, const SCRIPT_ANALYSIS *analysis, int *advance, in GPOS_apply_feature() argument
877 j += OpenType_apply_GPOS_lookup(psc, otm, logfont, analysis, advance, in GPOS_apply_feature()
/reactos/sdk/include/psdk/
H A Dgdiplusheaders.h889 Font(HDC hdc, const LOGFONTA *logfont) in Font() argument
891 status = DllExports::GdipCreateFontFromLogfontA(hdc, logfont, &font); in Font()
894 Font(HDC hdc, const LOGFONTW *logfont) in Font() argument
896 status = DllExports::GdipCreateFontFromLogfontW(hdc, logfont, &font); in Font()
/reactos/dll/win32/comctl32/
H A Dtab.c1897 LOGFONTW logfont; in TAB_DrawItemInterior() local
1910 if (!GetObjectW(infoPtr->hFont, sizeof(logfont), &logfont)) in TAB_DrawItemInterior()
1911 GetObjectW(GetStockObject(DEFAULT_GUI_FONT), sizeof(logfont), &logfont); in TAB_DrawItemInterior()
1913 logfont.lfEscapement = nEscapement; in TAB_DrawItemInterior()
1914 logfont.lfOrientation = nOrientation; in TAB_DrawItemInterior()
1915 hFont = CreateFontIndirectW(&logfont); in TAB_DrawItemInterior()
H A Dbutton.c422 LOGFONTW logfont = {0}; in BUTTON_GetIdealSize() local
432 HRESULT hr = GetThemeFont(theme, hdc, BP_PUSHBUTTON, PBS_NORMAL, TMT_FONT, &logfont); in BUTTON_GetIdealSize()
435 hFont = CreateFontIndirectW(&logfont); in BUTTON_GetIdealSize()
448 …if (logfont.lfHeight == -1 && logfont.lfWidth == 0 && wcscmp(logfont.lfFaceName, L"Arial") == 0 &&… in BUTTON_GetIdealSize()
/reactos/dll/win32/gdiplus/
H A Dfont.c204 GDIPCONST LOGFONTW *logfont, GpFont **font) in GdipCreateFontFromLogfontW() argument
212 TRACE("(%p, %p, %p)\n", hdc, logfont, font); in GdipCreateFontFromLogfontW()
214 if (!hdc || !logfont || !font) in GdipCreateFontFromLogfontW()
217 hfont = CreateFontIndirectW(logfont); in GdipCreateFontFromLogfontW()
/reactos/dll/win32/comdlg32/
H A Dfontdlg.c1254 LOGFONTA *logfont = (LOGFONTA *)lParam; in FormatCharDlgProcA() local
1256 memcpy( logfont, lpcfw->lpLogFont, FIELD_OFFSET( LOGFONTA, lfFaceName )); in FormatCharDlgProcA()
1258 logfont->lfFaceName, LF_FACESIZE, NULL, NULL ); in FormatCharDlgProcA()
/reactos/modules/rosapps/applications/sysutils/utils/sdkparse/
H A Dinput.lst301 rosrtl\logfont.h
/reactos/modules/rostests/winetests/gdiplus/
H A Dgraphics.c2280 LOGFONTA logfont; in test_GdipDrawString() local
2286 memset(&logfont,0,sizeof(logfont)); in test_GdipDrawString()
2287 strcpy(logfont.lfFaceName,"Arial"); in test_GdipDrawString()
2288 logfont.lfHeight = 12; in test_GdipDrawString()
2289 logfont.lfCharSet = DEFAULT_CHARSET; in test_GdipDrawString()
2294 status = GdipCreateFontFromLogfontA(hdc, &logfont, &fnt); in test_GdipDrawString()

12