[util] Add --font-size to hb-shape

System Internals / HarfBuzz - Behdad Esfahbod [behdad.org] - 20 January 2015 14:45 UTC

Also makes hb-view to use 8 bits of subpixel precision and shape at requested size, instead of always shaping at upem and scaling results.

cd4eb96 [util] Add --font-size to hb-shape
util/hb-ot-shape-closure.cc | 2 +-
util/hb-shape.cc | 2 +-
util/hb-view.cc | 5 ++++-
util/helper-cairo.cc | 16 ++++++++--------
util/helper-cairo.hh | 5 ++---
util/main-font-text.hh | 4 ++--
util/options.cc | 44 ++++++++++++++++++++++++++++++++++++++++---
util/options.hh | 16 ++++++++++++----
util/view-cairo.cc | 2 +-
util/view-cairo.hh | 8 ++++----
10 files changed, 76 insertions(+), 28 deletions(-)

Upstream: cgit.freedesktop.org


  • Share