mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 23:41:03 +01:00
da975419884a535281745f30f4b32fee0bc8a7a1
I was reconsidering whether y should grow down, since all three/four times I've used this API I was tricked and got that wrong in my use. So I was very inclined to make y grow down instead of up. However, considering that the font space has y up and it would be very confusing for callbacks to work against that, I decided that what I really want is for the user to be able to set y_scale to a negative number to imply that user-space y grows down. Changing x_scale/y_scale from unsigned int to int allows that, and I've made pango to use that instead of negating glyph y_offset later. hb-ft however still has y group up. I *guess* that's how FreeType works? I'm not sure, FreeType docs don't make this clear... I'm happy with the resolution :-).
This is HarfBuzz, a text shaping library. Bug reports on these files should be sent to the HarfBuzz mailing list as listed on http://harfbuzz.org/ For license information, see the file COPYING. Behdad Esfahbod 18 November 2010
Languages
C++
73.3%
C
16.2%
Python
3.2%
Hack
2.3%
Meson
1.1%
Other
3.8%