Rygle wrote:
> The bitmap thing seems to be falling back to a very low dpi. I have
> attached a ps file from the HP 4550 PS3 that seems to be falling back to
> about 75dpi. I can't set the resolution in this driver.
Looking at the patch there are a couple of things you can try:
Try uncommenting the call to cairo_surface_set_fallback_resolution() and
see what that does. Or try different fallback dpi values. However the
default fallback resolution in cairo is 300dpi so that may not be the
problem.
I don't know what the ctx->setBitmapResolution(72) is for but you could
try changing that value or just comment it out in case there was already
a better default set.
Rygle wrote:
> The bitmap thing seems to be falling back to a very low dpi. I have
> attached a ps file from the HP 4550 PS3 that seems to be falling back to
> about 75dpi. I can't set the resolution in this driver.
Looking at the patch there are a couple of things you can try:
+ surface = cairo_win32_ printing_ surface_ create (hdc); surface_ set_fallback_ resolution (surface, x_dpi, y_dpi);
+ //cairo_
+
+ return surface;
Try uncommenting the call to cairo_surface_ set_fallback_ resolution( ) and
see what that does. Or try different fallback dpi values. However the
default fallback resolution in cairo is 300dpi so that may not be the
problem.
+ (CAIRO_ PS_LEVEL_ 3); ath(false) ; oBitmap( true); esolution( 72);
+ // ctx->setPSLevel
+ ctx->setTextToP
+ ctx->setFilterT
+ ctx->setBitmapR
+
I don't know what the ctx->setBitmapR esolution( 72) is for but you could
try changing that value or just comment it out in case there was already
a better default set.