src/hb-common.h


Log

Author Commit Date CI Message
Matthias Clasen 32ce29f9 2022-12-21T07:42:36 [font] Move hb_font_t typedef This is needed to avoid circular header dependencies.
Matthias Clasen ea48d6c2 2022-12-17T11:51:37 Move hb_glyph_extents_t definition
Khaled Hosny 4a1d891c 2022-09-17T03:15:51 5.2.0
David Corbett b68d0af8 2022-08-27T15:41:07 [Unicode 15] Add new `hb_script_t` values
Behdad Esfahbod f7f6d278 2022-07-17T22:15:42 Add hb_language_matches() New API: + hb_language_matches()
Behdad Esfahbod fc78592e 2022-02-03T12:43:25 [draw-state] Add type and use in draw-helper
Khaled Hosny 0a129961 2022-02-13T00:30:50 3.4.0
Alexis King 1bc4bad7 2022-02-07T19:57:25 [ot-tag] Add HB_SCRIPT_MATH (Zmth) and map it to OT ‘math’ tag The ISO 15924 code for mathematical notation is ‘Zmth’, but the OpenType script is ‘math’.
Khaled Hosny 9c387e20 2021-09-17T21:32:30 3.0.0
David Corbett 67f1aa4d 2021-09-14T17:43:13 [Unicode 14] Add new `hb_script_t` values
Khaled Hosny 7b9e23f2 2021-02-10T23:37:43 [introspection] Fix g-ir-scanner syntax errors Fixes https://github.com/harfbuzz/harfbuzz/issues/2851
Khaled Hosny 1fb7f3bd 2020-12-31T03:03:48 [docs] Document various HB_SCRIPT_* Need to have something for all of them to keep GTK-Doc happy.
Khaled Hosny 9b602e8e 2020-12-30T23:28:54 [docs] Complete hb-common docs a bit
Khaled Hosny 8586f159 2020-12-24T22:23:47 [docs] Update hb-common documentation
Nathan Willis 4cdb12a3 2019-04-21T20:31:09 [docs] Add gtkdoc comments to hb-common
Ebrahim Byagowi fb46a32e 2020-06-03T12:54:26 2.6.7
David Corbett fd748fac 2020-03-15T15:59:31 Update to Unicode 13.0.0
Ebrahim Byagowi 9a68e6b9 2019-10-16T13:28:15 [doc] minor Addresses https://github.com/harfbuzz/harfbuzz/pull/2013/files#r335196908
Ben Wagner b918cd8c 2019-10-10T15:30:48 Document hb_feature_t. This documents hb_feature_t. This is motivated mostly by the ambiguity of the units for 'start' and 'end' (clusters) and whether they are inclusive or exclusive. This also documents that for lookup type 3 the value is the one based index into the alternates and that in a list of features later feature values override previous feature values with the same tag.
Ebrahim Byagowi c930ae2b 2019-09-16T14:04:34 Avoid stdint.h in Kernel module compiles
Ebrahim Byagowi 9542bdd0 2019-04-29T14:52:28 Add color channels getters ABI (#1513) So can be used with language wrappers
Michiharu Ariza d75b73a3 2019-03-30T00:06:54 fix rebase errors
David Corbett 4a19d3b0 2019-03-06T12:37:25 Update to Unicode 12.0.0
Behdad Esfahbod 59f36f36 2019-03-29T10:55:12 Replace REPLACEME's left out of 2.4.0 https://github.com/harfbuzz/harfbuzz/issues/1641
David Corbett e723c04d 2019-03-06T12:37:25 Update to Unicode 12.0.0
Behdad Esfahbod 32379bbf 2019-01-22T12:55:29 Cast HB_UNTAG results to uint8_t
Behdad Esfahbod d9f6be3a 2019-01-18T12:48:01 Fix -Wundef errors with __GNUC__ Fixes https://github.com/harfbuzz/harfbuzz/issues/1549
Behdad Esfahbod 55a19d73 2018-10-27T04:01:19 Move HB_EXTERN
Behdad Esfahbod 4025ad80 2018-10-27T02:35:06 Document new API
Behdad Esfahbod b18acab7 2018-10-22T18:20:57 [color] Add HB_COLOR Normally I would have added to_string / from_string like other types have. But since we don't use hb_color_t much, I'm not going to do that. Although, if we did, we could use it in hb-view to parse colors...
Ebrahim Byagowi 456978d4 2018-10-21T08:26:40 Address COLR/CPAL reviews and revive cpal_v1 tests
Behdad Esfahbod 3d9a0306 2018-10-18T05:58:17 2.0.0
Behdad Esfahbod 1a6b5ac6 2018-10-11T21:22:49 Add HB_DEPRECATED_FOR and mark relevant symbols
Behdad Esfahbod fb4f4383 2018-10-08T22:44:16 Add HB_DEPRECATED Fixes https://github.com/harfbuzz/harfbuzz/issues/1232
Behdad Esfahbod 90dd255e 2018-09-30T18:19:54 Change _HB_SCRIPT_MAX_VALUE from 0xFFFFFFFF to 0x7FFFFFFF Fixes https://github.com/harfbuzz/harfbuzz/issues/504
Behdad Esfahbod 00cd00e6 2018-09-30T05:34:30 Tweak HB_TAG and HB_UNTAG uint32_t was getting promoted to signed int, which is not what we wanted... Wow, clang has become good at generating warnings... ../../src/hb-common.h:349:29: warning: signed shift result (0xFF000000) sets the sign bit of the shift expression's type ('int') and becomes negative [-Wshift-sign-overflow] _HB_SCRIPT_MAX_VALUE = HB_TAG_MAX, /*< skip >*/ ^~~~~~~~~~ ../../src/hb-common.h:93:20: note: expanded from macro 'HB_TAG_MAX' define HB_TAG_MAX HB_TAG(0xff,0xff,0xff,0xff) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/hb-common.h:89:57: note: expanded from macro 'HB_TAG' define HB_TAG(c1,c2,c3,c4) ((hb_tag_t)((((uint8_t)(c1))<<24)|(((uint8_t)(c2))<<16)|(((uint8_t)(c3))<<8)|((uint8_t)(c4)))) ~~~~~~~~~~~~~~~^ ~~ ../../src/hb-common.h:349:3: warning: ISO C restricts enumerator values to range of 'int' (4294967295 is too large) [-Wpedantic] _HB_SCRIPT_MAX_VALUE = HB_TAG_MAX, /*< skip >*/ ^ ~~~~~~~~~~
Behdad Esfahbod becd84aa 2018-09-11T01:26:18 Add HB_FEATURE_GLOBAL_START/END Fixes https://github.com/harfbuzz/harfbuzz/issues/1141 New API: HB_FEATURE_GLOBAL_START HB_FEATURE_GLOBAL_END
Behdad Esfahbod 060e6b4a 2018-06-05T17:31:46 Update to Unicode 11.0.0 UCDN is not updated yet.
Tor Andersson 8f4c1230 2018-04-13T23:01:54 Reinstate support for Visual Studio 2005
Ebrahim Byagowi f24b0b97 2018-04-12T13:40:45 Update the links and revive the dead ones
Behdad Esfahbod fbb937b6 2017-10-15T12:04:16 Don't use NULL in public headers
Behdad Esfahbod cbec0cd6 2017-10-02T18:26:52 Remove some really old cruft
Behdad Esfahbod 1535f8c6 2017-10-02T16:12:18 Add Unicode 10 scripts
Behdad Esfahbod d2f249e7 2017-01-22T17:42:33 Stub out doc comments for new symbols
Behdad Esfahbod bb1e1926 2017-01-21T17:41:37 [var] Rename var_coord to variation Looks much better.
Behdad Esfahbod b3c0714b 2017-01-20T20:30:03 [var] Add hb_var_coord_t and parsing routines
Behdad Esfahbod 72364103 2017-01-20T20:16:53 Move code around
Behdad Esfahbod 691086f1 2016-05-06T12:08:18 Add Unicode 9 beta scripts These are frozen, so good time to add.
Behdad Esfahbod bc5198fe 2016-05-06T11:59:05 Whitespace
Khaled Hosny 8ab797c5 2015-12-29T17:42:16 [docs] A bit more buffers documentation
Chun-wei Fan 835bbdc7 2015-11-19T18:34:12 Public headers: Decorate public symbols with HB_EXTERN This prepares the headers for exporting symbols using visibility attributes or __declspec(dllexport), so that we do not need to maintain symbols listing files, as this is what was and is done in GLib and GTK+.
Behdad Esfahbod b8811429 2015-09-03T15:53:22 Fix Since tags Fixes https://github.com/behdad/harfbuzz/issues/103
Behdad Esfahbod 64a2726e 2015-07-15T01:36:39 Add Unicode 8.0 scripts Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1183209
Behdad Esfahbod 104484ce 2014-08-11T18:23:43 Minor
Behdad Esfahbod fe6788bc 2014-07-25T12:40:56 Typo
Behdad Esfahbod 1132a7dd 2014-07-20T01:17:40 Add HB_TAG_MAX_SIGNED / _HB_SCRIPT_MAX_VALUE_SIGNED To make C language police happy.
Behdad Esfahbod df999763 2014-07-19T17:31:23 [gobject] Skip _HB_SCRIPT_MAX_VALUE Fixes https://github.com/behdad/harfbuzz/pull/38
Behdad Esfahbod dc61294a 2014-04-28T14:58:28 [unicode7] Add missing ISO 15924 tags
Behdad Esfahbod 62587bfc 2014-04-28T15:07:21 [unicode7] Declare Unicode 7 scripts
Jonathan Kew 7691a154 2014-01-29T14:07:58 Ensure hb_script_t can safely hold any hb_tag_t value it's given. Fixes https://github.com/behdad/harfbuzz/pull/21
Behdad Esfahbod 133eeba6 2013-10-27T00:24:59 Minor See: https://github.com/prezi/harfbuzz-js/pull/1/files#r7032397
Behdad Esfahbod cd361c3c 2013-09-06T16:20:21 Minor change to hb_language_t Let me know if this breaks anyone's anything.
Behdad Esfahbod 4dc798de 2013-08-26T20:39:00 Add hb-deprecated.h, and rename a couple enum values Add deprecated alias for old name.
Behdad Esfahbod 700a15fe 2013-08-26T17:49:36 Add HB_DISABLE_DEPRECATED That moment that you have to accept that you made API mistakes...
Behdad Esfahbod 54e6f6c5 2013-08-09T14:34:54 Clean up list of Unicode scripts Rename HB_SCRIPT_CANADIAN_ABORIGINAL to HB_SCRIPT_CANADIAN_SYLLABICS and a macro for the old name.
Behdad Esfahbod e30ebd27 2012-09-06T22:09:06 Add hb_feature_to/from_string()
Behdad Esfahbod 06b192c4 2012-08-08T15:23:45 Minor
Behdad Esfahbod 37191ede 2012-08-08T14:59:09 Minor
Behdad Esfahbod 21fdcee0 2012-08-01T16:23:44 Add hb_unicode_combining_class_t
Behdad Esfahbod 5c5bc962 2012-07-13T10:15:37 Allow overriding HB_BEGIN_DECLS / HB_END_DECLS
Behdad Esfahbod 1bc1cb36 2012-06-16T15:21:55 Make source more digestable for gobject-introspection
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.