Re: Pango & printing?

I think we are talking about two things here that are somewhat related,
one is font subsetting and one is font conversion. There is a lot of
code our there that does font conversion, we copied and pasted one
implementation in gnome-print to do TT->T1 conversion a long time ago, I
don't think that font conversion is such a big of a problem as it has
been done a number of times, font subsetting is a bigger issue. We can
find a solution to both problems, even when font conversion is not a
problem the only issue with that is that the code is not being shared at

Ideally you could load any FT_Face and ask the library to save it as a
specified format, for formats that you have "write backends" for. This
same code can take a map of glyphs from the FT_Face to write to file, so
we get subsetting too. The only open issue, and i don't know how big of
a deal it is, is that we might want to write the copyright of the
original font when we embed it, there might be a simple solution of
piggy-backing the copyright from the original font.


On Thu, 2002-07-04 at 13:10, Joaquín Cuenca Abela wrote:
> On Thu, 2002-07-04 at 07:06, Dov Grobgeld wrote:
> > I was just thinking... Of course it is crazy, but still perhaps someone
> > did it. Does there exist a version of a TrueType renderer written in
> > PostScript? I.e. if the underlying PostScript RIP did not support
> > Type42 fonts, then the fonts would be converted to bitmapped Type3
> > fonts by interpreting the Type42 font in the printer itself.
> > 
> > This would solve the problem of always being able to include TrueType
> > fonts.
> If that's the only problem to solve, why not just convert the truetype
> fonts to something else that the printer can understand?  There are code
> in the wild to do tt -> type1 conversions, and tt -> type3, so anyway
> you don't need to use Type42 if compatibility with old ps printers is an
> issue.
> Cheers,
> -- 
> Joaquín Cuenca Abela
> cuenca pacaterie u-psud fr

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]