/reactos/dll/win32/gdiplus/ |
H A D | font.c | 231 (*font)->emSize = otm.otmTextMetrics.tmAscent; in GdipCreateFontFromLogfontW() 366 if (font->otm.otmTextMetrics.tmWeight > FW_REGULAR) in get_font_style() 370 if (font->otm.otmTextMetrics.tmItalic) in get_font_style() 372 if (font->otm.otmTextMetrics.tmUnderlined) in get_font_style() 374 if (font->otm.otmTextMetrics.tmStruckOut) in get_font_style() 501 lf->lfWeight = font->otm.otmTextMetrics.tmWeight; in GdipGetLogFontW() 502 lf->lfItalic = font->otm.otmTextMetrics.tmItalic ? 1 : 0; in GdipGetLogFontW() 503 lf->lfUnderline = font->otm.otmTextMetrics.tmUnderlined ? 1 : 0; in GdipGetLogFontW() 504 lf->lfStrikeOut = font->otm.otmTextMetrics.tmStruckOut ? 1 : 0; in GdipGetLogFontW() 505 lf->lfCharSet = font->otm.otmTextMetrics.tmCharSet; in GdipGetLogFontW() [all …]
|
H A D | graphics.c | 2325 lf->lfWeight = font->otm.otmTextMetrics.tmWeight; in get_log_fontW() 2326 lf->lfItalic = font->otm.otmTextMetrics.tmItalic ? 1 : 0; in get_log_fontW() 2327 lf->lfUnderline = font->otm.otmTextMetrics.tmUnderlined ? 1 : 0; in get_log_fontW() 2328 lf->lfStrikeOut = font->otm.otmTextMetrics.tmStruckOut ? 1 : 0; in get_log_fontW() 2329 lf->lfCharSet = font->otm.otmTextMetrics.tmCharSet; in get_log_fontW()
|
/reactos/win32ss/gdi/gdi32/objects/ |
H A D | font.c | 1264 FONT_TextMetricWToA( &lpOTMW->otmTextMetrics, &output->otmTextMetrics ); in GetOutlineTextMetricsA() 1439 LocalOTM->otmTextMetrics.tmDigitizedAspectX = GetDeviceCaps(hdc, LOGPIXELSX); in GetOutlineTextMetricsW() 1440 LocalOTM->otmTextMetrics.tmDigitizedAspectY = GetDeviceCaps(hdc, LOGPIXELSY); in GetOutlineTextMetricsW() 1441 …LocalOTM->otmTextMetrics.tmHeight = height_to_LP( &DevToWorld, LocalOTM->otmTextMetrics.tmHeight ); in GetOutlineTextMetricsW() 1442 …LocalOTM->otmTextMetrics.tmAscent = height_to_LP( &DevToWorld, LocalOTM->otmTextMetrics.tmAscent ); in GetOutlineTextMetricsW() 1443 …LocalOTM->otmTextMetrics.tmDescent = height_to_LP( &DevToWorld, LocalOTM->otmTextMetrics.tmDescent… in GetOutlineTextMetricsW() 1444 …LocalOTM->otmTextMetrics.tmInternalLeading = height_to_LP( &DevToWorld, LocalOTM->otmTextMetrics.t… in GetOutlineTextMetricsW() 1445 …LocalOTM->otmTextMetrics.tmExternalLeading = height_to_LP( &DevToWorld, LocalOTM->otmTextMetrics.t… in GetOutlineTextMetricsW() 1446 …LocalOTM->otmTextMetrics.tmAveCharWidth = width_to_LP( &DevToWorld, LocalOTM->otmTextMetrics.tmAve… in GetOutlineTextMetricsW() 1447 …LocalOTM->otmTextMetrics.tmMaxCharWidth = width_to_LP( &DevToWorld, LocalOTM->otmTextMetrics.tmMax… in GetOutlineTextMetricsW() [all …]
|
/reactos/modules/rostests/winetests/gdi32/ |
H A D | font.c | 346 if (memcmp(&tm, &otm.otmTextMetrics, FIELD_OFFSET(TEXTMETRICA, tmCharSet) + 1)) in test_font_metrics() 349 compare_tm(&tm, &otm.otmTextMetrics); in test_font_metrics() 352 tm = otm.otmTextMetrics; in test_font_metrics() 522 …metrics(hdc, hfont, lf.lfHeight, otm.otmTextMetrics.tmAveCharWidth, test_str, sizeof(test_str), &o… in test_outline_font() 538 height_orig = otm.otmTextMetrics.tmHeight; in test_outline_font() 539 lfWidth = otm.otmTextMetrics.tmAveCharWidth; in test_outline_font() 1803 … ok(match_off_by_1(kd[i].tmHeight, otm.otmTextMetrics.tmHeight, FALSE), "expected %d, got %d\n", in test_GetKerningPairs() 1804 kd[i].tmHeight, otm.otmTextMetrics.tmHeight); in test_GetKerningPairs() 1806 kd[i].tmAscent, otm.otmTextMetrics.tmAscent); in test_GetKerningPairs() 1807 ok(kd[i].tmDescent == otm.otmTextMetrics.tmDescent, "expected %d, got %d\n", in test_GetKerningPairs() [all …]
|
H A D | generated.c | 4455 TEST_FIELD_SIZE (OUTLINETEXTMETRICA, otmTextMetrics, 56) in test_pack_OUTLINETEXTMETRICA() 4456 TEST_FIELD_ALIGN (OUTLINETEXTMETRICA, otmTextMetrics, 4) in test_pack_OUTLINETEXTMETRICA() 4457 TEST_FIELD_OFFSET(OUTLINETEXTMETRICA, otmTextMetrics, 4) in test_pack_OUTLINETEXTMETRICA() 4558 TEST_FIELD_SIZE (OUTLINETEXTMETRICW, otmTextMetrics, 60) in test_pack_OUTLINETEXTMETRICW() 4559 TEST_FIELD_ALIGN (OUTLINETEXTMETRICW, otmTextMetrics, 4) in test_pack_OUTLINETEXTMETRICW() 4560 TEST_FIELD_OFFSET(OUTLINETEXTMETRICW, otmTextMetrics, 4) in test_pack_OUTLINETEXTMETRICW() 10978 TEST_FIELD_SIZE (OUTLINETEXTMETRICA, otmTextMetrics, 56) in test_pack_OUTLINETEXTMETRICA() 10979 TEST_FIELD_ALIGN (OUTLINETEXTMETRICA, otmTextMetrics, 4) in test_pack_OUTLINETEXTMETRICA() 10980 TEST_FIELD_OFFSET(OUTLINETEXTMETRICA, otmTextMetrics, 4) in test_pack_OUTLINETEXTMETRICA() 11082 TEST_FIELD_ALIGN (OUTLINETEXTMETRICW, otmTextMetrics, 4) in test_pack_OUTLINETEXTMETRICW() [all …]
|
/reactos/dll/win32/usp10/ |
H A D | opentype.c | 1639 …int emHeight = otm->otmTextMetrics.tmAscent + otm->otmTextMetrics.tmDescent - otm->otmTextMetrics.… in GPOS_convert_design_units_to_device() 2389 …int ppem = lpotm->otmTextMetrics.tmAscent + lpotm->otmTextMetrics.tmDescent - lpotm->otmTextMetric… in GPOS_apply_lookup()
|
/reactos/modules/rostests/winetests/gdiplus/ |
H A D | font.c | 606 fm->lfHeight = -otm.otmTextMetrics.tmAscent; in gdi_get_font_metrics() 608 fm->font_size = (REAL)otm.otmTextMetrics.tmAscent; in gdi_get_font_metrics()
|
/reactos/win32ss/gdi/ntgdi/ |
H A D | freetype.c | 3167 FillTM(&Otm->otmTextMetrics, FontGDI, pOS2, pHori, !Error ? &WinFNT : 0); in IntGetOutlineTextMetrics() 3193 Otm->otmMacAscent = Otm->otmTextMetrics.tmAscent; in IntGetOutlineTextMetrics() 3194 Otm->otmMacDescent = -Otm->otmTextMetrics.tmDescent; in IntGetOutlineTextMetrics() 3487 TM = &Otm->otmTextMetrics; in FontFamilyFillInfo() 4548 FLOATOBJ_DivLong(&widthRatio, potm->otmTextMetrics.tmAveCharWidth); in ftGdiGetGlyphOutline() 5415 const TEXTMETRICW * TM = &Otm->otmTextMetrics; in GetFontPenalty() 7955 DefChar = potm->otmTextMetrics.tmDefaultChar; in NtGdiGetGlyphIndicesW()
|
/reactos/sdk/include/psdk/ |
H A D | wingdi.h | 2480 TEXTMETRICA otmTextMetrics; member 2514 TEXTMETRICW otmTextMetrics; member
|