For Programmers: Free Programming Magazines  


Home > Archive > PostScript > October 2004 > Getting PostScript fonts and metrics for CUPS









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Getting PostScript fonts and metrics for CUPS
CharlieB

2004-10-04, 9:05 pm

I am new to PostScript so please bear with me.

What I am looking to do is make a function to select a PostScript font
similar to the X function XftFontOpen(). The reason is to get the font
metrics before generating the PostScript file. I was thinking about
scanning the *.afm files but I don't know the directory I should be looking
in. I need to send the PostScript file to CUPS running in Linux.

Thanks in advance,
Charlie

Roland Mainz

2004-10-12, 8:56 pm

CharlieB wrote:
>
> I am new to PostScript so please bear with me.
>
> What I am looking to do is make a function to select a PostScript font
> similar to the X function XftFontOpen(). The reason is to get the font
> metrics before generating the PostScript file. I was thinking about
> scanning the *.afm files but I don't know the directory I should be looking
> in. I need to send the PostScript file to CUPS running in Linux.


See http://xprint.mozdev.org/ - that's a Xserver which can generate PDL
output (e.g. PostScript, PCL, PDF etc.) based on normal X11 or OpenGL
rendering instructions (including fonts) ...

----

Bye,
Roland

--
__ . . __
(o.\ \/ /.o) roland.mainz@nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 7950090
(;O/ \/ \O;)
Roland Mainz

2004-10-17, 3:56 am

CharlieB wrote:
>
> I am new to PostScript so please bear with me.
>
> What I am looking to do is make a function to select a PostScript font
> similar to the X function XftFontOpen(). The reason is to get the font
> metrics before generating the PostScript file. I was thinking about
> scanning the *.afm files but I don't know the directory I should be looking
> in. I need to send the PostScript file to CUPS running in Linux.


See http://xprint.mozdev.org/ - that's a Xserver which can generate PDL
output (e.g. PostScript, PCL, PDF etc.) based on normal X11 or OpenGL
rendering instructions (including fonts) ...

----

Bye,
Roland

--
__ . . __
(o.\ \/ /.o) roland.mainz@nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 7950090
(;O/ \/ \O;)
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com