Discussion:
Is SmoothingModeAntiAlias8x8 available?
(too old to reply)
Jane
2007-12-21 08:23:02 UTC
Permalink
I use GDIPlus to render text. I write text with outline-bordered using
GraphicsPath.
The followings are my codes:
......
myGraphics.SetSmoothingMode( SmoothingModeAntiAlias ) ;
myGraphics.SetTextRenderingHint( TextRenderingHintAntiAlias ) ;
......
statusRet = path.AddString( L"Master", -1, &myFontFamily, FontStyleRegular,
73, pointF, &myStringFormat ) ;
statusRet = myGraphics.DrawPath( &myPen, &path ) ;
statusRet = myGraphics.FillPath( &TextBrush, &path ) ;

The result is not very good. I can see there are some sawtooth around the
letter "M". ( I cannot attache the screenshot here. :-( )
I think using SmoothingModeAntiAlias8x8 will be better. But it seems that
SmoothingModeAntiAlias8x8(the feature of GDIPlus1.1) isn't available now.
Does
anybody know about it? or is there a good solution to solve this problem?
Brian Corcoran
2008-01-17 23:54:01 UTC
Permalink
I asked a similar question, and was told the 8x8 is part of GDI+ 1.1. This
is not available to the masses, and only ships as part of Office 2007.
Perhaps someone at MS can confirm this.

-Brian
Post by Jane
I use GDIPlus to render text. I write text with outline-bordered using
GraphicsPath.
......
myGraphics.SetSmoothingMode( SmoothingModeAntiAlias ) ;
myGraphics.SetTextRenderingHint( TextRenderingHintAntiAlias ) ;
......
statusRet = path.AddString( L"Master", -1, &myFontFamily, FontStyleRegular,
73, pointF, &myStringFormat ) ;
statusRet = myGraphics.DrawPath( &myPen, &path ) ;
statusRet = myGraphics.FillPath( &TextBrush, &path ) ;
The result is not very good. I can see there are some sawtooth around the
letter "M". ( I cannot attache the screenshot here. :-( )
I think using SmoothingModeAntiAlias8x8 will be better. But it seems that
SmoothingModeAntiAlias8x8(the feature of GDIPlus1.1) isn't available now.
Does
anybody know about it? or is there a good solution to solve this problem?
Jane
2008-01-18 01:13:02 UTC
Permalink
Thank you , Brian.
Post by Brian Corcoran
I asked a similar question, and was told the 8x8 is part of GDI+ 1.1. This
is not available to the masses, and only ships as part of Office 2007.
Perhaps someone at MS can confirm this.
-Brian
Post by Jane
I use GDIPlus to render text. I write text with outline-bordered using
GraphicsPath.
......
myGraphics.SetSmoothingMode( SmoothingModeAntiAlias ) ;
myGraphics.SetTextRenderingHint( TextRenderingHintAntiAlias ) ;
......
statusRet = path.AddString( L"Master", -1, &myFontFamily, FontStyleRegular,
73, pointF, &myStringFormat ) ;
statusRet = myGraphics.DrawPath( &myPen, &path ) ;
statusRet = myGraphics.FillPath( &TextBrush, &path ) ;
The result is not very good. I can see there are some sawtooth around the
letter "M". ( I cannot attache the screenshot here. :-( )
I think using SmoothingModeAntiAlias8x8 will be better. But it seems that
SmoothingModeAntiAlias8x8(the feature of GDIPlus1.1) isn't available now.
Does
anybody know about it? or is there a good solution to solve this problem?
Loading...