INFO: ???? ?? ???????? ??????? "?" ??? ???? ????

?????? ????????? ?????? ?????????
???? ???????: 74299 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

??????

?????? ?? ?? ???? ?????? Microsoft Windows ????? ??? ???? ???????? ??? ????? ???? ???????? ?????? ???? ???? ??????? ????? CreateFont() ? CreateFontIndirect() ??????? ???????? ?????? ????????.

???? ?? ???????? ???? ????? ???? ??? ?????? ?? ????? ????????. ???? ??? ??????? ????? ???????? ?????? ??? ???????? ??? ????? MM_TEXT. ??? ?????? ?????? ????? ????? ??? ???? ?? ??? ????? ???.

??????? ????

????? ?????? ???????? ?????? ?????? ???????:
                                Point Size * LOGPIXELSY
   height = Internal Leading + -------------------------
                                          72
				
LOGPIXELSY ?? ??? ????? ?????? ?? ???? ?????? ??? ??????. ??? ?????? ??? ??? ?????? ?????? ??????? ???? GetDeviceCaps() ?? ???? LOGPIXELSY. ???? 72 ?????? ???? ????? ??? 72 ????.

??????? ???????? ??? ??????? ???????? ???? ????? ?????? ????? ??????? ???? ???? ?? ??? ??????. ??????? ?????? ??? ??? ??????? ?????? ??????? ??????? ??????:
            -(Point Size * LOGPIXELSY)
   height = --------------------------
                         72
				
?? ??? ???? ????? ??? ?????? ??? ???:
   plf->lfHeight = -MulDiv (nPtSize, GetDeviceCaps (hdc, LOGPIXELSY), 72);
				
??? ????? ?????? CreateFont() ?? ??????? CreateFontIndirect() ????? ?????? ???? ????? ??????? ?????? ???? ???? ???? ??????? ?????? ????? ????? ?? ?????? ??????. ????? ??? ?????? ?????? ????????? ????? ?? ??????? ???????? ???????? ??? ?? ????? ?????? ????? ???????? ??????:
   ----------  <------------------------------
   |        |           |- Internal Leading  |
   | |   |  |  <---------                    |
   | |   |  |        |                       |- Cell Height
   | |---|  |        |- Character Height     |
   | |   |  |        |                       |
   | |   |  |        |                       |
   ----------  <------------------------------
				
?????? ??????? ???? ??? ???? ????:
                (Height - Internal Leading) * 72
   Point Size = --------------------------------
                           LOGPIXELSY
				
??? ?????? ??? ??? ???????? "?" ???????? ??????? ?? ???? ?????? TEXTMETRIC. ??? ?????? ??? ???? LOGPIXELSY ?? ???? GetDeviceCaps ??? ?? ???? ?????.

????? ??????? ??? ????? ??? ???? ??? ????. ?????? Windows MulDiv() ????? ??????? ?????? ??? ????? ????? ?????? ????? ?????? ????? ?????? ???????.

???????

???? ???????: 74299 - ????? ??? ??????: 30/????/1427 - ??????: 3.2
????? ???
  • Microsoft Windows Software Development Kit 3.1
  • Microsoft Win32 ????? ????? ???????, ????? ?????? ??:
    • Microsoft Windows NT Server 3.5
    • Microsoft Windows NT Server 3.51
    • Microsoft Windows NT Server 4.0 Standard Edition
    • Microsoft Windows NT Workstation 3.5
    • Microsoft Windows NT Workstation 3.51
    • Microsoft Windows NT Workstation 4.0 Developer Edition
????? ??????: 
kbmt kbinfo KB74299 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????74299

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com