[cairo] Problem in dot matrix windows printer!!!

Sri Wahono wahono at acosys.co.id
Fri Mar 4 00:11:19 PST 2011


>In my experience (1.8.10) Cairo text output breaks when the mapping mode is 
>anything other than MM_TEXT. Printer HDCs sometimes come preset to 
>MM_ANISOTROPIC or MM_ISOTROPIC.

>If this is the problem, you can SetMapMode() to MM_TEXT. But you'll also 
>need to call GetWindowExtEx() and GetViewportExtEx(), and cairo_scale() 
>with a factor of viewport extent divided by window >extent. That's what 
>makes win32 printing work for me anyway.

The problem still exists, did you try to print on dot matrix printer? If I 
use LaserJet or InkJet all it's OK.

Thanks 



More information about the cairo mailing list