src/hb-common.h


Log

Author Commit Date CI Message
Behdad Esfahbod 38a83019 2012-04-14T19:40:18 Minor
Behdad Esfahbod fe28b997 2012-04-14T19:19:26 Add HB_DIRECTION_IS_VALID
Behdad Esfahbod 5e88aa66 2012-04-14T18:51:50 Remove public enum names again As was reported to me, glib-mkenum does not understand named enums, so remove for now.
Behdad Esfahbod 4bf90f64 2012-04-12T17:38:23 Make HB_DIRECTION_INVALID be zero This changes all the HB_DIRECTION_* enum member values, but is nicer, in preparation for making hb_segment_properties_t public.
Behdad Esfahbod c6035cf8 2012-04-12T13:23:59 Add names to enums gdb was showing <anonymous enum> instead of useful stuff, so name all our enums.
Behdad Esfahbod d1c9eb45 2012-04-12T13:17:44 Make it an error to include non-top-level headers Users should #include <hb.h> (or hb-ft.h, hb-glib.h, etc), but never things like hb-shape.h directly. This makes it easier to refactor headers later on without breaking compatibility.
Behdad Esfahbod cad3821f 2012-03-07T17:13:25 More sorting by Unicode version This is the most convenient way to browse scripts.
Behdad Esfahbod fa2673c1 2012-03-07T15:52:02 More Unicode script age annotation, and a couple more RTL scripts Cross-checked with Mark Davis's spreadsheet at http://goo.gl/x9ilM
Behdad Esfahbod 7da435f0 2012-03-07T15:20:20 Separate Unicode 3.1 and Unicode 3.2 additions
Behdad Esfahbod f32c0012 2012-03-07T12:53:34 Add Unicode 6.1.0 scripts
Behdad Esfahbod a5283563 2012-03-07T12:38:39 Whitespace
Behdad Esfahbod 4c9fe88d 2011-08-26T09:18:53 [API] Make all _from_string() functions take a len parameter Can be -1 for NUL-terminated string. This is useful for passing parts of a larger string to a function without having to copy or modify the string first. Affected functions: hb_tag_t hb_tag_from_string() hb_direction_from_string() hb_language_from_string() hb_script_from_string()
Behdad Esfahbod c214cff5 2011-08-14T15:17:16 Start adding gobject-introspection support
Behdad Esfahbod 77a32876 2011-08-13T17:16:45 Minor
Behdad Esfahbod 5157e12a 2011-07-21T00:12:33 Rename HB_UNICODE_GENERAL_CATEGORY_COMBINING_MARK to HB_UNICODE_GENERAL_CATEGORY_SPACING_MARK Spacing_Mark is the current Unicode long-name for this property value. The previous name was wrongly carried from glib.
Behdad Esfahbod 902ab866 2011-06-10T23:08:54 GNOME Bug 652227 - Unconditional use of stdint.h
Behdad Esfahbod 1a64f6e1 2011-05-13T22:55:32 [API] Add HB_LANGUAGE_INVALID
Behdad Esfahbod d3b30be3 2011-05-11T18:06:12 [API] Add HB_UNTAG() Useful in C API only.
Behdad Esfahbod 34fb5521 2011-05-06T00:04:28 [API] Add hb_language_get_default() It uses locale information to detect default language. It's used by hb_shape() whenever language is not set on the buffer. Not sure how to properly test it in the test suite. Tested by observing that with DejaVu Sans we select the proper local glyph version for U+431 under Serbian locale. See http://www.pango.org/ScriptGallery
Behdad Esfahbod d02985ec 2011-05-02T12:35:14 ISO 15924 fixes Update to http://unicode.org/iso15924 Fixes some of the test failures in test-unicode with ICU. Still one more to fix before the test passes.
Behdad Esfahbod 29c67d3f 2011-04-27T21:22:32 Add initial implementation of user_data to objects
Behdad Esfahbod 39a840ae 2011-04-27T14:48:19 [API] Add hb_direction_from/to_string() And hb-view --direction argument.
Behdad Esfahbod 2409d5f8 2011-04-21T17:14:28 Update Copyright headers
Behdad Esfahbod 62879eeb 2011-04-18T23:40:21 [API] Use ISO 15924 tags for hb_script_t This simplifies the code, reduces static data, and makes the design more extensible to future additions of new scripts.
Behdad Esfahbod 00bec2c9 2011-04-15T19:16:54 Move enum types to hb-common.h
Behdad Esfahbod 3cbdf70e 2011-04-15T12:32:06 Make hb_language_t typesafe
Behdad Esfahbod 8e4bb3ca 2011-04-11T17:55:58 Fold hb-language.[ch] into hb-common.[ch]
Behdad Esfahbod 4188096a 2011-04-11T14:58:28 Make HB_TAG_CHAR4 private It's just sugar.
Behdad Esfahbod 07233581 2011-04-11T13:12:37 Rename HB_TAG_STR() to HB_TAG_CHAR4() The problem with HB_TAG_STR() was that it expected a string of size 4 exactly, and unlike hb_tag_from_string() it doesn't pad the tag with space characters. So, the new name is more appropriate.
Behdad Esfahbod d77b7620 2011-04-11T12:29:52 Add few more paratheses to the HB_TAG macro Never hurts.
Behdad Esfahbod ae9eeaff 2011-04-11T11:49:08 Remove warning message from public header file Since we now assert thos in hb-private.h, the int types cannot be wrong. (Except for when someone else includes hb-common.h in a very broken configuration, but that's not our problem!) Plus, we don't use inline in the public headers, so remove that too.
Behdad Esfahbod 3286fc0e 2011-03-16T14:53:32 Let hb_shape() guess script and direction... - Rename HB_SCRIPT_INVALID_CODE to HB_SCRIPT_INVALID - Add HB_DIRECTION_INVALID - Make hb_script_get_horizontal_direction() public - Make hb_shape() guess script from buffer text (first non-common non-inherit script) if buffer script is set to HB_SCRIPT_INVALID (this is NOT the default.) - Make hb_shape() guess direction from buffer script if buffer direction is set to HB_DIRECTION_INVALID (this is NOT the default.) - Make hb-view.c set INVALID script and direction on the buffer. The above changes are meant to make hb-view fairly useful for uni-script uni-direction text. The guessing behavior however is NOT the default of hb_shape() and must be asked for explicitly. This is intended, because the guess is not a suitable substitute to full-fledged bidi and script segmentation. It's just a testing tool.
Behdad Esfahbod 6cb8c349 2010-10-27T14:27:03 Add hb_var_int_t
Behdad Esfahbod acdba3f9 2010-07-23T15:11:18 Prefer C linkage
Behdad Esfahbod 83f34677 2010-05-21T13:43:49 Add hb_tag_from_string()
Behdad Esfahbod 0a4399ca 2010-05-19T15:45:06 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.
Behdad Esfahbod 1ce4dc95 2010-05-12T18:29:25 Use bit tricks for HB_DIRECTION_IS_* We already depend on the exact values of the direction enum in HB_DIRECTION_REVERSE(), so we may as well use that.
Behdad Esfahbod 22da7fd9 2010-05-12T18:23:21 Rename a few files to be C++ sources In anticipation for buffer revamp coming.
Behdad Esfahbod c755cb3e 2010-04-22T00:11:43 Change header comment
Behdad Esfahbod 314b460d 2009-12-20T13:58:50 Add HB_DIRECTION_IS_FORWARD/BACKWARD
Behdad Esfahbod ff44f88d 2009-11-06T19:48:16 Handle shaping in non-native direction
Behdad Esfahbod cd7555ee 2009-11-03T15:16:10 Namespace MSVC defines in public header
Behdad Esfahbod ffbe0a85 2009-11-03T10:52:45 More MSVC fixes from Jonathan Kew
Behdad Esfahbod cc4c096a 2009-11-02T18:13:17 MSVC has no stdint.h
Behdad Esfahbod 468769b8 2009-08-08T16:53:23 [HB] Rename hb_ot_layout_feature_mask_t to hb_mask_t
Behdad Esfahbod 0ead481a 2009-08-02T17:41:36 [HB] Port ot-layout to new public API
Behdad Esfahbod 0cc7bc59 2009-08-01T21:38:39 [HB] Move typedef's around
Behdad Esfahbod 35a7383c 2009-08-01T19:30:31 [HB] Simplify refcounting functions
Behdad Esfahbod 0090dc0f 2009-07-30T16:28:45 [HB] Remove hinting setting and use ppem==0 to mean "no hinting"
Behdad Esfahbod 55520d2a 2009-06-10T23:26:51 XX
Behdad Esfahbod 2ebb89d6 2009-07-25T19:09:01 Revert "XX" This reverts commit c939f6aff405ca7b10b1f1538f46148bff719fcb.
Behdad Esfahbod f96ffd43 2009-05-24T15:01:16 [HB] simplify macros
Behdad Esfahbod 6c78683c 2009-05-25T03:22:19 [HB] Update copyright years
Behdad Esfahbod c7d457aa 2009-05-21T12:46:29 [HB] Ouch. Add files.
Behdad Esfahbod 2d15e72c 2009-04-15T19:50:16 Give it a start at GSUB
Behdad Esfahbod 590d55cb 2008-01-24T19:13:50 [GDEF] Finish public API
Behdad Esfahbod 64aef3a5 2008-01-23T16:14:38 Add copyright notices.
Behdad Esfahbod 8dd1c8b8 2008-01-23T05:00:30 Clean up file names, add namespace