src/hb-ot-color-svg-table.hh


Log

Author Commit Date CI Message
Matthias Clasen e6c5a616 2022-12-17T02:13:38 SVG Implement paint-glyph
Behdad Esfahbod c5f90387 2022-12-22T12:16:55 [paint] Add bitmap width/height to paint_image callback Such that we can add raw data as well.
Behdad Esfahbod 237955df 2022-12-22T08:12:47 [paint] Add slant to image() callback And slant images in hb-view.
Matthias Clasen 6387004c 2022-12-21T16:43:19 [paint] Simplify api Drop the hb_paint_context_t struct from the API, and only pass the font where we need it.
Matthias Clasen 9be01b6b 2022-12-21T14:04:32 [paint] Pass hb_paint_context_t along Replace the font argument with a hb_paint_context_t that carries the font, the palette index and the foreground color. The hb_font_paint_glyph() api now takes the palette index and the foreground color as extra arguments. Update all callers and regenerate test results.
Matthias Clasen 97224f3b 2022-12-21T02:11:36 [paint] Pass font to all callbacks This will lead to easier implementations. At the same time, we change the push_clip_glyph callback to use the font as-is, no unscaling needed. Update all callers and expected test results.
Matthias Clasen 0a2f3673 2022-12-17T13:51:23 [paint] Use tags for image formats This fits better with the rest of the HarfBuzz API.
Matthias Clasen 37f3f0fc 2022-12-17T11:49:18 [paint] Change the image callback Instead of passing the glyph ID, give it the image blob, a mimetype, and glyph extents (if available). Update all callers.
Behdad Esfahbod ac1bb3e3 2022-01-20T11:47:17 [machinery] Move accelerators to constructor/destructor
Behdad Esfahbod e062376e 2022-01-19T17:09:34 [machinery] Make accelerator lazy-loader call Xinit/Xfini Instead of init/fini. To isolate those functions. To be turned into constructor/destructors, ideally one per commit (after some SFINAE foo.)
Behdad Esfahbod 4dba749d 2021-03-31T16:09:39 Add SortedArray{16,32}Of<>
Behdad Esfahbod ad28f973 2021-03-31T12:49:14 Rename offset types to be explicit about their size Add Offset16To<>, Offset24To<>, and Offset32To<> for most use-cases.
Ebrahim Byagowi ba22df36 2020-03-10T10:42:20 minor makes search for sanitize calls easier for me
Ebrahim Byagowi 92588782 2019-04-30T13:05:10 Remove space between right angle brackets now that we have C++11 (#1689)
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<>
Ebrahim Byagowi e4120085 2018-12-17T21:31:01 Remove redundant void from C++ sources (#1486)
Ebrahim Byagowi b2ebaa9a 2018-12-16T22:38:10 Remove redundant 'inline' from methods (#1483)
Ebrahim Byagowi 7ee5c523 2018-12-12T15:14:37 minor style fix, use void in methods on no argument
Behdad Esfahbod 5c4fead7 2018-11-29T15:04:34 Convert "static const hb_tag_t" constants to enum
Behdad Esfahbod 30cb45b3 2018-11-24T00:35:31 Change ArrayOf.bsearch() return semantics Towards consolidating all array bsearch/...
Behdad Esfahbod da6aa3b0 2018-11-11T11:40:57 Add hb_blob_ptr_t.destroy()
Behdad Esfahbod 0b0fad3e 2018-11-11T00:26:55 [color] Port to hb_blob_ptr_t Fix hb_blob_ptr_t::get_length () as well.
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 31cc1f74 2018-10-29T11:14:37 [svg] Minor
Ebrahim Byagowi f10252b4 2018-10-29T10:29:58 [svg] Fix incorrect array referencing
Behdad Esfahbod a8c9facf 2018-10-28T18:32:37 [svg] Cosmetic
Behdad Esfahbod 9c1460e5 2018-10-28T18:29:14 [svg] Use SortedArrayOf.bsearch
Behdad Esfahbod 18dd6363 2018-10-28T18:26:49 [svg] Minor
Ebrahim Byagowi 6a38fd68 2018-10-27T10:50:53 [ot-color/png] sbix runtime memory check
Ebrahim Byagowi 5cb1ce86 2018-10-25T22:39:58 [svg] Collapse SVGDocumentIndex into SVG
Ebrahim Byagowi 4ceabb8c 2018-10-25T21:52:35 [svg] Hide start_glyph and end_glyph from API
Ebrahim Byagowi c7a4e3df 2018-10-23T18:00:48 [svg] Add public API * hb_ot_color_has_svg * hb_ot_color_glyph_svg_create_blob
Behdad Esfahbod 10642b3f 2018-09-15T19:43:33 Disallow null-enabled offsets to unsized structures... ...like UnsizedArrayOf<>. This fixes a class of crasher bugs, mostly with color and AAT tables. We cannot use nullable offsets to varsized data that does not declare min_size, because it's nost safe to use our fixed-size null pool for types that have their size external. So, use non_null'able offsets for these. A further enhancement would be to make use of min_size in Null<> itself. Will try that after.
Behdad Esfahbod c77ae408 2018-08-25T22:36:36 Rename hb-*private.hh to hb-*.hh Sorry for the noise, downstream custom builders. Please adjust.
Behdad Esfahbod 36ed163f 2018-07-23T11:57:45 Remove unnecessary OT:: namespace specifiers
Behdad Esfahbod 9583e007 2018-07-22T22:40:32 Port more off of Sanitizer<>
Behdad Esfahbod eba1c16a 2018-05-08T02:47:42 Always lock blob in sanitize. Remove blob->lock_as() in favor of blob->lock()
Behdad Esfahbod b4fa5050 2018-05-08T02:45:08 Move Sanitizer::lock_instance<>() to blob->lock_as<>().
Ebrahim Byagowi a47070cd 2018-04-18T12:09:37 Minor, annotate the added tables with likely/unlikely (#997)
Ebrahim Byagowi a02c3ee7 2018-04-12T13:38:19 Add or update tables specifications links
Ebrahim Byagowi f8bb582b 2018-04-11T17:13:20 [ot-color] Cosmetic changes (#962)
Ebrahim Byagowi 8fd55422 2018-03-27T16:57:09 Implement an internal emojis dumper tool (#909) Later to be expanded to a more general tool but for now it only supports CBDT, SVG and CBDT.
Ebrahim Byagowi 28f25f32 2018-03-12T14:00:11 [ot-color/SVG] Minor (#878)
Ebrahim Byagowi 218fa716 2018-03-10T11:13:52 [ot-color] SVG table implementation (#874)