|
@@ -989,12 +989,12 @@ void GravurTextRenderer::renderChar( int &x, int y, char c, Bild &zRObj, bool se
|
|
{
|
|
{
|
|
int f = 0;
|
|
int f = 0;
|
|
if( b->getBuff()[ (int)x + ygr ] )
|
|
if( b->getBuff()[ (int)x + ygr ] )
|
|
- f = 0x20000000;
|
|
|
|
|
|
+ f = 0x50000000;
|
|
else if( ( (int)( x + xoff ) < br && b->getBuff()[ (int)( x + xoff ) + ygr ] ) || ( (int)( y - yoff ) < h && b->getBuff()[ (int)x + (int)( y - yoff ) * br ] > 0xF0 ) )
|
|
else if( ( (int)( x + xoff ) < br && b->getBuff()[ (int)( x + xoff ) + ygr ] ) || ( (int)( y - yoff ) < h && b->getBuff()[ (int)x + (int)( y - yoff ) * br ] > 0xF0 ) )
|
|
- f = 0x70000000;
|
|
|
|
|
|
+ f = 0xA0000000;
|
|
else if( ( (int)( x - xoff ) < br && b->getBuff()[ (int)( x - xoff ) + ygr ] ) || ( (int)( y + yoff ) < h && b->getBuff()[ (int)x + (int)( y + yoff ) * br ] > 0xF0 ) )
|
|
else if( ( (int)( x - xoff ) < br && b->getBuff()[ (int)( x - xoff ) + ygr ] ) || ( (int)( y + yoff ) < h && b->getBuff()[ (int)x + (int)( y + yoff ) * br ] > 0xF0 ) )
|
|
{
|
|
{
|
|
- f = 0x70FFFFFF;
|
|
|
|
|
|
+ f = 0xA0FFFFFF;
|
|
}
|
|
}
|
|
zRObj.alphaPixel3D( xp + dx + ygr2, f );
|
|
zRObj.alphaPixel3D( xp + dx + ygr2, f );
|
|
x += xoff;
|
|
x += xoff;
|
|
@@ -1013,12 +1013,12 @@ void GravurTextRenderer::renderChar( int &x, int y, char c, Bild &zRObj, bool se
|
|
{
|
|
{
|
|
int f = 0;
|
|
int f = 0;
|
|
if( b->getBuff()[ (int)x + ygr ] )
|
|
if( b->getBuff()[ (int)x + ygr ] )
|
|
- f = 0x20000000;
|
|
|
|
|
|
+ f = 0x50000000;
|
|
else if( ( (int)( x + xoff ) < br && b->getBuff()[ (int)( x + xoff ) + ygr ] ) || ( (int)( y - yoff ) < h && b->getBuff()[ (int)x + (int)( y - yoff ) * br ] > 0xF0 ) )
|
|
else if( ( (int)( x + xoff ) < br && b->getBuff()[ (int)( x + xoff ) + ygr ] ) || ( (int)( y - yoff ) < h && b->getBuff()[ (int)x + (int)( y - yoff ) * br ] > 0xF0 ) )
|
|
- f = 0x70000000;
|
|
|
|
|
|
+ f = 0xA0000000;
|
|
else if( ( (int)( x - xoff ) < br && b->getBuff()[ (int)( x - xoff ) + ygr ] ) || ( (int)( y + yoff ) < h && b->getBuff()[ (int)x + (int)( y + yoff ) * br ] > 0xF0 ) )
|
|
else if( ( (int)( x - xoff ) < br && b->getBuff()[ (int)( x - xoff ) + ygr ] ) || ( (int)( y + yoff ) < h && b->getBuff()[ (int)x + (int)( y + yoff ) * br ] > 0xF0 ) )
|
|
{
|
|
{
|
|
- f = 0x70FFFFFF;
|
|
|
|
|
|
+ f = 0xA0FFFFFF;
|
|
}
|
|
}
|
|
zRObj.alphaPixel2D( xp + dx + ygr2, f );
|
|
zRObj.alphaPixel2D( xp + dx + ygr2, f );
|
|
x += xoff;
|
|
x += xoff;
|