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


Log

Author Commit Date CI Message
Ebrahim Byagowi 8e089808 2020-01-24T23:39:44 [sbix] minor style fixes
ckitagawa-work 0e4b2676 2020-01-24T12:16:08 [subset] sbix fix missed offset is_null() check
ckitagawa d3fff622 2020-01-23T11:36:47 Move push call to caller
ckitagawa 7dc341fe 2020-01-23T11:09:15 [subset] Fix UBSAN issue in sbix
ckitagawa 3747b329 2020-01-22T09:07:32 Address garretrieger@'s comments
ckitagawa af62c1c3 2020-01-21T15:19:33 Fix style issue
ckitagawa 8614a30b 2020-01-21T15:14:03 [subset] Fix sbix fuzz problem
ckitagawa 6bcf57ea 2020-01-14T14:56:02 Simplify copy and add fuzzing coverage
ckitagawa 78b50a67 2020-01-14T11:01:09 Address initial comments
ckitagawa 43b6c865 2020-01-09T10:44:20 [subset] Support sbix subsetting
Daeren 4ef597e1 2019-12-11T13:44:05 Fix unary minus operator applied to unsigned int Applying unary minus operator to unsigned int causes the following error on MSVS: error C4146 This patch fixes the error.
Ebrahim Byagowi dc45f225 2019-10-08T23:27:37 [ot-metrics] Don't use mixed scaled and not scaled for generating extents
Ebrahim Byagowi d73cdcf3 2019-10-06T18:09:14 [ot-font] Apply font scaling before turning to int
Behdad Esfahbod c379faed 2019-09-06T16:41:12 Fix a few struct size declarations Was wrong. As excercised by defining VAR to other than 1 in hb.hh.
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
Khaled Hosny c9796d15 2019-07-22T03:57:24 Fix sbix glyph extents * The ‘height’ needs to be negated since the API returns “distance from top to bottom side”. * Similarly, the ‘y_offset‘ needs to be added to the height to get the ‘y_bearing’, since sbix’s offset is “the point in the glyph relative to its lower-left corner which corresponds to the origin” while ‘y_bearing’ is the “top side of glyph from origin”. With these changes the sbix glyph metrics return values similar to other tables, as they were otherwise unusable.
Behdad Esfahbod dfc57802 2019-05-07T23:26:09 Fix more double-promotion errors WHy do only some of the clang bots catch this I have no idea :(.
Behdad Esfahbod 41248cce 2019-05-07T20:54:31 Remove MIN/MAX in favor of hb_min/hb_max
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
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 fc44dea3 2018-11-13T11:54:33 Use atomic ints for upem and num_glyphs on face
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 995bf6c6 2018-10-31T13:21:33 [sbix] Rely on blob->as<> checking size against Type::min_size
Khaled Hosny 0af3d176 2018-10-30T17:05:28 [sbix] Fix memory leak in early return Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11210
Behdad Esfahbod 98bddbc8 2018-10-28T23:14:15 [sbix] Minor
Behdad Esfahbod 574579d3 2018-10-28T23:04:37 [color] Rename get_strike() to choose_strike()
Behdad Esfahbod e998fb9f 2018-10-28T22:45:53 [color] Round extents when scaling
Ebrahim Byagowi c929ccfc 2018-10-29T08:41:13 [ot-color/png] Consider strike ppem on scaling
Behdad Esfahbod 4876c938 2018-10-28T18:01:25 [sbix] Comment
Behdad Esfahbod 65621723 2018-10-28T16:27:18 [sbix] Use LOffsetLArrayOf<>
Behdad Esfahbod a3ddd806 2018-10-28T16:26:03 [sbix] Add get_strike
Behdad Esfahbod 95524ed9 2018-10-28T15:58:48 [sbix] Remove sbix_len
Behdad Esfahbod 69e98464 2018-10-28T15:53:11 [sbix] Fix get_glyph_blob() on Null object
Behdad Esfahbod 4e0ee2af 2018-10-28T15:44:40 [sbix] Simplify ppem access If struct members are simple and needed publicly, we make them public.
Behdad Esfahbod 6ac9a4ea 2018-10-28T15:43:54 [sbix] Simplify glyph_length calc
Behdad Esfahbod 0730d623 2018-10-28T15:38:42 [sbix] Check glyph data end is in range
Behdad Esfahbod b76dc031 2018-10-28T15:36:17 [sbix] Reduce code
Behdad Esfahbod 50fb02a2 2018-10-28T15:33:12 [sbix] Check glyph id before looking into unsafe array That 'Z' at end of imageOffsetsZ is a reminder that you should check...
Behdad Esfahbod a8cb9c73 2018-10-28T15:30:57 [sbix] Simplify 'dupe' handling logic
Behdad Esfahbod d7eb534e 2018-10-28T15:27:04 [sbix] Check offsets before proceeding
Behdad Esfahbod c8380bd3 2018-10-28T15:20:33 [color] Remove more dump-emoji cruft
Behdad Esfahbod 68f2c832 2018-10-28T15:18:55 Remove dump-emoji
Behdad Esfahbod b46de42b 2018-10-28T15:13:45 [sbix] Fix order of parameters
Behdad Esfahbod a91cda72 2018-10-28T15:12:05 [sbix] Remove redundant parameter
Behdad Esfahbod c712005f 2018-10-28T15:11:10 [sbix] Add get_strike()
Behdad Esfahbod 400bc3f0 2018-10-28T15:05:40 [sbix] Remove a couple of extra checks
Behdad Esfahbod 3770282c 2018-10-28T15:02:53 [sbix] Rename sbix_table to table in accelerator
Behdad Esfahbod 1f33b852 2018-10-28T14:56:55 [sbix] Rename ugly reference_blob_for_glyph() to reference_png()
Behdad Esfahbod 946b5344 2018-10-28T14:52:25 [sbix] Fix uninitialized variables
Behdad Esfahbod 01c7d53f 2018-10-28T14:51:18 [sbix] Select best strike based on ppem
Behdad Esfahbod f9f26bff 2018-10-28T14:20:50 [sbix] Move code around. Add get_extents()
Behdad Esfahbod 48bc3039 2018-10-28T14:16:52 [sbix] Check blob length against PNG header leangth
Ebrahim Byagowi d3ec31a5 2018-10-29T00:28:44 [ot-color] More on PNGHeader fields
Ebrahim Byagowi 35fa3d32 2018-10-29T00:07:26 [ot-color] Apply Behdad comment
Ebrahim Byagowi 307d6186 2018-10-29T00:03:01 [ot-color] Make PNGHeader reading actually work
Ebrahim Byagowi 632e9af8 2018-10-28T23:43:50 [ot-color] Implement PNGHeader and test it, it doesn't work however
Ebrahim Byagowi 38706a07 2018-10-28T23:19:04 [ot-color] Preparation for setting PNG width/height in extents
Ebrahim Byagowi 3d4c1f6a 2018-10-28T21:38:56 [ot-color] Apply Behdad reviews
Ebrahim Byagowi 8ef0d2ef 2018-10-28T20:09:40 [ot-color] Apply Behdad comment
Ebrahim Byagowi 5e2a52f7 2018-10-27T12:44:33 [sbix] Remove dump method from sbix accelerator
Ebrahim Byagowi dc11a381 2018-10-27T12:15:25 [sbix] Set num_glyphs on accelerator dump-emoji was broken without it
Ebrahim Byagowi 6a38fd68 2018-10-27T10:50:53 [ot-color/png] sbix runtime memory check
Ebrahim Byagowi 265ad408 2018-10-26T23:55:11 [ot-color/png] Implement sbix part
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 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 740ae27d 2018-07-22T22:40:56 Port sbix off of Sanitizer<>
Behdad Esfahbod be707384 2018-07-17T18:45:25 Move sanitizer code around a bit
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.
Behdad Esfahbod fb0f3e37 2018-03-11T20:38:40 [sbix] Clean up
Ebrahim Byagowi 4c63c823 2018-03-10T11:07:56 [ot-color] sbix table implementation (#870)