- 22 4月, 2011 8 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
Reported by Adam Twardoch.
-
由 Behdad Esfahbod 提交于
Talking to Ryan Lortie, he thinks my comment doesn't make sense. So I'm making the getter const. Note that g_atomic_int_get() casts that away itself, so we don't need to worry about that (which kinda makes me uncomfortable actually).
-
由 Behdad Esfahbod 提交于
Unused right now.
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
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 :-).
-
由 Behdad Esfahbod 提交于
-
- 21 4月, 2011 10 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
So we can liberally use the simple features of C++ that parts of the codebase is already using.
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
The idea here is that: - Like pretty much all other API in harfbuzz, user does not have to check for NULL. - In any caller code, the case of missing table should be handled exactly the same way that a too-short table is handled. Turning a non-existent talbe into a table of size 0 makes the user code safer.
-
由 Behdad Esfahbod 提交于
That correctly reflects the reference ownership transfer happening.
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
This was a bizzare piece of API that I inherited from cairo. It has been wrong adding them to cairo in the first place. Remove them before someone uses them!
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
- 20 4月, 2011 11 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
This is the common convention for language binding tools.
-
由 Behdad Esfahbod 提交于
This is the common convention for language binding tools.
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
Also optimizes the common-direction script lookup.
-
由 Behdad Esfahbod 提交于
Also optimizes the common-direction script lookup to be an array lookup.
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Ryan Lortie 提交于
Unicode data providers can now be subclassed, including support for chain-up. The interface should now be nicely bindable, as well. Also fix glib unicode funcs that where broken after hb_script_t changes. Nicely caught by the test-unicode.c added in this commit.
-
- 19 4月, 2011 5 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
Returns the error status of the buffer.
-
由 Ryan Lortie 提交于
The new name is self-documenting.
-
由 Ryan Lortie 提交于
Return the length, whenever we return an array. Makes it easier on the language bindings.
-
由 Behdad Esfahbod 提交于
This simplifies the code, reduces static data, and makes the design more extensible to future additions of new scripts.
-
- 16 4月, 2011 6 次提交
-
-
由 Behdad Esfahbod 提交于
This includes HB_DIRECTION_INVALID and HB_SCRIPT_INVALID. The INVALID will cause a "guess whatever from the text" in hb_shape(). While it's not ideal, it works better than the previous defaults at least (HB_DIRECTION_LTR and HB_SCRIPT_COMMON).
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-