[HarfBuzz] hb-view output other than png possible?

Khaled Hosny khaledhosny at eglug.org
Fri Jun 15 13:08:21 PDT 2012


The version built from git master, whatever is it :)

On Fri, Jun 15, 2012 at 09:54:49PM +0200, Rolf Langenhuijzen wrote:
> Hi Khaled,
> 
> What version of hb-view is it that has options --output-format and --output-file?
> I get "unrecognized option" when I use it.. or is it a cairo thing?
> 
> Thanks,
> Rolf
> 
> On Jun 15, 2012, at 1:29 AM, Khaled Hosny wrote:
> 
> > On Thu, Jun 14, 2012 at 10:03:16PM +0200, Rolf Langenhuijzen wrote:
> >> Does hb-view already support output other than png? I read some on the
> >> list about a possible --format setting (for svg, pdf, eps, png, …),
> >> but I don't see it in hb-view.cc yet.  Just using --output and
> >> scanning a possible .ext is ofcourse not really solid, but I tried
> >> that :) it didn't generate a proper file other than png. Correct?
> > 
> > There is --output-format, as well as format being guessed from file
> > extension passed to --output-file. The actual formats supported depends
> > on your version of cairo, but hb-view conditionally recognises png, svg,
> > pdf, ps and eps (besides the Unicode art hack).
> > 
> > Regards,
> > Khaled



More information about the HarfBuzz mailing list