[cups.development] How to show printer resident fonts in write?

Hin-Tak Leung hintak_leung at yahoo.co.uk
Fri Jan 6 15:32:03 PST 2012


--- On Fri, 6/1/12, Gurmeet Singh <gurmeet.janjua at yahoo.in> wrote:

> > --- On Thu, 5/1/12, Gurmeet
> Singh <gurmeet.janjua at yahoo.in>
> wrote:=0A=0A> >=
> >Thanks for your Response,
> >Ok upto my understanding .ufm is specific to windows
> only. So, say if I am >successful in getting Linux
> specific fonts (assuming .afm). Then can you guide >me
> what would be the next step?
> > welcome if you kindly post some of keywords for
> searching over the net or any >useful link.
> >Helge is right and I have nothing to add, except I have
> already given the >answers to your latest questions - but
> I'll repeat: you need to acquire the >ttf/otf version of
> the fonts - not afm - and just put them in your .fonts
> >directory and run fc-cache . Read up on "fontconfig".
> 
> Thanks,
> 
> Ok if i have ttf/otf font then Should i need an indirect
> method to acheive this (like a c/c++ program) which will run
> while installing the printer to put the font in .font
> folder?
> 
> I want something like http://www.techknowledgecorp.com/help/embedfontwin.html.
> 
> Thanks.

Hmm, if you have the fonts in ttf/otf, you have two choices, either offer it per-user (the procedure is outlined above, just create .fonts, copying the fonts inside, and run fc-cache), but you can also offer that as a system-wide package. For the latter you just package the fonts like any other fonts on a typical linux system - depending on your audience, as an rpm, deb, or whatever.





More information about the cups mailing list