Home
last modified time | relevance | path

Searched refs:lfHeight (Results 1 – 25 of 100) sorted by relevance

1234

/reactos/modules/rostests/apitests/gdi32/
H A DGetTextMetrics.c15 LONG lfHeight; member
290 lf.lfHeight = test->lfHeight; in START_TEST()
303 lf.lfHeight, lf.lfWidth, in START_TEST()
314 lf.lfHeight = test->lfHeight; in START_TEST()
328 …= 1, "%s (%ld): cxText: labs(%ld - %ld) > 1\n", font->entry_name, test->lfHeight, test->cxText, si… in START_TEST()
329 … 0, "%s (%ld): cxText: labs(%ld - %ld) != 0\n", font->entry_name, test->lfHeight, test->cxText, si… in START_TEST()
333 …= 1, "%s (%ld): cyText: labs(%ld - %ld) > 1\n", font->entry_name, test->lfHeight, test->cyText, si… in START_TEST()
334 … 0, "%s (%ld): cyText: labs(%ld - %ld) != 0\n", font->entry_name, test->lfHeight, test->cyText, si… in START_TEST()
338 …1, "%s (%ld): tmHeight: labs(%ld - %ld) > 1\n", font->entry_name, test->lfHeight, test->tmHeight, … in START_TEST()
339 …, "%s (%ld): tmHeight: labs(%ld - %ld) != 0\n", font->entry_name, test->lfHeight, test->tmHeight, … in START_TEST()
[all …]
H A DCreateFontIndirect.c21 logfont.lfHeight = 12; in Test_CreateFontIndirectA()
53 logfont.lfHeight = 12; in Test_CreateFontIndirectW()
92 plogfonta->lfHeight = 12; in Test_CreateFontIndirectExA()
138 plogfontw->lfHeight = 12; in Test_CreateFontIndirectExW()
H A DGetObject.c601 ok(u.logfonta.lfHeight == 0x77777777, "\n"); in Test_Font()
604 ok(u.logfonta.lfHeight == 8, "\n"); in Test_Font()
635 ok(u.logfontw.lfHeight == 0x77777777, "\n"); in Test_Font()
638 ok(u.logfontw.lfHeight == 8, "\n"); in Test_Font()
642 ok(u.logfonta.lfHeight == 8, "\n"); in Test_Font()
/reactos/win32ss/gdi/ntgdi/
H A Dstockobj.c197 OEMFixedFont.lfHeight = 18; in CreateStockFonts()
199 SystemFont.lfHeight = 18; in CreateStockFonts()
201 DeviceDefaultFont.lfHeight = 18; in CreateStockFonts()
203 SystemFixedFont.lfHeight = 18; in CreateStockFonts()
205 DefaultGuiFont.lfHeight = -12; in CreateStockFonts()
209 OEMFixedFont.lfHeight = 12; in CreateStockFonts()
211 SystemFont.lfHeight = 16; in CreateStockFonts()
213 DeviceDefaultFont.lfHeight = 16; in CreateStockFonts()
217 SystemFixedFont.lfHeight = 16; in CreateStockFonts()
222 SystemFixedFont.lfHeight = 15; in CreateStockFonts()
[all …]
H A Dfreetype.c1490 lfBase.lfHeight = pFontGDI->lfHeight; in FontLink_Chain_Populate()
3804 FontEntry->Hashed.lfHeight == pCache->Hashed.lfHeight && in IntFindGlyphCache()
4098 if (lfHeight == 0) in IntRequestFontSize()
4115 FontGDI->lfHeight == lfHeight && in IntRequestFontSize()
4140 FontGDI->lfHeight = lfHeight; in IntRequestFontSize()
4155 if (lfHeight > 0) in IntRequestFontSize()
4195 FontGDI->lfHeight = lfHeight; in IntRequestFontSize()
4988 Cache.Hashed.lfHeight = plf->lfHeight; in TextIntGetTextExtentPoint()
5697 if (LogFont->lfHeight != 0 && TM->tmHeight < LogFont->lfHeight) in GetFontPenalty()
5704 if (LogFont->lfHeight != 0 && TM->tmHeight > LogFont->lfHeight) in GetFontPenalty()
[all …]
H A Dfont.h44 LONG lfHeight; member
/reactos/modules/rostests/winetests/gdiplus/
H A Dfont.c214 lfa.lfHeight = 25; in test_logfont()
271 lfa.lfHeight = -25; in test_logfont()
278 expect(lfa.lfHeight, lfa2.lfHeight); in test_logfont()
579 INT lfHeight; member
654 …ok_(__FILE__, line)(fm1->lfHeight == fm2->lfHeight, "lfHeight %d != %d\n", fm1->lfHeight, fm2->lfH… in cmp_font_metrics()
686 lf.lfHeight = -13; in test_font_metrics()
712 ok(lf.lfHeight < 0, "lf.lfHeight should be negative, got %d\n", lf.lfHeight); in test_font_metrics()
727 lf.lfHeight = 13; in test_font_metrics()
753 ok(lf.lfHeight < 0, "lf.lfHeight should be negative, got %d\n", lf.lfHeight); in test_font_metrics()
782 ok(lf.lfHeight < 0, "lf.lfHeight should be negative, got %d\n", lf.lfHeight); in test_font_metrics()
[all …]
/reactos/modules/rostests/winetests/comdlg32/
H A Dfontdlg.c94 lfa.lfHeight = -16; in test_ChooseFontA()
111 ok(lfa.lfHeight == expected_lfheight, "Expected %i, got %i\n", expected_lfheight, lfa.lfHeight); in test_ChooseFontA()
121 lfa.lfHeight = -16; in test_ChooseFontA()
139 … ok(lfa.lfHeight == expected_lfheight, "Expected %i, got %i\n", expected_lfheight, lfa.lfHeight); in test_ChooseFontA()
/reactos/modules/rostests/winetests/gdi32/
H A Dfont.c209 ok(lf->lfHeight == getobj_lf.lfHeight || in check_font()
210 broken((SHORT)lf->lfHeight == getobj_lf.lfHeight), /* win9x */ in check_font()
211 "lfHeight: expect %08x got %08x\n", lf->lfHeight, getobj_lf.lfHeight); in check_font()
256 lf.lfHeight = 16; in test_logfont()
381 ok(lf.lfHeight == lfHeight, "lfHeight %d != %d\n", lf.lfHeight, lfHeight); in test_font_metrics()
382 if (lf.lfHeight) in test_font_metrics()
514 lf.lfHeight = 72; in test_outline_font()
528 lf.lfHeight = -lf.lfHeight; in test_outline_font()
2810 ok(lf->lfHeight > 0 && lf->lfHeight < 200, "enumerated font height %d\n", lf->lfHeight); in arial_enum_proc()
2836 ok(lf->lfHeight > 0 && lf->lfHeight < 200, "enumerated font height %d\n", lf->lfHeight); in arial_enum_procw()
[all …]
/reactos/win32ss/user/winsrv/concfg/
H A Dfont.c115 lplf->lfHeight = SearchFont->Size.Y; in FindSuitableFontProc()
140 if ((lplf->lfHeight != SearchFont->Size.Y) && in FindSuitableFontProc()
142 lplf->lfHeight == SearchFont->Size.Y)) in FindSuitableFontProc()
192 CandidateFont->Size.Y = lplf->lfHeight; in FindSuitableFontProc()
215 CandidateFont->Size.Y = lplf->lfHeight; in FindSuitableFontProc()
257 if ((lplf->lfHeight >= SearchFont->Size.Y) && in FindSuitableFontProc()
274 CandidateFont->Size.Y = lplf->lfHeight; in FindSuitableFontProc()
432 lf.lfHeight = (LONG)(ULONG)FontData->Size.Y; in CreateConsoleFontWorker()
/reactos/modules/rosapps/templates/dialog/
H A Dpage1.c145 if (lf.lfHeight < 0) in OnMeasureItem()
146 lpMeasureItemStruct->itemHeight = -lf.lfHeight; in OnMeasureItem()
148 lpMeasureItemStruct->itemHeight = lf.lfHeight; in OnMeasureItem()
/reactos/modules/rosapps/applications/screensavers/matrix/
H A Dmessage.c203 int lfHeight; in SetMessageFont() local
209 lfHeight = -MulDiv(nPointSize, GetDeviceCaps(hdc, LOGPIXELSY), 72); in SetMessageFont()
213 hFont = CreateFont(lfHeight, 0, 0, 0, fBold ? FW_BOLD: FW_NORMAL, 0, 0, 0, in SetMessageFont()
/reactos/modules/rostests/winetests/user32/
H A Dsysparams.c497 INT16 lfHeight; member
529 plf->lfHeight = plf16->lfHeight; in lffromreg()
546 plf->lfHeight = lfw.lfHeight; in lffromreg()
1442 ok( (lfreg.lfHeight < 0 ? (LF).lfHeight == MulDiv( lfreg.lfHeight, dpi, real_dpi ) : \
1443 MulDiv( -(LF).lfHeight , 72, dpi) == lfreg.lfHeight )&&\
1447 , "wrong value \"%s\" in registry %d, %d\n", VAL, (LF).lfHeight, lfreg.lfHeight);\
1779 im_cur.lfFont.lfHeight += 1; in test_SPI_SETICONMETRICS()
2920 ok_(__FILE__,line)( lf1->lfHeight == MulDiv( lf2->lfHeight, dpi, custom_dpi ), in compare_font()
2921 "wrong lfHeight %d vs %d\n", lf1->lfHeight, lf2->lfHeight ); in compare_font()
3170 ok( lf.lfHeight == MulDiv( lf2.lfHeight, USER_DEFAULT_SCREEN_DPI, real_dpi ), in test_dpi_stock_objects()
[all …]
/reactos/modules/rostests/apitests/win32nt/ntgdi/
H A DNtGdiGetFontResourceInfoInternalW.c36 printf("lfHeight = %ld\n", logfont.lfHeight); in START_TEST()
/reactos/sdk/include/reactos/wine/
H A Dwingdi16.h39 INT16 lfHeight; member
/reactos/modules/rostests/tests/primitives/
H A Dmk_font.cpp52 lf.lfHeight = PSize.y; in MakeFont()
/reactos/modules/rostests/tests/txtscale/
H A Dmk_font.cpp52 lf.lfHeight = PSize.y; in MakeFont()
/reactos/dll/win32/riched20/
H A Dstyle.c307 lf->lfHeight = ME_twips2pointsY(c, -s->fmt.yHeight); in ME_LogFontFromStyle()
323 lf->lfHeight = (lf->lfHeight*2)/3; in ME_LogFontFromStyle()
341 fmt->yHeight = -lf->lfHeight*1440/ry; in ME_CharFormatFromLogFont()
/reactos/base/applications/fontview/
H A Ddisplay.c177 logfont.lfHeight = -MulDiv(16, GetDeviceCaps(GetDC(NULL), LOGPIXELSY), 72); in Display_SetTypeFace()
218 logfont.lfHeight = -MulDiv(pData->nSizes[i], GetDeviceCaps(hDC, LOGPIXELSY), 72); in Display_SetTypeFace()
277 LogFont.lfHeight = 12; in Display_OnCreate()
/reactos/win32ss/gdi/gdi32/objects/
H A Dutils.c353 COPYN(lfHeight); in LogFontA2W()
380 COPYN(lfHeight); in LogFontW2A()
/reactos/base/applications/mspaint/
H A Dtextedit.cpp351 lf.lfHeight = -MulDiv(nFontSize, GetDeviceCaps(hdc, LOGPIXELSY), 72); in UpdateFont()
357 lf.lfHeight = Zoomed(lf.lfHeight); in UpdateFont()
/reactos/base/applications/charmap_new/
H A DGridView.cpp82 NewFont.Font.lfHeight = 0; // This is set in WM_SIZE in SetFont()
249 m_CurrentFont.Font.lfHeight = (m_CellSize.cy - 5); in OnSize()
/reactos/win32ss/gdi/eng/
H A Dengobjects.h166 LONG lfHeight; member
/reactos/base/applications/charmap/
H A Dlrgcell.c45 lf.lfHeight = GetDeviceCaps(hdc, in SetLrgFont()
/reactos/win32ss/user/ntuser/
H A Ddraw.c691 lf.lfHeight = cxy; in UITOOLS95_DFC_ButtonCheckRadio()
826 lf.lfHeight = myr.bottom - myr.top; in UITOOLS95_DrawFrameCaption()
887 lf.lfHeight = myr.bottom - myr.top; in UITOOLS95_DrawFrameScroll()
930 lf.lfHeight = myr.bottom - myr.top; in UITOOLS95_DrawFrameScroll()
1000 lf.lfHeight = cxy; in UITOOLS95_DrawFrameMenu()

1234