diff options
author | Herbert Duerr <hdu@openoffice.org> | 2001-05-23 11:00:28 +0000 |
---|---|---|
committer | Herbert Duerr <hdu@openoffice.org> | 2001-05-23 11:00:28 +0000 |
commit | 151cc5d29a20a8eca453e1502f0793b1a62aab49 (patch) | |
tree | 2eaf25d3be0ddd079ba0baa78c607e77951392e1 /vcl/source/gdi/virdev.cxx | |
parent | 5e72bdf7884dec98e12bae83f8a695180a342837 (diff) |
#86757# disable antialiasing on monochrome devices
Diffstat (limited to 'vcl/source/gdi/virdev.cxx')
-rw-r--r-- | vcl/source/gdi/virdev.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/vcl/source/gdi/virdev.cxx b/vcl/source/gdi/virdev.cxx index 3bb4b776f77c..620edbfc9c5d 100644 --- a/vcl/source/gdi/virdev.cxx +++ b/vcl/source/gdi/virdev.cxx @@ -2,9 +2,9 @@ * * $RCSfile: virdev.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: ssa $ $Date: 2001-05-18 07:12:09 $ + * last change: $Author: hdu $ $Date: 2001-05-23 12:00:28 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -237,6 +237,9 @@ void VirtualDevice::ImplInitVirDev( const OutputDevice* pOutDev, mnOutHeight = nDY; mbScreenComp = TRUE; + if( mnBitCount < 8 ) + SetAntialiasing( ANTIALIASING_DISABLE_TEXT ); + if ( pOutDev->GetOutDevType() == OUTDEV_PRINTER ) mbScreenComp = FALSE; else if ( pOutDev->GetOutDevType() == OUTDEV_VIRDEV ) |