[HarfBuzz] hb-view output with transparent bg?

Behdad Esfahbod behdad at behdad.org
Sun Jul 29 16:14:44 PDT 2012


On 07/29/2012 06:18 PM, Rolf Langenhuijzen wrote:
> Is it possible to output pngs with a transparent background?
> I know Cairo supports it and I was looking at the source of hb-view and saw there was no option/argument for the alpha channel (for fore or back).

behdad:util 0$ ./hb-view --help-view
Usage:
  lt-hb-view [OPTION...] [FONT-FILE] [TEXT]

View options:
  --annotate                           Annotate output rendering
  --background=red/#rrggbb/#rrggbbaa   Set background color (default: #FFFFFF)
  --foreground=red/#rrggbb/#rrggbbaa   Set foreground color (default: #000000)
  --line-space=units                   Set space between lines (default: 0)
  --margin=one to four numbers         Margin around output (default: 16)
  --font-size=size                     Font size (default: 256)



> Would be nice!
> 
> Kudos,
> Rolf



More information about the HarfBuzz mailing list