Indic printing - it works in Mozilla

I was thinking of using the PostScript backend of Cairo for getting complex text to render properly in the PS outputs from Firefox, and hence I downloaded the latest source from CVS. ..and guess what - it has been already implemented!! Mozilla can now print Indic properly. Check out this Postscript file obtained from Firefox (using print to file).

I supplied the following arguments to the configure script:

--prefix=/opt --enable-default-toolkit=cairo-gtk2 --enable-cairo --enable-pango --enable-application=browser --enable-xprint


…and in case anyone is wondering how I figured out that the magic is being done by cairo - here are the first few lines in the postscript file:

%!PS-Adobe-3.0
%%Creator: cairo (http://cairographics.org)
%%CreationDate: Sat Sep 9 12:28:52 2006
%%Pages: 1
%%BoundingBox: 0 0 595 841
%%DocumentData: Clean7Bit
%%LanguageLevel: 2
%%EndComments
%%BeginProlog
/C{curveto}bind def
/F{fill}bind def
/G{setgray}bind def
/L{lineto}bind def
/M{moveto}bind def
/P{closepath}bind def
/R{setrgbcolor}bind def
/S{show}bind def
%%EndProlog
% _cairo_ps_surface_emit_font_subsets
% _cairo_ps_surface_emit_truetype_font_subset

Commentary

Leave a response »

  1. 1. 1 year, 12 months ago

    what is the version nuumber for this?

    rahul
  2. 2. 1 year, 12 months ago

    Pulled fresh from CVS :-).

    Sayamindu

Trackbacks

  1. lodine…

    news…

    lodine
  2. foradil…

    news…

    foradil

Leave a comment, a trackback from your own site or subscribe to an RSS feed for this entry. Trackback URL for this entry Comments feed for this entry

Leave a response

Leave a URL

Preview