Home » U++ Library support » RichText,QTF,RTF... » Bad text quality problem in Qtf
Re: Bad text quality problem in Qtf [message #24549 is a reply to message #24548] |
Sat, 23 January 2010 21:45   |
 |
koldo
Messages: 3443 Registered: August 2008
|
Senior Veteran |
|
|
andrei_natanael wrote on Sat, 23 January 2010 20:45 | Hi Koldo,
I know what your problem is related to. When you add Painter package and compile with it, it put at program initialization two pointers in Draw package for it to use Painter initialization functions for ImageAnyDraw. Your problem is related to line 233 in Painter/DrawOp.cpp
INITBLOCK {
ImageAnyDrawPainter(sCP, sEP);
}
Sorry for delayed response.
Andrei
|
Yes, it is there (thank you Honza too )
The problem is in sCP:
void ImageAnyDrawPainter(Draw *(*f)(Size sz), Image (*e)(Draw *w))
{
//sCreateImageDraw = f;
sExtractImageDraw = e;
}
With this comment, there is no problem.
sCP is:
static Draw *sCP(Size sz)
{
return new ImagePainter(sz);
}
and ImagePainter is:
class ImagePainter : private ImageBuffer__, public BufferPainter {
public:
ImagePainter(Size sz, int mode = MODE_ANTIALIASED);
...
ImagePainter::ImagePainter(Size sz, int mode)
: ImageBuffer__(sz), BufferPainter(ImageBuffer__::ib, mode)
{}
So ImagePainter is MODE_ANTIALIASED...
but it does not work like this.
Best regards
Koldo
Best regards
IƱaki
|
|
|
 |
|
Bad text quality problem in Qtf
By: koldo on Thu, 21 January 2010 17:36
|
 |
|
Re: Bad text quality problem in Qtf
By: koldo on Thu, 21 January 2010 17:43
|
 |
|
Re: Bad text quality problem in Qtf
By: koldo on Fri, 22 January 2010 09:32
|
 |
|
Re: Bad text quality problem in Qtf
|
 |
|
Re: Bad text quality problem in Qtf
By: koldo on Sat, 23 January 2010 16:15
|
 |
|
Re: Bad text quality problem in Qtf
By: koldo on Sat, 23 January 2010 19:45
|
 |
|
Re: Bad text quality problem in Qtf
|
 |
|
Re: Bad text quality problem in Qtf
|
 |
|
Re: Bad text quality problem in Qtf
By: koldo on Sat, 23 January 2010 21:45
|
 |
|
Re: Bad text quality problem in Qtf
By: mirek on Sun, 24 January 2010 19:24
|
 |
|
Re: Bad text quality problem in Qtf
By: koldo on Mon, 25 January 2010 09:59
|
 |
|
Re: Bad text quality problem in Qtf
By: mirek on Mon, 25 January 2010 10:18
|
 |
|
Re: Bad text quality problem in Qtf
By: mirek on Mon, 25 January 2010 12:08
|
 |
|
Re: Bad text quality problem in Qtf
By: koldo on Mon, 25 January 2010 13:41
|
Goto Forum:
Current Time: Sun Aug 24 15:15:31 CEST 2025
Total time taken to generate the page: 0.04870 seconds
|