src/hb-ot-layout.cc


Log

Author Commit Date CI Message
Behdad Esfahbod fd3d0042 2018-05-24T15:58:26 Move pool definitions to hb-static.cc
Behdad Esfahbod 7f7b1370 2018-05-24T14:09:04 Fix Uniscribe build If a pointer type was passed to Null(), reinterpret_cast<> was complaining about qualifiers being removed. Turns out I need the const on the other side of "Type" to fix that. Also remove unused const from NullPool type.
Behdad Esfahbod f83e992c 2018-05-24T11:46:57 Mark CrapPool thread_local Not sure if I like to keep it. For now, aim for correctness.
Behdad Esfahbod 5d801298 2018-05-24T11:33:15 Add CrapPool Common Regoin for Access Protection. Like the NullPool, but writable.
Behdad Esfahbod 2a46a020 2018-05-08T02:53:03 Minor
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<>().
Behdad Esfahbod abc12f7b 2018-05-08T02:23:36 Move null pool to hb-private
Behdad Esfahbod 203dc44e 2018-05-03T21:03:27 [ot-layout] Remove unused members We should hang those off somewhere else. For now, the unused ones can go.
Behdad Esfahbod 37b95612 2018-05-01T19:09:00 Remove hb_auto_array_t Part of https://github.com/harfbuzz/harfbuzz/issues/1017
Ebrahim Byagowi 218fa716 2018-03-10T11:13:52 [ot-color] SVG table implementation (#874)
Ebrahim Byagowi 4c63c823 2018-03-10T11:07:56 [ot-color] sbix table implementation (#870)
Ebrahim Byagowi c446c23f 2018-03-03T22:43:23 [ot-color] Move the related tables to hb-ot-color-* (#858)
Ebrahim Byagowi f671f7f0 2018-02-28T13:19:40 [colr] Implement
Ebrahim Byagowi 5b9c2340 2018-02-27T22:56:17 [CPAL] Refactor and address the reviews
Ebrahim Byagowi 101850f9 2018-02-27T20:15:54 Merge with master
Ebrahim Byagowi f110c0c8 2018-02-27T11:41:12 Merge pull request #838 from harfbuzz/BASE BASE table
Ebrahim Byagowi 0ad8c663 2018-02-26T12:45:08 Remove public API of the branch
Ebrahim Byagowi ae14dd0f 2018-02-26T00:31:09 [aat] Implement ankr
Behdad Esfahbod 551fa2d2 2018-02-25T16:32:17 [BASE] Minor
Behdad Esfahbod 05699fd9 2018-02-24T12:01:54 Merge remote-tracking branch 'eroux/add-base'
Ebrahim Byagowi 1ab16f45 2018-02-24T12:49:42 [aat] Implement trak logic (#816)
Behdad Esfahbod cd32177a 2018-02-11T19:34:05 Try at fixing multiple-definition of NullPool If we don't have visibility, make NullPool static.
Behdad Esfahbod cdab20df 2018-02-10T15:45:17 Minor
Bruce Mitchener 148ca610 2018-01-31T22:24:51 [ot-layout] Fix nullptr dereference. If the `calloc` for `gsub_accels` or `gpos_accels` fails, then the unlikely branch afterwards can be taken, which frees up the `hb_ot_layout_t`, but since those fields can now be `nullptr`, then we don't want to dereference them.
Behdad Esfahbod fd034490 2018-01-17T16:46:51 Rename hb_apply_context_t to hb_ot_apply_context_t
Behdad Esfahbod 470fe5b6 2018-01-09T15:48:51 [aat] Implement Lookup table Untested, but compiles.
Behdad Esfahbod c71b55a2 2017-08-14T17:24:36 [aat] Start implementing Apple AAT morx table
Behdad Esfahbod be9e307a 2017-12-01T12:36:26 [ot] Ensure layout in hb_ot_layout_table_get_lookup_count()
Behdad Esfahbod ec86cc5e 2017-10-30T14:11:59 Fix Windows build (And prevent it from happening in the future.)
Behdad Esfahbod af3f72f9 2017-10-27T15:13:50 Correctly mark NullPool const Saves some more code size as well!
Behdad Esfahbod 3205de79 2017-10-27T15:01:40 Make the NullPool HB_INTERNAL shared Saves 2k of .bss section.
Behdad Esfahbod dbdbfe3d 2017-10-15T12:11:08 Use nullptr instead of NULL
Behdad Esfahbod c3448e8d 2017-10-15T12:02:00 Use static_assert instead of custom ASSERT_STATIC
Behdad Esfahbod cdf1fd06 2017-07-14T12:43:34 [indic] Add infrastructure to disable ZWNJ-skipping in context-matching Not used yet.
Ebrahim Byagowi 3b0e47ca 2017-06-19T14:47:09 Fix arm-none-eabi build (fixes #451) (#496)
jfkthame c04c1fe8 2017-04-11T22:29:13 Blacklist GDEF table in additional Tahoma versions. (#459) There are more broken versions of Tahoma out there on various Windows releases, so we need to add them to our blacklist to avoid broken rendering. See https://bugzilla.mozilla.org/show_bug.cgi?id=1279925 for details.
Behdad Esfahbod edcf6344 2017-03-24T10:24:52 Blacklist more versions of Padauk Patch from Phil Race.
Elie Roux 3ebcd5a3 2017-03-05T16:26:01 first working version!
Dominik Röttsches a657f23c 2017-02-20T21:52:07 Blacklist another instance of Padauk (#419) In https://crbug.com/681813 another instance of Padauk was identified triggering collapsed glyphs. Blacklist this version by patching hb-ot-layout.cc to print out gdef, gsub, and gpos table length, then adding those to the list of blacklisted versions.
Elie Roux f131f00b 2017-02-19T10:12:22 compile, move into hb-ot-layout.cc
Behdad Esfahbod 466b3e58 2017-02-03T16:43:25 Shuffle things around a bit
jfkthame 4ec19319 2017-02-02T18:48:23 Add Win10 Anniversary Update version of Tahoma to GDEF blacklist. (#412)
jfkthame 72c75487 2017-01-26T22:35:41 Add Win7 version of himalaya.ttf to the GDEF table blacklist. (#407)
Behdad Esfahbod 113393ef 2017-01-21T15:12:03 Remove a few unused includes
Behdad Esfahbod 55d42fd6 2017-01-19T19:35:48 Start adding hb-ot-var.h and implementation Supports enumerating variation axes, normalizing values, etc.
Behdad Esfahbod 1f810daf 2017-01-09T23:50:56 Port math table to hb_lazy_table_loader_t
Frédéric Wang ae00af4a 2017-01-03T05:55:09 Move math-specific code from hb-ot-layout to hb-ot-math #235 (#384)
Behdad Esfahbod ec87ba9b 2016-09-10T03:53:11 [GX] Add hb_ot_layout_feature_with_variations_get_lookups()
Behdad Esfahbod 30c42b64 2016-09-10T03:32:39 [GX] Add hb_ot_layout_table_find_feature_variations()
Behdad Esfahbod d1c62370 2016-09-28T19:11:22 Aim math API for 1.3.3 instead of 1.4.0
Khaled Hosny 7adbc5dd 2016-09-30T04:01:24 Fix building math docs (#335)
Behdad Esfahbod c3e21a66 2016-09-27T16:51:38 [MATH] Fix more docs
Behdad Esfahbod 46cc4a3a 2016-09-27T16:44:22 [MATH] Rename hb_math_*_t types to hb_ot_math_*_t With this, I believe MATH table API is not ready to be merged.
Frédéric Wang 0762b354 2016-09-27T15:28:35 Document API for MathVariants (#330)
Behdad Esfahbod 86106c75 2016-09-26T22:12:48 [MATH] Rename all API to hb_ot_math_*
Behdad Esfahbod 559eb564 2016-09-26T21:46:05 [MATH] Wire up get_glyph_assembly()
Behdad Esfahbod 353f455a 2016-09-26T21:22:48 [MATH] Wire up get_glyph_variants()
Behdad Esfahbod 7fe0e28c 2016-09-26T17:51:47 [MATH] Start fleshing out glyph variant API
Frédéric Wang 51da7a1c 2016-08-25T11:17:50 MATH table: Add API to access math variants.
Behdad Esfahbod 94f5df56 2016-09-26T13:31:47 [MATH] Clean up get_kerning()
Behdad Esfahbod 17ff30e9 2016-09-26T12:18:32 [MATH] Clean up get_top_accent_attachment() Note, the function now returns "half of horizontal advance width" if top accent attachment for glyph is not explicitly defined. This is what the spec requires. Updated tests.
Behdad Esfahbod 8bcf517f 2016-09-26T12:12:41 [MATH] Clean up get_italics_correction()
Behdad Esfahbod 06003f71 2016-09-26T12:07:29 [MATH] Clean up a bit more
Behdad Esfahbod 54c0cc38 2016-09-26T11:56:40 [MATH] Clean up get_math_constant implementation
Behdad Esfahbod 8a8cfad9 2016-09-26T11:47:05 [MATH] Cleanup previous commit a bit
Frédéric Wang d7182d12 2016-08-25T11:15:31 MATH Table: Add API to access glyph info.
Frédéric Wang 319ff591 2016-08-25T11:06:41 MATH Table: Add API to access math contants.
Behdad Esfahbod 4d3892e9 2016-09-26T10:45:58 [MATH] Fixups for previous commit
Frédéric Wang 5fbcb992 2016-08-25T10:47:15 MATH Table: Add API to check availability of math data.
Dominik Röttsches 67e9fdf4 2016-09-05T11:27:25 Blacklist Padauk 2.80 and 3.00 (#311) According to comments in issue #305 broken GDEF tables lead to incorrect rendering of Latin characters. Blacklisting this font.
jfkthame f3f6c1cc 2016-06-16T00:10:42 Blacklist GDEF tables of more fonts This is based on bug reports that have been filed against Firefox since it updated to a version of harfbuzz that uses zeroing by GDEF rather than by Unicode. I'm sure there are a bunch more font versions that should also be included; these are just the ones I have on hand and have confirmed as having bad GDEF data. Given how the list here is growing, I think we should reconsider the approach, and perhaps revert to zeroing by Unicode instead. Fixes https://github.com/behdad/harfbuzz/issues/264 Fixes https://github.com/behdad/harfbuzz/pull/266
Sascha Brawer d34d3ac9 2016-04-25T18:20:57 Support CPAL table
Behdad Esfahbod 29393884 2016-04-26T10:35:23 Annotate blacklisted fonts with their sha1sum
Behdad Esfahbod 1c625dff 2016-04-09T12:53:23 Minor
Behdad Esfahbod 4f3d59a1 2016-04-08T13:41:20 Blacklist another set of timesi.ttf and timesbi.ttf
Behdad Esfahbod 94dd0bb7 2016-02-25T11:31:03 Add blacklist signature for Times New Roman (Bold) Italic on OS X
Behdad Esfahbod e23cf902 2016-02-25T11:11:15 Blacklist GDEF table of timesi.ttf and timesbi.ttf on Win 7 See discussion: https://lists.freedesktop.org/archives/harfbuzz/2016-February/005489.html
Behdad Esfahbod 7d8d58ac 2016-02-11T16:34:28 [GPOS] Divide position_finish() into two phases, for advances and offsets Right now the position_finish_advances() is empty. To be used for spacing attachments proposal later.
Behdad Esfahbod 3e704521 2016-01-11T17:38:41 [OT] Get list of lookup subtables once and loop through them This speeds up shaping the Amiri font by over 15%. This was primarily needed for my work on OpenType GX, since we will be collecting only sublookups that are "active" for current font instance; but it's a nice boost in general as well. We might, in the future, collect subtables in the lookup_accel. That would also allow us to do a per-subtbale set-digest, which should speed things up some more, specially for ContextChainFormat3 lookups... Amiri, for example, contains one lookup with 53 subtables!
Khaled Hosny d7bf9d05 2015-12-29T02:23:24 [docs] Fix comment syntax To lower the number of gtk-doc warnings.
Behdad Esfahbod 0475ef2f 2015-12-18T18:17:07 [buffer] Add debugging, aka, message, API Currently just announces lookup applications. Message-API *will* change. hb-shape / hb-view are updated to print-out messages to stder if --debug is specified.
Behdad Esfahbod 9ea0aa43 2015-12-18T17:30:18 Don't deserialize positions if buffer has no positions
Behdad Esfahbod 35d18585 2015-11-26T19:30:37 Fix a few docs blocks
Behdad Esfahbod ea512f71 2015-11-26T19:22:22 Use C-style casts instead of compare to 0, to convert hb_bool_t to bool
Behdad Esfahbod 766963ad 2015-11-24T15:38:43 Merge pull request #114 from ThePhD/vc++-fixes Fix all VC++ warnings and errors
Behdad Esfahbod abadc171 2015-11-18T17:52:08 Try to better handle OOM situations Fixes assert fail in https://github.com/behdad/harfbuzz/issues/161 with libharfbuzz-fuzzing.
Behdad Esfahbod 5337db29 2015-11-06T16:18:09 Revert "Don't process lookups if buffer is in error" This reverts commit f92bd86cc8c11d262d1830c631cb7c63fc9d4bc8. We don't want to be like cairo, where as soon as there's an error, nothing works anymore. So, lets process lookups as long as there's no new memory needed. That's also a model that hides fewer bugs.
Behdad Esfahbod f92bd86c 2015-11-05T23:52:29 Don't process lookups if buffer is in error
Behdad Esfahbod 77a1a2bc 2015-10-09T12:20:58 Add hb_dispatch_context_t
Behdad Esfahbod b8811429 2015-09-03T15:53:22 Fix Since tags Fixes https://github.com/behdad/harfbuzz/issues/103
Behdad Esfahbod 902e74a0 2015-08-18T18:55:03 Commented-out code to print buffer before each lookup To be turned into a useful HB_DEBUG_SHAPE infrastructure...
Behdad Esfahbod 2c8b3b2e 2015-08-18T14:36:43 [debug] Print lookup index in debug-apply output
ThePhD 5c99cf93 2015-08-14T01:02:00 Merge branch 'master' into vc++-fixes
Behdad Esfahbod 0f98fe88 2015-07-23T11:52:11 [ot] Search globally for 'vert' feature if not found in specified script/lang Fixes https://github.com/behdad/harfbuzz/issues/63
Behdad Esfahbod d78463c8 2015-07-23T10:11:35 Minor debug output fix
ThePhD 8e545d59 2015-06-22T22:29:04 Fix all VC++ warnings and errors in the current commit's builds.
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 f47cf1f1 2015-02-21T11:45:22 Minor
Behdad Esfahbod 640b66c6 2015-02-19T17:30:05 [layout] If lookup has only one subtable, move the forward loop down to subtable I was hoping to see a nice speedup, but it resulted in a very minor one.