src/hb-ot-font.cc


Log

Author Commit Date CI Message
Behdad Esfahbod 68af14d5 2017-08-09T17:09:21 Protect against div-by-zero in CBDT extent code Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1452#c5 CC https://github.com/behdad/harfbuzz/issues/139
Ebrahim Byagowi 3b0e47ca 2017-06-19T14:47:09 Fix arm-none-eabi build (fixes #451) (#496)
Behdad Esfahbod 79e8e27f 2017-01-23T17:55:31 [var] Hook up advance variations to hb-ot-font Yay, works!
Behdad Esfahbod bd3b11d9 2017-01-23T17:34:44 [var] Prepare for hooking up advance variations to hb-ot-font
Behdad Esfahbod 7b399f73 2017-01-23T11:41:43 [var] Start adding HVAR/VVAR
Behdad Esfahbod a11d9a04 2017-01-22T20:09:47 Minor
Behdad Esfahbod 1af9d924 2017-01-09T22:22:37 Move lazy-loader to more generic place
Behdad Esfahbod ac274331 2017-01-09T22:20:38 In lazy-loading, remember allocation failure
Volker H. Simonis ad273881 2016-12-14T18:56:17 Minor fixes to pacify Coverity code scan Fixes https://github.com/behdad/harfbuzz/pull/377
Behdad Esfahbod e4bfccfb 2016-12-04T19:43:33 [CBDT] Minor
Behdad Esfahbod 9eda74c9 2016-12-04T19:12:52 [cbdt] Move some more code around
Behdad Esfahbod c27d6fcf 2016-12-02T22:43:05 [cbdt] Last of sanitization fixes Should be all good now..
Behdad Esfahbod d495fc5e 2016-12-02T21:36:42 [cbdt] Clean up some more Almost there..
Behdad Esfahbod ce09e90e 2016-12-02T20:12:57 [cbdt] More sanitize work
Behdad Esfahbod 4b58c9e3 2016-12-02T19:25:54 [cbdt] Start fixing sanitization (or lack thereof)
Behdad Esfahbod efca7bf9 2016-12-02T15:11:37 Rename 'ebdt' to 'cbdt' since we only support the PNG format
Seigo Nonaka 83185259 2016-12-02T15:03:50 Introduce get_extent support for color bitmap font. (#351) hb_font_get_glyph_extents now works for color bitmap fonts. Currently only font having index format 1 and image format 17 is supported.
Behdad Esfahbod 63635c76 2016-10-26T17:54:04 [hb-ot-font] Use ascent+descent as fallback vertical advance
Behdad Esfahbod b3b0816d 2016-10-26T17:19:07 Fix vertical font metrics Ouch!
Behdad Esfahbod 34f9aa58 2016-07-20T02:35:54 Implement symbol cmap in ft and ot fonts Fixes https://github.com/behdad/harfbuzz/issues/236 Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=627953
Behdad Esfahbod 9879fc1d 2016-05-02T10:29:12 [ot-font] Remove unused 'post' table include for now To make a release...
Behdad Esfahbod f00ab2a3 2016-05-02T10:24:00 [hb-ot-font] Make 'glyf' table loading lazy Apparently some clients have reference-table callbacks that copy the table. As such, avoid loading 'glyf' table which is only needed if fallback positioning happens.
Behdad Esfahbod 587d4622 2016-04-30T19:20:56 [ot-font] Start implementing 'post' table, for accessing glyph names
Behdad Esfahbod 23335dea 2016-02-24T20:27:13 [ot-font] Accelerate cmap format4 get_glyph
Behdad Esfahbod e0f16a71 2016-02-24T19:52:36 [ot-font] Towards accelerating get_glyph()
Behdad Esfahbod 5473ebfb 2016-02-24T19:32:43 [ot-font] Remove level of indirection in get_glyph_variant
Behdad Esfahbod 8b5bc141 2016-02-24T19:05:23 Add get_nominal_glyph() and get_variation_glyph() instead of get_glyph() New API: - hb_font_get_nominal_glyph_func_t - hb_font_get_variation_glyph_func_t - hb_font_funcs_set_nominal_glyph_func() - hb_font_funcs_set_variation_glyph_func() - hb_font_get_nominal_glyph() - hb_font_get_variation_glyph() Deprecated API: - hb_font_get_glyph_func_t - hb_font_funcs_set_glyph_func() Clients that implement their own font-funcs are encouraged to replace their get_glyph() implementation with a get_nominal_glyph() and get_variation_glyph() pair. The variation version can assume that variation_selector argument is not zero.
Behdad Esfahbod 3ad16048 2015-12-10T16:37:49 [ot-font] Respect OS/2 fsSelection USE_TYPO_METRICS bit
Simon Cozens 6f2e6de1 2015-10-26T16:23:22 Get font ascender and descender metrics from OS/2 table.
Behdad Esfahbod 35d18585 2015-11-26T19:30:37 Fix a few docs blocks
Behdad Esfahbod 6c48ec83 2015-11-04T20:47:42 [ot] Remove font funcs that do nothing
Behdad Esfahbod 75ea2daa 2015-11-04T20:43:59 [ot] Port ot font funcs to allocated object
Behdad Esfahbod df698f32 2015-11-03T12:15:12 [ot-font] Fix hmtx table length checking, *again* Exactly the same problem that I fixed in 63ef0b41dc48d6112d1918c1b1de9de8ea90adb5 I rewrote the table checking yesterday in 67f8821fb25d9bd55719f5e29a582ae1af4b02b3 and introduced the exact same issue again. :( Good thing we have ongoing fuzzing going now. Was discovered immediately by libFuzzer. Thanks kcc! https://github.com/behdad/harfbuzz/issues/139#issuecomment-153449473 Fixes https://github.com/behdad/harfbuzz/issues/156
Behdad Esfahbod 67f8821f 2015-11-02T15:37:29 [ot] Make bad-hmtx handling match FreeType Also route fuzzing-related tests through hb-ot-font, to reduce dependency on FreeType behavior for badly-broken fonts. Fixes failing test with FreeType master.
Behdad Esfahbod 63ef0b41 2015-10-15T12:47:22 [ot-font] Fix hmtx wrong table length check Discovered by libFuzzer. Ouch! https://github.com/behdad/harfbuzz/issues/139#issuecomment-148289957
Behdad Esfahbod ed13e2ce 2015-10-13T10:32:56 [ot-font] Fix leak https://github.com/behdad/harfbuzz/issues/139#issuecomment-147616887
Behdad Esfahbod 3224a594 2015-10-07T17:33:02 Minor
Behdad Esfahbod 2cee5b68 2015-08-24T13:45:12 [ot-font] Fix short-offset calculation
Behdad Esfahbod b50fcfa8 2015-08-23T14:42:20 [ot-font] Implement glyph_extents() for TrueType fonts This brings ot-fonts into almost-complete shape and mostly in par with ft font.
Sascha Brawer 01c3a885 2015-06-01T13:22:01 Fix "Since:" tags Based on data from http://upstream-tracker.org/versions/harfbuzz.html Resolves #103
Behdad Esfahbod f1b44303 2015-05-21T14:00:15 Fix unary minus operator applied to unsigned int Applying unary minus operator to unsigned int causes the following warning on MSVS: warning C4146: unary minus operator applied to unsigned type, result still unsigned Based on patch from Koji Ishi. Fixes https://github.com/behdad/harfbuzz/pull/110
Behdad Esfahbod dba482fc 2015-04-17T13:08:08 [ot-font] Accept MS Symbol cmap if nothing else found
Behdad Esfahbod b931e0b0 2015-04-08T14:39:00 Fix warnings Part of https://github.com/behdad/harfbuzz/pull/68
Behdad Esfahbod 15685299 2014-09-25T17:45:49 [ot-font] Add hb_ot_face_cmap_accelerator_t
Behdad Esfahbod d088ccaf 2014-09-25T17:26:56 [ot-font] Minor
Behdad Esfahbod d7c160a1 2014-09-25T17:15:35 [ot-font] Handle missing vertical metrics tables
Behdad Esfahbod be1cca27 2014-09-25T16:53:24 [ot-font] Add metrics_accel_t
Behdad Esfahbod d41b809e 2014-09-25T13:04:08 [ot-font] Start adding vertical support
Behdad Esfahbod 8a931950 2014-08-22T12:06:57 [ot] Prefer Windows platform cmap tables / accept all Unicode encodingIDs Some fonts on the Mac ship with (0,1).
Behdad Esfahbod 23afcff1 2014-06-27T17:22:36 [ot-font] Implement Unicode variation selectors
Behdad Esfahbod 0d75793f 2014-05-12T17:51:15 [ot] Implement cmap subtable format 12
Behdad Esfahbod 3608a684 2014-05-12T13:46:29 [ot] Hook up cmap table to hb_ot_font_funcs()
Behdad Esfahbod 41ca1fbe 2014-05-09T15:35:56 [ot] Start implementing cmap table
Behdad Esfahbod 90364843 2014-03-24T14:26:36 Start fleshing out builtin font functions