--- Thomas Moritz <[EMAIL PROTECTED]> escribió:

> Am Montag, 13. November 2006 13:00 meinte Thomas Moritz:
> 
> Hello Terry, hello all
> 
> > Am Montag, 13. November 2006 00:30 meinte Terry A Haimann:
> >
> > Hello,
> >
> > > When I do the following:
> > >
> > > Printer.BeginDoc;
> > > Printer.Canvas.Pen.Color := 0;
> > > Printer.Canvas.Font.Name := 'Courier';
> > > Printer.Canvas.Font.Size := 8;
> > >
> > > The font is not mono spaced, what should I be doing instead?
> >
> > Use 'Courier New'. It is mono spaced with Linux and Win32 GTK.
> 
> Sorry, today i have the same problem with ip4000. The result of
> Printer.XDPI, Printer.YDPI is 72dpi (Linux)
> Printer.XDPI, Printer.YDPI is 600dpi (Win32)
> The monospace "Courier New" isn`t monospace after printing.
> I open a new Thread for this reason.
> 
> Regards Th. Moritz

To be sure to get a monospaced printed font under cups, use
'monospaced' font name.

You can take a look at currrent implementation on file
lazarus/lcl/postscriptcanvas.pas, method MappedFontName

Jesus Reyes A.


__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.com.mx/ 

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.com.mx/ 

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to