src/hb-coretext.cc


Log

Author Commit Date CI Message
Behdad Esfahbod a9e25e90 2014-03-14T19:55:46 [coretext] Add hb_coretext_face_create() Not tested.
Behdad Esfahbod c79865f9 2014-03-14T19:37:55 [coretext] Add coretext_aat shaper This is a higher-priority shaper than default shaper ("ot"), but only picks up fonts that have AAT "morx"/"mort" table. Note that for this to work the font face's get_table() implementation should know how to return the full font blob. Based on patch from Konstantin Ritt.
Behdad Esfahbod c29993a1 2014-01-28T17:29:42 [coretext] Handle surrogate pairs when generating notdef glyphs Fixes github.com/behdad/harfbuzz/pull/19
Behdad Esfahbod 748b2782 2014-01-28T17:10:05 [coretext] Minor optimization
Behdad Esfahbod aec468f0 2013-11-29T19:21:58 [coretext] Add TODO
Behdad Esfahbod 58cc233e 2013-11-29T19:17:42 [coretext] Cleanup
Khaled Hosny c8213c61 2013-11-29T19:01:56 [coretext] Avoid font fallback with CoreText shaper CoreText does automatic font fallback (AKA "cascading") for characters not supported by the requested font, and provides no way to turn it off, so detect if the returned run uses a font other than the requested one and fill in the buffer with .notdef glyphs instead of random indices glyph from a different font.
Behdad Esfahbod 68c372ed 2013-11-13T14:44:01 More scratch-buffer cleanup
Behdad Esfahbod 8fcadb9c 2013-11-13T14:33:57 [coretext] More scratch buffer fixes
Behdad Esfahbod 16f175cb 2013-11-12T17:22:49 Fix scratch-buffer alignment warnings
Behdad Esfahbod 3613696b 2013-08-12T00:33:28 [coretext] Fully support user features Based on patch from Jonathan Kew and data from Apple. It's not working correctly though, and I suspect I'm hitting a bug in CoreText. When I do this: hb-shape /Library/Fonts/Zapfino.ttf ZapfinoZapfino --shaper coretext \ --features=-liga I expect both ligatures to turn off, but only the second one does: [Z_a_p_f_i_n_o=0+2333|Z=7+395|a=8+285|p_f=9+433|i=11+181|n=12+261|o=13+250] whereas if I disable 'dlig' instead of 'liga', both are turned off. Smells... Doesn't resolve conflicting feature settings.
Behdad Esfahbod a782a5e9 2013-08-07T21:08:54 [coretext] Start adding support for features Unlike AAT, looks like with CoreText very few OT features can be mapped. :(
Behdad Esfahbod c4613714 2013-07-30T14:48:23 [CoreText] Don't leak the CTLine object (and everything that hangs off it) Patch from Jonathan Kew.
Behdad Esfahbod 7235f33f 2013-06-10T14:39:51 Fix misc warnings reported by cppcheck https://bugs.freedesktop.org/show_bug.cgi?id=65544
Behdad Esfahbod e923e648 2012-12-09T19:39:40 [coretext] Fixed typo Oops. Thanks Khaled for catching this.
Behdad Esfahbod 9a839582 2012-12-09T18:47:36 [coretext] Add hb_coretext_face_get_cg_font() Not sure if it's useful, but it was missing.
Behdad Esfahbod 86112356 2012-12-09T18:47:09 [coretext] Remove hack around GlyphID We not namespace our types, so the hack is not needed anymore.
Behdad Esfahbod 7d52e660 2012-11-16T18:49:54 Whitespace
Behdad Esfahbod 45c1383c 2012-08-14T09:33:18 Minor
Behdad Esfahbod 301168da 2012-07-30T17:48:04 [CoreText] Port to shape_plan infrastructure
Behdad Esfahbod 027857d0 2012-07-26T17:34:25 Start adding a unified shaper access infrastructure Add global shape_plan. Unused so far.
Jonathan Kew ac2085d4 2012-07-26T15:58:45 [CoreText] Ensure cluster indices in output buffer are non-decreasing. Does not provide Uniscribe-compatible results, but should at least avoid breaking hb-view due to out-of-order cluster values. For RTL runs, ensure cluster values are non-increasing (instead of non-decreasing).
Behdad Esfahbod 441d3bb7 2012-07-26T12:01:12 Minor
Jonathan Kew aa6d8498 2012-07-24T15:52:32 [CoreText] Add basic Core Text backend for comparison with our native shaping Does not attempt to handle clusters in a Uniscribe- or HarfBuzz-compatible way; just returns the original string indexes that CT maintains. These may even be out-of-order in the case of reordrant glyphs.