src/hb-ot-name-table.hh


Log

Author Commit Date CI Message
Behdad Esfahbod bd55d4b4 2019-12-06T03:35:24 [algs] Streamline bsearch() API more towards hb_array_t::bsearch_impl() Preparing to merge the two finally!
Ebrahim Byagowi 486754a8 2019-09-23T23:48:08 [serialize] Extract iterable copy, copy_all
Ebrahim Byagowi cbc0646a 2019-09-24T12:08:12 Minor, normalize for each calls
Ebrahim Byagowi 6e42a418 2019-09-21T16:25:54 Minor, turn more of hb_apply to for each
Ebrahim Byagowi 6e4736a3 2019-09-14T10:38:52 [name] Undef entry_{index,score} to avoid collision in amalgam builds
Ebrahim Byagowi a0b4ac4d 2019-08-24T17:57:14 Turn 8 spaces to tab across the project According to the current code style of the project
Behdad Esfahbod 37f8ebff 2019-06-18T14:33:49 [config] Fixup for AAT ltag table access Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod 92604416 2019-05-31T14:34:34 [serialize] Pass offset to serialize_copy()
Qunxin Liu e1a5ce6a 2019-05-24T10:58:52 Fix fuzzer crash testcase Add a check for stringOffSet(uint16) overflow, return early if overflow happens
Behdad Esfahbod 78d35f0e 2019-05-15T18:15:05 Reduce captures of lambdas
Behdad Esfahbod 1fc07721 2019-05-11T01:24:23 [config] HB_NO_OT_NAME_LANGUAGE AAT
Behdad Esfahbod 227d85e1 2019-05-10T23:15:58 Minor
Behdad Esfahbod ed972d5d 2019-05-09T16:58:28 [iter] Rewrite test functions Notably, add hb_is_source_of(,) and hb_is_sink_of(,) to replace most uses of hb_is_iterator_of(,).
Behdad Esfahbod ceda1f03 2019-05-09T15:19:42 Fix compile NameRecord is not copy-constructible, so should be iterator of const-reference.
Behdad Esfahbod 503748d8 2019-05-08T12:45:02 [name] Sanitize records for reals Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14641
Behdad Esfahbod 7c037bd2 2019-05-07T13:37:43 [name] Clean up some more
Behdad Esfahbod f982b9d9 2019-05-07T13:29:01 [name] Clean up serialize() API
Behdad Esfahbod 59ee61fd 2019-05-07T13:26:15 [name] Use iterators more
Behdad Esfahbod 0987c420 2019-05-07T11:01:02 [name] Remove dead code
Behdad Esfahbod 5ac4ab68 2019-05-02T16:29:07 [subset] fix for name table serializing with new serializer machinery
Behdad Esfahbod c548fced 2019-05-02T16:29:07 [WIP] [name] Port to fancy serializer machinery
Behdad Esfahbod 0d5fd168 2019-05-03T10:37:32 Revert "[WIP] [name] Port to fancy serializer machinery" This reverts commit c7f366fbbb208d0a9103ac4ee4ac00ff726c31e4. Don't know how it got to master!
Behdad Esfahbod c7f366fb 2019-05-02T16:29:07 [WIP] [name] Port to fancy serializer machinery
Behdad Esfahbod 8855af38 2019-05-02T16:26:06 [name] Add NameRecord::copy()
Behdad Esfahbod 097bb3f0 2019-05-02T16:25:00 [name] Minor changes
Behdad Esfahbod 0f1a6ce8 2019-05-02T15:03:41 [name] Fix format of susbetted table to 0
Behdad Esfahbod 87810fc9 2019-05-02T14:45:57 [name] Use variable forwarding to simplify sanitize()
Behdad Esfahbod bf91b418 2019-05-02T14:42:37 [name]
Ebrahim Byagowi 92588782 2019-04-30T13:05:10 Remove space between right angle brackets now that we have C++11 (#1689)
Qunxin Liu 8c8922a0 2019-04-25T09:17:58 [subset] Updates due to changes in resolve_links() on master branch
Qunxin Liu 19afd250 2019-04-24T14:02:29 [subset] Update to use _subset2() for name table
Qunxin Liu 9ad14f56 2019-04-16T11:20:58 [subset] update name table subsetting with new serializer
Qunxin Liu e501ea14 2019-04-05T10:05:55 [subset] Subset name table step 3, add --nameids option to guide the selection of which name records to keep in the subset method.
Qunxin Liu 2637a816 2019-04-02T13:38:27 [subset] subset name table step 2, add implementation for collecting subset elements and serialize method
Qunxin Liu 408c1dae 2019-03-29T10:34:32 [subset] subset name table step 1, write out table unmodified, use accelerator to access string
Behdad Esfahbod 079d2dcb 2019-04-12T15:00:37 Add HB_NO_NAME_TABLE_AAT Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod ef006549 2019-01-22T12:08:57 Convert tag enum class consts to static constexpr Part of https://github.com/harfbuzz/harfbuzz/issues/1553
Behdad Esfahbod b1152d5e 2019-01-17T18:17:04 Use NNOffsetTo<>
Behdad Esfahbod 71da9ca6 2018-12-27T18:01:06 [vector] Remove use of arrayZ() by using casts
Behdad Esfahbod 474a1205 2018-12-21T18:46:51 [array/vector] Rename len to length
Ebrahim Byagowi e4120085 2018-12-17T21:31:01 Remove redundant void from C++ sources (#1486)
Behdad Esfahbod dcfa4a8d 2018-12-16T20:40:07 [array] Remove custom hb_bytes_t implementation
Ebrahim Byagowi b2ebaa9a 2018-12-16T22:38:10 Remove redundant 'inline' from methods (#1483)
Behdad Esfahbod f998bb20 2018-11-30T12:52:21 More weird fixes In file included from hb-ot-name.cc:29: hb-ot-name-table.hh: In member function 'unsigned int OT::name::get_size() const': hb-ot-name-table.hh:157: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: hb-open-type.hh:354: note: candidate 1: const Type& OT::UnsizedArrayOf<Type>::operator[](unsigned int) const [with Type = OT::NameRecord] hb-ot-name-table.hh:157: note: candidate 2: operator[](const T*, int) <built-in> hb-ot-name-table.hh: In member function 'void OT::name::accelerator_t::init(hb_face_t*)': hb-ot-name-table.hh:196: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: hb-dsalgs.hh:574: note: candidate 1: Type& hb_array_t<Type>::operator[](unsigned int) const [with Type = const OT::NameRecord] hb-ot-name-table.hh:196: note: candidate 2: operator[](T*, int) <built-in> hb-ot-name-table.hh:197: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: hb-dsalgs.hh:574: note: candidate 1: Type& hb_array_t<Type>::operator[](unsigned int) const [with Type = const OT::NameRecord] hb-ot-name-table.hh:197: note: candidate 2: operator[](T*, int) <built-in> hb-ot-name-table.hh:198: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: hb-dsalgs.hh:574: note: candidate 1: Type& hb_array_t<Type>::operator[](unsigned int) const [with Type = const OT::NameRecord] hb-ot-name-table.hh:198: note: candidate 2: operator[](T*, int) <built-in> make[4]: *** [libharfbuzz_la-hb-ot-name.lo] Error 1 make[3]: *** [all-recursive] Error 1
Behdad Esfahbod 5c4fead7 2018-11-29T15:04:34 Convert "static const hb_tag_t" constants to enum
Behdad Esfahbod da6aa3b0 2018-11-11T11:40:57 Add hb_blob_ptr_t.destroy()
Behdad Esfahbod 5d0078a4 2018-11-10T23:52:15 Add hb_blob_ptr_t Use in a couple of places. Push to bots to see how many unhappy before I convert the rest.
Behdad Esfahbod 0b0b38ec 2018-11-03T16:15:30 Fix null accelerator's Fixes all except for cmap. To be done separately. Part of https://github.com/harfbuzz/harfbuzz/issues/1146
Behdad Esfahbod a7aba99b 2018-10-30T14:04:09 [name] Rename hb_name_id_t to hb_ot_name_id_t https://github.com/harfbuzz/harfbuzz/pull/1254
Behdad Esfahbod 6ce49a92 2018-10-28T08:26:30 [name] Change hb_name_id_t back to unsigned int https://github.com/harfbuzz/harfbuzz/commit/d941f66c75fe26f909b1ba248535cc372bbde851#commitcomment-31076011
Behdad Esfahbod d941f66c 2018-10-27T02:55:52 [name] Make hb_name_id_t be the enum This is like hb_script_t. We had this exposed as unsigned int since 2.0.0 release in two APIs, as well as hb_ot_layout_get_size_params() from earlier. But since no one uses those (right?!), let's just fix this now.
Behdad Esfahbod 622b014f 2018-10-24T12:40:15 [name] Skip enumerating names with unknown language
Behdad Esfahbod 327546e6 2018-10-23T23:33:44 [name] Hook up ltag table
Behdad Esfahbod dc9a5f88 2018-10-23T23:16:06 [name] Do record sanitization at run-time
Behdad Esfahbod a53d301b 2018-10-23T23:05:55 [name] Minor
Behdad Esfahbod 68f17210 2018-10-23T22:19:09 [name] Fix cmp for invalid language
Behdad Esfahbod 9b532e2e 2018-10-23T22:00:19 [name] Add language mapping
Behdad Esfahbod e2f9b657 2018-10-23T21:19:56 [name] Start adding language support
Behdad Esfahbod 6db6bbe6 2018-10-23T21:12:58 [name] Remove unused cmp function
Behdad Esfahbod 4668a050 2018-10-23T20:51:53 [name] Hook things up Accept Mac Latin name entries as ASCII as well.
Behdad Esfahbod 69f5da06 2018-10-23T20:30:40 [name] More It assumes all names are encoded in UTF16-BE. Other than that, and not listing languages correctly, it's *supposed* to work.
Behdad Esfahbod 84811a06 2018-10-23T03:16:03 [name] Fix for rebase changes to hb_array_t
Behdad Esfahbod a826a873 2018-10-16T13:06:56 [name] Hide internal details from public API
Behdad Esfahbod c783d363 2018-10-15T23:28:49 [name] Pre-allocate array
Behdad Esfahbod c2aa4095 2018-10-15T23:09:28 [name] Start implementing hb_ot_name_get_utf16()
Behdad Esfahbod 740cde89 2018-10-15T23:00:27 [name] Implement hb_bytes_t get_name()
Behdad Esfahbod 90420ed8 2018-10-15T22:48:48 [name] Implement hb_ot_name_get_names()
Behdad Esfahbod 9a6c87c1 2018-10-15T22:42:04 [name] Finish accelerator sorting
Behdad Esfahbod 2157e56b 2018-10-15T22:22:50 [name] Start implementing public API infrastructure
Behdad Esfahbod dff2c45f 2018-09-10T23:29:26 Port rest from VAR to UnsizedArrayOf<>
Behdad Esfahbod 9507b05a 2018-09-10T23:18:07 Simplify sanitize->check_array() Fix a bug in CBDT sanitize, and redundant check in avar.
Behdad Esfahbod c77ae408 2018-08-25T22:36:36 Rename hb-*private.hh to hb-*.hh Sorry for the noise, downstream custom builders. Please adjust.
Ebrahim Byagowi a02c3ee7 2018-04-12T13:38:19 Add or update tables specifications links
Behdad Esfahbod 6b19178e 2018-01-10T03:07:30 Prefix int types with HB Such a headache that Windows defines UINT8, ...; Just prefix it.
Behdad Esfahbod c6173a39 2017-11-14T21:09:03 Add Offset16 and Offset32
Behdad Esfahbod 6f335ed1 2017-11-14T21:06:07 Replace USHORT/SHORT/ULONG/etc with UINT16/INT16/UINT32/etc
Behdad Esfahbod ec86cc5e 2017-10-30T14:11:59 Fix Windows build (And prevent it from happening in the future.)
Behdad Esfahbod 0712e915 2017-10-29T17:01:47 Remove hb_compare_func_t
Behdad Esfahbod b4715901 2015-09-29T14:57:02 Define return_trace() Not functional change (expected!).
Behdad Esfahbod 98e3ea8e 2015-03-04T12:03:39 Fix hb-uniscribe build
Behdad Esfahbod de2118ed 2015-02-17T17:27:44 Make sanitize() a const method This makes a lot of code safer. We only try modifying the object in one place, after making sure it's safe to do so. So, do a const_cast<> in that one place...
Behdad Esfahbod 8b16ff12 2014-07-09T17:40:52 [uniscribe] Fix build after recent changes to Offset
Behdad Esfahbod 6c48f20e 2013-09-09T15:43:10 [otlayout] Add structs for JSTF table
Behdad Esfahbod 05bad3b8 2013-07-21T17:05:02 [uniscribe] Use OT::* types
Behdad Esfahbod be218c68 2012-11-23T15:32:14 Pass this object to trace macros
Behdad Esfahbod 7d52e660 2012-11-16T18:49:54 Whitespace
Behdad Esfahbod 7c8e844d 2012-08-28T17:57:49 Use namespace for OpenType tables Avoids USHORT, SHORT, ULONG, LONG clashes with Windows API.
Behdad Esfahbod ec8d2494 2012-07-24T15:40:37 Make data members of various OpenType structs protected instead of private Should fix warnings generated when building with -Wunused-private-field. Based on patch from Jonathan Kew.
Behdad Esfahbod 0ab8c862 2012-05-11T01:25:34 Annotate SANITIZE return values More to come, for APPLY, CLOSURE, etc.
Behdad Esfahbod d6016e49 2011-08-17T14:47:41 Fix name-table sanitize
Behdad Esfahbod ae9877de 2011-08-17T14:43:45 Add hhea-table support
Behdad Esfahbod 7a750ac3 2011-08-17T14:19:59 Rename table files from eg maxp-private.hh to maxp-table.hh