From: <sil...@li...> - 2005-05-23 18:32:23
|
Update of /cvsroot/silgraphite/silgraphite/contrib/HelloWorld In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17499/contrib/HelloWorld Modified Files: Tag: v2api GrGraphics.cpp Log Message: Fixed a bug in the GetUniscribeClusters routine. Index: GrGraphics.cpp =================================================================== RCS file: /cvsroot/silgraphite/silgraphite/contrib/HelloWorld/GrGraphics.cpp,v retrieving revision 1.6 retrieving revision 1.6.2.1 diff -u -d -r1.6 -r1.6.2.1 --- GrGraphics.cpp 6 Oct 2004 18:28:22 -0000 1.6 +++ GrGraphics.cpp 23 May 2005 18:32:11 -0000 1.6.2.1 @@ -133,8 +133,8 @@ memset(&lf, '\0', sizeof(LOGFONT)); lf.lfItalic = pchrp->ttvItalic == kttvOff ? false : true; lf.lfWeight = pchrp->ttvBold == kttvOff ? 400 : 700; - lf.lfHeight = -MulDiv(pchrp->dympHeight, m_yInch, 72000); // convert millipoints to pixels - lf.lfUnderline = false; + lf.lfHeight = -MulDiv(pchrp->dympHeight, m_yInch, 72000); // convert millipoints to pixels, + lf.lfUnderline = false; // and scale by resolution lf.lfWidth = 0; // default width, based on height lf.lfEscapement = 0; // no rotation of text (is this how to do slanted?) lf.lfOrientation = 0; // no rotation of character baselines |