[cairo] Problem in dot matrix windows printer!!!
Pascal Germroth
funkycoder at gmail.com
Mon Feb 28 19:15:37 PST 2011
Hi,
> I got trouble in dot matrix printer which have different resolution
> between x and y. I use LX-300+II (120X72DPI).
> The text is printed unscaled width and height, but white space is scaled.
> So the text is printed crossing between chars.
>
> I got his trouble when I use cairo_show_text, but after I change to :
>
> cairo_text_path (fcairo.context, pchar(stringtolatin1(str1)));
> cairo_fill(fcairo.context);
So the printer uses its own unscaled bitmap font? (just takes the
positions for the glyphs, but renders the glyphs itself, ignoring the
transformation matrix)
--
Pascal Germroth
More information about the cairo
mailing list