src


Log

Author Commit Date CI Message
Khaled Hosny cb319f0d 2020-12-24T21:47:05 [docs] Add some missing annotations to hb-buffer.cc
Khaled Hosny 9af0edd9 2020-12-24T21:40:41 [docs] Document return value of hb_blob_get_data()
Khaled Hosny f88e845f 2020-12-24T21:28:37 [docs] Minor fixes
Nathan Willis 4cdb12a3 2019-04-21T20:31:09 [docs] Add gtkdoc comments to hb-common
Nathan Willis 82092d40 2019-04-22T15:31:24 [docs] Update gtk-doc comments in hb-font
Nathan Willis e8de26e1 2019-04-21T20:31:54 [docs] Add gtkdoc comments to hb-buffer
Nathan Willis d13b7eaa 2019-04-21T20:31:31 [docs] Add gtkdoc comments to hb-blob
Nathan Willis 922c32eb 2019-04-21T20:30:54 [docs] Add gtkdoc comments to hb-map
Nathan Willis 71af2c6d 2019-04-21T20:30:36 [docs] Add gtkdoc comments to hb-set
Nathan Willis ec98730f 2019-04-17T14:44:25 [docs] regularize whitespace in function params
Khaled Hosny 71a3b54f 2020-12-23T15:33:15 2.7.3
Behdad Esfahbod 8560c3e3 2020-12-23T00:25:10 Merge pull request #2774 from harfbuzz/misc-doc Doc fixes
Ryan 769a21aa 2020-12-23T02:31:03 meson: avoid regenerating hb-version.h unnecessarily The file is a dependency for the library as a whole, so previously editing the Meson build files at all would force a full rebuild. This will only rebuild it if the version has changed.
Khaled Hosny c2e2c40b 2020-12-23T00:49:23 [docs] Fix gtk-doc comment syntax The documentation was not picked otherwise.
Khaled Hosny 08269408 2020-12-23T00:45:39 [docs] Add messing sections Docs for these sections were not generated at all.
Khaled Hosny b8b13018 2020-12-23T00:22:56 [docs] Make gtk-doc find these typedef’s
Khaled Hosny 8c3a530f 2020-12-22T23:52:46 [docs] Some formatting fixes
Behdad Esfahbod 25c0a792 2020-12-10T14:29:47 Remove unused+wrong UnsizedArrayOf<> operators Said compiler is wrong to err since they are unused. But yeah, they didn't make sense and were copy/paste leftover. Fixes https://github.com/harfbuzz/harfbuzz/issues/2763
Khaled Hosny 07e304b2 2020-12-01T22:32:19 Merge pull request #2755 from Myaamori/master meson: use meson.current_source_dir() instead of @CURRENT_SOURCE_DIR@
Behdad Esfahbod 7c241651 2020-11-30T16:38:53 [algs] Don't forward rvalue twice Part of https://github.com/harfbuzz/harfbuzz/issues/2293
Behdad Esfahbod 53806e5b 2020-11-25T11:51:37 Tiny improvement on previous commit Functionally the same.
Dominik Röttsches a5f6f869 2020-10-23T14:25:05 Drop layout table if layout lookup accelerator allocation failed If the table is kept, when the table is present but only the accelerator allocation failed, then we run into nullptr dereferences downstream in hb_ot_map_t::apply when trying to access proxy.accels[i]. To fix this, instead of only setting lookup_count of accelerator_t itself, drop the whole table to avoid hb-ot-map construction assuming that the lookups will work correctly despite accelerator allocation having failed. Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24490 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24490
Myaamori 5f32fdff 2020-11-24T01:29:24 meson: use meson.current_source_dir() instead of @CURRENT_SOURCE_DIR@ @CURRENT_SOURCE_DIR@ is not listed as a valid string substitution for custom targets in the Meson reference, and in practice it does not get substituted when using the vs2019 backend.
David Corbett b2e7bb2a 2020-10-27T19:50:33 Don’t map BCP 47 to coincidentally similar OT tag
David Corbett e1df2c52 2020-10-26T19:16:35 Map ISO 639 code qul to language system tag 'QUH '
Khaled Hosny f579c661 2020-11-21T16:06:27 Mark variable unused Hopefully fixes build with newer ragel. https://github.com/adrian-thurston/ragel/issues/56 Fixes https://github.com/harfbuzz/harfbuzz/issues/2752
David Corbett f83496a9 2020-11-20T08:16:36 [use] Remove workaround for reserved code points See <https://github.com/microsoft/font-tools/issues/12>.
David Corbett 17da41bd 2020-11-17T14:29:05 Update language system tag registry to OT 1.8.4
Simon Cozens fd8f4ffc 2020-09-18T16:37:22 Trace reorder, not normalize
Simon Cozens 2e0193d7 2020-09-18T16:28:29 Add more cast spaces
Simon Cozens 4bb6d54e 2020-09-18T16:26:08 Missing cast
Simon Cozens 8e1bedc5 2020-09-18T16:25:43 Keep phase names
Simon Cozens 428c111f 2020-09-18T16:24:47 Fix spacing around casts
Simon Cozens f19018da 2020-09-17T15:08:32 Smaller issues from review
Simon Cozens 8b3b835a 2020-09-17T14:27:31 Trace normalization and preprocessing stages
Simon Cozens b50099bf 2020-09-17T14:25:30 Trace reordering in pause functions
Fabrice Fontaine 0c3dcfae 2020-11-17T07:31:07 Merge remote-tracking branch 'upstream/master'
David Corbett 3bd43bd0 2020-11-16T21:55:02 Map more ISO 15924 variants to `hb_script_t`s
David Corbett 27170e05 2020-10-28T18:02:55 Fix names for language tag in gen-tag-table.py A BCP 47 language tag with both a script subtag and a region subtag would be printed as a human-readable name in hb-ot-tag-table.hh as if it only had its language subtag.
David Corbett 49ebb9eb 2020-10-17T12:03:44 [use] Remove redundant O entries from the table
David Corbett 79fd5ce2 2020-10-17T11:57:08 [use] Merge IND and Rsv classes into O
Behdad Esfahbod cde2cf84 2020-10-16T23:49:31 [use] Minor clean-up of unused categories
David Corbett 0792690b 2020-10-16T22:41:12 [use] Skip WJ and ZWJ when clustering
Laurenz 3fcf466b 2020-10-16T23:03:01 [hb-shape-fallback] Use signed int for correction
Behdad Esfahbod 77e704d1 2020-10-15T02:02:04 [buffer] Add assert_unicode()/assert_glyphs() and use internally
Behdad Esfahbod 5ef06139 2020-10-15T01:54:28 [buffer] Add ensure_glyphs()/ensure_unicode() Use in deserialize. To be used more.
Behdad Esfahbod 3232e6f2 2020-10-15T00:20:17 [buffer] Add hb_buffer_has_positions() Fixes https://github.com/harfbuzz/harfbuzz/issues/2716
David Corbett dec52006 2020-10-10T14:49:55 Map BCP 47 tags to all macrolanguages The general rule is that if a BCP 47 macrolanguage maps to an OpenType language system tag, all its individual languages map to it too. Previously, a tag like "prs" (Dari) would not map to the language system tag ('FAR ') of its macrolanguage ("fa") because "prs" already has its own language system tag ('DRI '). That exception has been removed: now "prs" maps to 'DRI ' and falls back to 'FAR '.
David Corbett 1d53268d 2020-10-10T14:46:36 Fix two-way mapping of "man" and 'MNK '
David Corbett ab38cf67 2020-10-10T14:21:20 Map hy-arevmda to 'HYE ' instead of HYE0
David Corbett 916c5a90 2020-10-10T14:15:16 Consistently emit BCP 47 subtag scope suffixes
Behdad Esfahbod 1c05f678 2020-10-11T12:28:25 [buffer] Increase work limits Our previous limits of 64 per input character was already hit by David Corbett's under-development Duployan font. Increase work limits by factor of 16, and number of glyphs by factor of 2. Fixes https://github.com/harfbuzz/harfbuzz/issues/2707
Behdad Esfahbod b37edebf 2020-10-09T21:26:09 [buffer/deserialize] Do not clear() buffer upon content type mismatch We return false. I don't see reason to clear buffer.
Behdad Esfahbod c396e160 2020-10-09T21:13:10 [buffer/deserialize] Accept arbitrary glyph names Accepts escapes. Added TODO items for matching escaping in serialize().
Behdad Esfahbod 4a4eebcf 2020-10-09T21:06:20 [buffer/serialize] Minor renames in Ragel machines As per my previous review on: https://github.com/harfbuzz/harfbuzz/pull/2687
Behdad Esfahbod 78fb6a11 2020-10-09T18:02:16 Whitespace
Behdad Esfahbod 140552ce 2020-10-09T18:01:32 [buffer/serialize] Only serialize empty buffers of CONTENT_TYPE_INVALID
Behdad Esfahbod 8f5d8b15 2020-10-09T17:58:57 [buffer] Buffer start <= end <= len requirement in (de-)serialize
Behdad Esfahbod 3b64122a 2020-10-09T17:55:21 [buffer] Fix immutable case with end_ptr==nullptr
Simon Cozens 7c0bc0bb 2020-09-25T21:24:41 Serialize invalid buffer to !! (text) or [] (json) There is no generic deserialize - you have to choose glyphs or unicode - so there is no way to deserialize this buffer.
Simon Cozens 5bb88c4f 2020-09-25T10:08:00 Oops debug print
Simon Cozens f56eb402 2020-09-25T10:06:33 Immutable buffer fix
Simon Cozens 150f3914 2020-09-25T10:04:39 Prohibit mixed glyphs/unicode buffers in deserialization
Simon Cozens 6b1726b6 2020-09-21T16:35:40 Typos
Simon Cozens 3d3c87e7 2020-09-21T14:35:05 Put the flags back in and serialize clusters. Note that now JSON glyph buffers and Unicode buffers look very similar, except for the g/u property difference.
Simon Cozens c03a2001 2020-09-18T14:19:17 Deserialization routines for Unicode buffers
Simon Cozens c0716bb5 2020-09-18T10:31:28 Move delimiter addition into hb-buffer-serialize
Simon Cozens 36ede569 2020-09-18T10:24:29 Fix docs Note the delimiters stuff isn’t true yet, will be working on that
Simon Cozens bb7b634c 2020-09-18T09:49:19 Simplify JSON unicode serialization It’s just an array of codepoints; no need to turn them into objects
Simon Cozens 57a528ab 2020-09-18T09:35:05 Convert tabs to spaces
Simon Cozens aff6a362 2020-09-18T09:27:27 Use auxbuffer for serialize_unicode_text
Simon Cozens 58bcc1ce 2020-09-17T16:29:40 Serialize Unicode buffers
David Corbett c39ab82c 2020-10-06T16:51:40 Fix usage text of gen-use-table.py
David Corbett a99e8721 2020-09-28T21:12:46 [use] Fix tests with MSVC
Koji Ishii 7e6070a4 2020-08-31T17:21:21 Set *coord to nullptr
Koji Ishii 4e0bddb7 2020-08-19T20:49:10 get_baseline
Khaled Hosny cc7b3a1a 2020-09-26T10:22:39 [Docs] Address review comments
n8willis 41b46a3c 2020-04-26T16:01:31 Update hb-face.cc
n8willis 726e320e 2020-04-26T15:56:57 Update inline doc for hb_face_create: explain index
Nathan Willis 70331ca4 2019-04-22T19:25:42 [Docs] Minor update GTK-Doc comments in hb-ot-layout.
Nathan Willis eb10ef46 2019-04-22T19:22:24 [Docs] Add GTK-Doc comments for hb-ot-font and hb-ot-shape.
Nathan Willis 3e72febd 2019-04-22T19:21:27 [Docs] Add GTK-Doc comments for hb-face.
Nathan Willis 88cdea60 2019-04-22T19:17:40 [Docs] Add GTK-Doc comments to hb-shape-plan.
Nathan Willis 5b43eb5a 2019-04-22T19:16:48 [Docs] Add GTK-Dod comments to hb-unicode.
Fabrice Fontaine 2604201a 2020-09-24T21:00:34 src/meson.build: allow introspection when cross-compiling introspection can be enabled when cross-compiling on certains conditions (for example it is supported by buildroot) so, as suggested by Tim-Philipp Müller, disable it by default for cross builds unless the option was explicitly enabled by the user Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Khaled Hosny df00f45e 2020-09-24T11:57:12 Fix annotation in previous commits
Nathan Willis 5a695a79 2019-05-11T13:54:40 Swap # for () in gtk-doc function mention.
n8willis 379be7b7 2019-05-09T14:40:57 Update src/hb-ot-var.cc Co-Authored-By: Khaled Hosny <khaledhosny@eglug.org>
Nathan Willis 938add71 2019-04-11T19:45:12 Add GTK-Doc comments for hb-ot-var.
Khaled Hosny 9a1be3fe 2020-09-22T16:46:03 Fix enum documentation syntax
n8willis 3c9244e6 2019-05-11T16:44:30 Update src/hb-aat-layout.cc Co-Authored-By: Khaled Hosny <khaledhosny@eglug.org>
Nathan Willis d619ba06 2019-04-08T20:17:38 Add gtk-doc documentation to AAT layout functions and enums.
Nathan Willis 514e6baa 2019-04-04T10:18:29 [gtk-doc] document AAT functions and enums.
Behdad Esfahbod a1f4d285 2020-09-21T16:50:11 [buffer] Fix invalid write access in hb_buffer_deserialize_glyphs() If buffer is immutable, we were trying to set content_type on it. Ouch!
ebraminio 1f8b1e7f 2020-09-21T11:39:38 [ENOMEM] Return gracefully if stages isn't initialized correctly (#2639) This happens if calls to 'm.lookups[table_index].push ()' has been silently failed due to lack of memory. This change just returns gracefully instead issuing the assert. Fixes https://crbug.com/oss-fuzz/24494
Behdad Esfahbod e40c0d82 2020-09-16T12:48:30 [ENOMEM] Handle immutable buffer in shape_full() Move the content_type changing to shape_plan_execute() where it belongs. Skip setting if content type is UNKNOWN, which happens with empty buffers only, including the immutable buffer. Alternate fix to https://github.com/harfbuzz/harfbuzz/pull/2606 and https://github.com/harfbuzz/harfbuzz/pull/2625
Garret Rieger bbbcad0d 2020-09-16T11:19:40 Revert "[ENOMEM] don't perform set process operations if the other set is in an error state." This reverts commit f3929abafe3b64f15d0dc2d21ad7b493eeb92dfe.
Garret Rieger f3929aba 2020-09-15T13:06:36 [ENOMEM] don't perform set process operations if the other set is in an error state. Running a process while the other set is in an error state can potentially corrupt this sets map map (for example by overwritting all of the major values with 0).
Simon Cozens 584d3a43 2020-09-16T15:08:50 Merge pull request #2681 from khaledhosny/myanmar-liga [myanmar] Don’t disable liga feature
Khaled Hosny 7d64b097 2020-09-12T21:17:18 [myanmar] Don’t disable liga feature This seems to have been carried over from the Indic shaper, but Uniscribe enables it by default. See https://github.com/harfbuzz/harfbuzz/issues/2213#issuecomment-686062915