[HarfBuzz] hb-view SVG

Behdad Esfahbod behdad at behdad.org
Wed Aug 15 15:45:47 PDT 2012


On 08/15/2012 06:08 PM, Tomas Celizna wrote:
> 
> Hello,
> 
> I am using the latest version of harfbuzz (resp. hb-view; 0.9.2) to render some text to SVG. However, the SVG output seems to be quite bigger when compared to PNG output for the same font size. Does anyone happen to know where to look for and how to fix this problem? Thank you!

Bigger as in byte size, or width/height? :)

For PNG, the size is in pixels.  For SVG, the size is in Points.  Assuming a
96dpi screen, you should multiple the pixel size by 0.75 to get the equivalent
point size.

behdad

> Best, 
> Tomas
> 
> _______________________________________________
> HarfBuzz mailing list
> HarfBuzz at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/harfbuzz
> 



More information about the HarfBuzz mailing list