src


Log

Author Commit Date CI Message
Behdad Esfahbod 2d12fc90 2022-01-19T14:01:20 [ms-feature-ranges] Pass reference to cmp function
Behdad Esfahbod ac109c93 2022-01-19T12:11:58 [ms-feature-ranges] Inline code in header file Fixes https://github.com/harfbuzz/harfbuzz/issues/3387
Behdad Esfahbod 376738d4 2022-01-19T11:46:21 [coretext] Fix lsearch
Behdad Esfahbod 106388e7 2022-01-19T11:38:37 [vector] Merge sorted-vector into vector Was easier than I thought! Let's see what the bot gods think...
Behdad Esfahbod 294d50ff 2022-01-19T11:32:14 [vector] Add sorted template argument
Behdad Esfahbod cd979978 2022-01-19T11:14:25 [vector] Remove old find() method
Behdad Esfahbod 849e40b4 2022-01-19T11:06:33 [ms-feature-ranges] Use preferred vector search API
Behdad Esfahbod 7e160dc3 2022-01-19T09:26:53 [gpos] Fix unsafe-to-break of mark-attachment This was undetected because most of the time marks were in same cluster of their base already. Fixes https://github.com/harfbuzz/harfbuzz/issues/3093
Behdad Esfahbod c8195dbc 2022-01-19T06:56:05 Merge pull request #3365 from harfbuzz/gdef-fix GDEF fix
Garret Rieger 94ba4d5a 2022-01-18T16:35:30 [subset] Fix bound check when setting overlap bit. length() shouldn't be used again as the end of instruction offset is already included in flags_offset.
Behdad Esfahbod fe783ac0 2022-01-18T13:38:28 [cff] Remove op_str_t nop init/fini
Behdad Esfahbod 8d24ac26 2022-01-18T13:14:42 [cff] Remove init/fini from number_t
Behdad Esfahbod 6ef83c2c 2022-01-18T13:08:34 [vector] Remove .fini_deep()
Behdad Esfahbod 4eb6e6ea 2022-01-18T12:07:05 [cff] Remove some more fini_deep()
Behdad Esfahbod 29f60d1e 2022-01-18T11:58:16 [cff] Remove init/fini from blend_arg_t
Behdad Esfahbod 213e3f09 2022-01-18T09:39:46 [vector] Add TODO Emplace?
Garret Rieger f1dc8b08 2022-01-18T10:29:04 [subset-cff] Convert subr_closures_t to constructor/destructor instead of init/fini.
Behdad Esfahbod a48aa985 2022-01-18T09:32:58 [subset-cff] Remove another set of fini_deep
Behdad Esfahbod 07474aa8 2022-01-18T09:29:43 [subset-cff1] Remove a constructor/destructor pair
Behdad Esfahbod a1e9a276 2022-01-18T09:27:32 [subset-cff2] Drop an constructor/destructor pair
Behdad Esfahbod 035f0334 2022-01-18T09:26:30 [str_buff_vec_t] Remove unused fini method
Behdad Esfahbod de2cef42 2022-01-18T09:21:31 [bimap] Remove init/fini
Behdad Esfahbod c3dd21f1 2022-01-18T09:11:08 [cff] Remove unneeded init/fini
Behdad Esfahbod 1198fb24 2022-01-16T06:29:35 [vector] Adjust construction criteria
Behdad Esfahbod c58bfa35 2022-01-15T18:06:03 [vector] Move semantics in vector remove()
Behdad Esfahbod 5946e945 2022-01-15T18:00:18 [vector] Destruct in pop()
Behdad Esfahbod 7171917b 2022-01-15T17:16:40 [vector] Construct items when enlarging
Behdad Esfahbod 813eaba6 2022-01-14T13:09:21 [vector] Start adding destruction Now we need to remove manual destruction, ouch!
Behdad Esfahbod 65a22836 2022-01-14T12:55:48 [vector] Add XXX markers for remaining places that need work
Behdad Esfahbod 15cceff3 2022-01-17T15:53:01 [repacker] Replace fini_deep() with fini() Vector calls destructor now.
Behdad Esfahbod 92f17907 2022-01-16T07:51:35 Make hb_coerce static inline That's the pattern we follow. https://github.com/harfbuzz/harfbuzz/commit/985b63b3eeee5be1f5234fc7f13077eacf5e5b94#commitcomment-63973544
Behdad Esfahbod 19793f33 2022-01-16T07:49:40 Better try at previous commit https://github.com/harfbuzz/harfbuzz/commit/985b63b3eeee5be1f5234fc7f13077eacf5e5b94#commitcomment-63973544
Behdad Esfahbod 1173ed1f 2022-01-16T07:48:02 Try fix Mac build https://github.com/harfbuzz/harfbuzz/commit/985b63b3eeee5be1f5234fc7f13077eacf5e5b94#commitcomment-63973544
Behdad Esfahbod c0f57ccc 2022-01-16T06:59:24 [algs] Add default-construtor to hb_pair_t
luz paz e2e30506 2022-01-16T07:00:53 Fix various typos Found via `codespell -q 3 -S ./perf/texts -L actualy,ba,beng,fo,gir,inout,nd,ot,pres,ro,te,teh,timne`
Behdad Esfahbod 589bea15 2022-01-15T17:55:10 Fix previous commit
Behdad Esfahbod b97e4f70 2022-01-15T17:47:51 Further adjust setlocale Fixes https://github.com/harfbuzz/harfbuzz/issues/3375#issuecomment-1013783496
Behdad Esfahbod 63affc4e 2022-01-13T16:05:42 [vector] Move semantics when resizing
Behdad Esfahbod 1c501066 2022-01-15T13:08:21 [meta] Include <memory>, for addressof Fixes https://github.com/harfbuzz/harfbuzz/issues/3375
Behdad Esfahbod 71e6f742 2022-01-13T16:19:44 [meta] Remove unused hb_ref()
Garret Rieger e30511a8 2022-01-14T16:20:31 [map] Correct previous commit, if (...) was reversed.
Garret Rieger ff4e8c7e 2022-01-14T16:20:31 [map] Fix bad memory access if hb_map.fini() was called twice.
Behdad Esfahbod 8a69e006 2022-01-13T16:17:34 [meta] Use std::addressof() instead of hb_addressof()
Behdad Esfahbod b7b0a15f 2022-01-13T15:33:27 [meta] Remove hb_add_const
Behdad Esfahbod 3b2e6042 2022-01-13T15:32:46 [meta] Use std::is_const instead of hb_is_const
Behdad Esfahbod 909dde9d 2022-01-13T15:30:10 [meta] Use std::is_reference instead of hb_is_reference
Behdad Esfahbod 47afb3ef 2022-01-13T15:26:07 [meta] Replace hb_is_pointer with std::is_pointer
Behdad Esfahbod 956e0a4d 2022-01-13T15:06:58 [map] Destruct objects
Behdad Esfahbod bc0a5fdf 2022-01-13T13:34:22 [test-map] Add disabled tests with std::string
Behdad Esfahbod 985b63b3 2022-01-13T13:33:07 [map] Allow invalid items to be pointer to static object By derefencing them when necessary. Also, we do not rely on trivially-copyable, so remove that assertion.
Behdad Esfahbod 98b26eed 2022-01-13T13:12:10 [check-static-inits] Only check library object files
Behdad Esfahbod 1e27f95d 2022-01-13T13:10:47 [algs] Add hb_coerce()
Behdad Esfahbod 5a91db11 2022-01-13T12:44:48 [map] Remove constexpr invalid items These were non-workable in the general case, eg std::string.
Behdad Esfahbod 114046dc 2022-01-13T12:38:26 [map] Construct objects
Behdad Esfahbod ca4f56bd 2022-01-13T11:48:34 [map] Massage some more Towards being able to store arbitrary types.
Behdad Esfahbod cfe2b661 2022-01-13T11:42:48 [algs] Fix hash chaining to std::hash()
Garret Rieger 87496bf6 2022-01-13T11:03:45 [subset] fix fuzzer timeout if visisted_paint goes into error.
Khaled Hosny 0acf466c 2022-01-13T01:29:22 [doc] Fix hb_font_set_synthetic_slant param name
Behdad Esfahbod fa12f1ae 2022-01-12T15:08:34 Rename method
Behdad Esfahbod 9408e0d6 2022-01-12T15:07:34 Rename variable
Behdad Esfahbod 96c969c8 2022-01-12T15:06:40 Preserve glyph props
Behdad Esfahbod 0b2c514f 2022-01-12T11:20:58 More macro cleanup
Behdad Esfahbod 0a42f46c 2022-01-12T11:16:02 Fix compiler warning Fixes https://github.com/harfbuzz/harfbuzz/issues/3364
Matthias Clasen 72f0b24e 2022-01-12T13:08:02 docs: Clarify variation apis (#3363) Make it explicit that the variations setters replace all existing variations, even if not all axes are included in the provided values. Co-authored-by: Matthias Clasen <mclasen@redhat.com>
Matthias Clasen befe3b5d 2022-01-12T13:07:25 color: Document empty returns (#3362) Document that the SVG and PNG getters return the singleton empty blob if the glyph has no color. Fixes: #1413 Co-authored-by: Matthias Clasen <mclasen@redhat.com>
Behdad Esfahbod 13643934 2022-01-12T10:54:28 Clean up HB_NO_SETLOCALE https://github.com/harfbuzz/harfbuzz/pull/3358#pullrequestreview-850500143
Behdad Esfahbod 53847dba 2022-01-10T15:04:47 [algs] Call std::hash from hb_hash()
Behdad Esfahbod 74811c50 2022-01-10T14:57:38 [map] Map == / != use correct types
Behdad Esfahbod ce7f19a2 2022-01-10T14:40:27 Revert "[map] Actually use k/v invalid types for declaration!" This reverts commit 6f559346ac70fd188cb22d41f4b03ec227feee25. Err. My bad.
Behdad Esfahbod 6f559346 2022-01-10T14:29:36 [map] Actually use k/v invalid types for declaration!
Behdad Esfahbod a45a6305 2022-01-08T15:47:33 Fix unintentional locale dependency (#3358) Avoid unintentional locale dependency hb_variation_to_string uses sprintf with %g, which will produce a locale-dependent decimal point, which is not desired here. The output is supposed to be compatible with CSS syntax, and that always uses '.' for the decimal point. Fix this by changing the per-thread locale to "C" around sprintf call. Fixes https://github.com/harfbuzz/harfbuzz/issues/3355 Fixes https://github.com/harfbuzz/harfbuzz/pull/3357 Fixes https://github.com/harfbuzz/harfbuzz/pull/3358 Co-authored-by: Matthias Clasen <mclasen@redhat.com>
Matthias Clasen d70825a6 2022-01-02T11:28:28 docs: Add some details about coordinates Mention what the effective values are when coordinates have not been set.
Behdad Esfahbod 0a5c1c97 2022-01-04T14:18:38 [failing-alloc] Make it compile as C++ as well
Behdad Esfahbod bea5369c 2022-01-04T10:52:05 [buffer] Rename swap_buffers() to sync()
Behdad Esfahbod d1e7df5c 2022-01-04T07:32:04 [buffer] Add enter()/leave() pair around shape()
Behdad Esfahbod 43be5ba4 2022-01-04T07:26:53 [buffer] Group shape-related members together
Behdad Esfahbod 52f5711e 2022-01-03T11:57:42 [buffer] Add hb_buffer_create_similar() Fixes https://github.com/harfbuzz/harfbuzz/issues/1555
Behdad Esfahbod f643b81f 2022-01-03T11:45:31 [buffer] Clean up internal state bookkeeping hb_buffer_reset() was NOT resetting cluster_level. Ouch! Fix that. Part of https://github.com/harfbuzz/harfbuzz/issues/1555
Behdad Esfahbod 36e9f467 2022-01-03T11:23:14 [buffer] Overlay segment-properties in hb_buffer_append() Part of https://github.com/harfbuzz/harfbuzz/issues/1555
Behdad Esfahbod 6a669928 2022-01-03T11:21:29 Add hb_segment_properties_overlay() New API: + hb_segment_properties_overlay()
Behdad Esfahbod 165a6073 2022-01-02T12:02:20 Merge pull request #3338 from harfbuzz/slant [font] Add public API for synthetic slant
Behdad Esfahbod 3fc2e654 2022-01-02T11:56:45 [metrics] Fix slant calc
Behdad Esfahbod a7751277 2022-01-02T11:50:02 [docs] Add hb_font_[gs]et_synthetic_slant()
Behdad Esfahbod 4ab94443 2022-01-02T11:26:45 [metrics] Ouch. Fix slant code
Behdad Esfahbod f7d49d9c 2022-01-02T11:16:33 [metrics] Simplify
Behdad Esfahbod f1ba1f94 2022-01-02T10:58:25 [metrics] Only scale caret rise/run if font is slanted
Behdad Esfahbod 45c2b6e3 2022-01-02T10:55:11 [metrics] Harden math
Behdad Esfahbod fa008a02 2022-01-02T10:46:38 [metrics] Implement synthetic slant for caret slope Part of https://github.com/harfbuzz/harfbuzz/pull/3338
Behdad Esfahbod fc329f66 2022-01-02T10:41:41 [metrics] Scale up horizontal caret rise/run Eg. if rise/run are 1/0, we now return upem/0. This is equivalent. Part of https://github.com/harfbuzz/harfbuzz/pull/3338
Behdad Esfahbod 0df83f52 2022-01-02T08:01:11 Fix test
Behdad Esfahbod 5b87c30d 2022-01-02T07:53:45 [font] Mark hb_font_get_var_coords_design() non-experimental Any remaining issue with the API will address later by deprecating it. Fixes https://github.com/harfbuzz/harfbuzz/issues/1865
Behdad Esfahbod 2d42fc9f 2022-01-02T07:45:10 [font] Load named-instance if face index top bits are set This matches FreeType behavior. Fixes https://github.com/harfbuzz/harfbuzz/issues/3348
Behdad Esfahbod da7dba00 2022-01-01T11:20:20 [face] Clarify face_index handling Fixes https://github.com/harfbuzz/harfbuzz/issues/3347
Behdad Esfahbod 6da4b80e 2021-12-22T21:51:03 [hb-ot-var] Specify normalized 2.14 docs Fixes https://github.com/harfbuzz/harfbuzz/issues/3345
Behdad Esfahbod 1b51be57 2021-12-22T21:43:48 [hb-ot-var] Actually set in/out argument Fixes https://github.com/harfbuzz/harfbuzz/pull/3344
Behdad Esfahbod 06ee4021 2021-12-21T14:14:09 Use invisible-glyph for spaces if font has no ASCII space Fixes https://github.com/harfbuzz/harfbuzz/issues/3340 Should add tests ideally.
Behdad Esfahbod 602bd396 2021-12-19T21:40:25 [style] Adjust font slant angle for synthetic slant value Part of https://github.com/harfbuzz/harfbuzz/pull/3338
Behdad Esfahbod ff697deb 2021-12-19T07:25:37 [GPOS] Apply font synthetic slant Part of fixing https://github.com/harfbuzz/harfbuzz/issues/3196
Behdad Esfahbod 810f5d71 2021-12-18T15:12:26 [font] Add public API for slant Not hooked up internally to anything. New API: + hb_font_set_synthetic_slant() + hb_font_get_synthetic_slant() Part of fixing https://github.com/harfbuzz/harfbuzz/issues/3196
Garret Rieger 067f90a8 2021-12-14T16:24:38 [subset] Fix for fuzzer timeout. Fixes https://oss-fuzz.com/testcase-detail/5549945449480192 In prune_langsys: move LangSys visited check up before any work is done for a LangSys. In this particular case the compare() method is responsible for the majority of the time spent and wasn't being guarded with a visisted check.