Fix scale issues
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 19 May 2010 19:45:06 +0000 (15:45 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 19 May 2010 19:45:06 +0000 (15:45 -0400)
commit0a4399ca228d244e646abdb3487da0f13b228889
tree202a383ca3640afcbc5c62459478a44240c511f4
parentcf5585cfa6cac6fdf627a99941299e76af5ae0f7
Fix scale issues

hb_font_set_scale() now sets the value to be used to represent a unit
pixel.  For example, if rendering a 10px font with a 26.6 representation,
you would set scale to (10 << 6).  For 10px in 16.16 you would set it to
(10 << 16).  This space should be the same space that the get_glyph_metrics
and get_kerning callbacks work in.
src/hb-common.h
src/hb-font-private.hh
src/hb-font.cc
src/hb-font.h
src/hb-ft.cc
src/hb-ot-layout-gdef-private.hh
src/hb-ot-layout-gpos-private.hh
src/hb-ot-layout-gsub-private.hh
src/hb-ot-layout-private.hh
src/hb-ot-layout.cc
src/hb-private.h