History log of /external/harfbuzz_ng/src/hb-coretext.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
59089622dbb8dda783b1639c932123f125c3592d 04-Apr-2016 Behdad Esfahbod <behdad@behdad.org> [coretext] Clarify comment
/external/harfbuzz_ng/src/hb-coretext.cc
89137e325a19d62fb00979e1e8ab2ca59a2c1147 22-Feb-2016 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/src/hb-coretext.cc
15063b12f7619d4f44981248e28f38c172d12e1f 22-Feb-2016 Behdad Esfahbod <behdad@behdad.org> [coretext] Move CTFont construction to face_data
/external/harfbuzz_ng/src/hb-coretext.cc
ba3d49d9a56932d341bf1916a30f322be665e3a6 22-Feb-2016 Behdad Esfahbod <behdad@behdad.org> [coretext] Move code around
/external/harfbuzz_ng/src/hb-coretext.cc
90194efb8480d58c55b7a19962624c7aadbdca63 22-Feb-2016 Behdad Esfahbod <behdad@behdad.org> [coretext] Move code around
/external/harfbuzz_ng/src/hb-coretext.cc
238b943e850ea1ab0093e12c74d2cd7c686f318e 22-Feb-2016 Behdad Esfahbod <behdad@behdad.org> [coretext] Fix leak!
/external/harfbuzz_ng/src/hb-coretext.cc
e561122856a50ed405d71cb1629317e7ae63f316 22-Feb-2016 Behdad Esfahbod <behdad@behdad.org> [coretext] Move code around
/external/harfbuzz_ng/src/hb-coretext.cc
04c64431530a4a6d9ebd33674c4665a8e6d25bdd 22-Feb-2016 Behdad Esfahbod <behdad@behdad.org> [coretext] Ignore PPEM in font size selection
/external/harfbuzz_ng/src/hb-coretext.cc
62c2711121fe78f373c15c0f53090b62b52d11c1 22-Feb-2016 Behdad Esfahbod <behdad@behdad.org> [coretext] Limit grapheme-cluster forming to cluster-level=0
/external/harfbuzz_ng/src/hb-coretext.cc
061105ec443eb7350ffe217305f9d8902c179e2f 22-Feb-2016 Behdad Esfahbod <behdad@behdad.org> [coretext] Fix shaping with varying font size

Fixes https://github.com/libass/libass/issues/212
/external/harfbuzz_ng/src/hb-coretext.cc
a39ff95fce39226e80850ff251cb34a7aad12bd7 11-Jan-2016 Behdad Esfahbod <behdad@behdad.org> [coretext] Speed up CoreText font fallback

Fixes https://code.google.com/p/chromium/issues/detail?id=547912
/external/harfbuzz_ng/src/hb-coretext.cc
a7f0e25dafa90bd21b01c38cb0782ade54b75cdc 30-Dec-2015 Nico Weber <nicolasweber@gmx.de> Remove unused HB_SHAPER_DATA_ENSURE_DECLARE lines.

The coretext_aat shaper delegates to the regular coretext_..._ensure() functions, so coretext_aat_..._ensure() functions defined by these macros are unused. The compiler warns about them, which in turn can confuse people to think that the coretext_aat_..._ensure() functions weren't called by accident.
/external/harfbuzz_ng/src/hb-coretext.cc
8b1224f0eece7a5b6846e206333e57ac4653a705 29-Dec-2015 Nico Weber <nicolasweber@gmx.de> Remove unused `retry:` label.

Fixes a -Wunused-label warning when building harfbuzz with clang -Wall.
/external/harfbuzz_ng/src/hb-coretext.cc
b8811429b6810c4f13be087b593a862c17d9d987 03-Sep-2015 Behdad Esfahbod <behdad@behdad.org> Fix Since tags

Fixes https://github.com/behdad/harfbuzz/issues/103
/external/harfbuzz_ng/src/hb-coretext.cc
ed6962c795ae7c54aaee9ed5667fa65ccf7412bf 20-Aug-2015 Behdad Esfahbod <behdad@behdad.org> [coretext] Use i32 instead of u32 as well

Shouldn't cause *any* functional changes, but is more correct.
/external/harfbuzz_ng/src/hb-coretext.cc
958c268fa3a520666436e77a2111a3b564a36d96 19-Aug-2015 Behdad Esfahbod <behdad@behdad.org> [coretext] Add TODO item
/external/harfbuzz_ng/src/hb-coretext.cc
50ad7788eeb7160caef4ec78e65c7c630e601b06 18-Aug-2015 Behdad Esfahbod <behdad@behdad.org> [coretext] Remove assert that kicks in on Mac OS 10.6

http://crbug.com/419769
/external/harfbuzz_ng/src/hb-coretext.cc
39851ce84efd30f6d0570324ff8f3808a01b813b 22-Apr-2015 Behdad Esfahbod <behdad@behdad.org> [coretext] Oops; fix issue number for previous commit
/external/harfbuzz_ng/src/hb-coretext.cc
24f17afeafd40ff77177ed42c9007a0f34fcbb78 22-Apr-2015 Behdad Esfahbod <behdad@behdad.org> [coretext] Fix positioning with trailing whitespace

Fixes https://code.google.com/p/chromium/issues/detail?id=476913
/external/harfbuzz_ng/src/hb-coretext.cc
982d94eaa2a377616f22f39427e5ed9f1ce43263 28-Jan-2015 Behdad Esfahbod <behdad@behdad.org> [coretext] Don't generate notdef glyph for default-ignorables

As discovered on Chrome Mac:
https://code.google.com/p/chromium/issues/detail?id=452326
/external/harfbuzz_ng/src/hb-coretext.cc
6917a045fd8d16952cad75fda8b291b11e1d3564 28-Jan-2015 Behdad Esfahbod <behdad@behdad.org> [coretext] Unbreak glyph positioning in presence of notdef runs

As discovered on Chrome Mac:
https://code.google.com/p/chromium/issues/detail?id=452326

This was originally broken in:

commit 5a0eed3b50629be4826e4e9428f2c3255195395d
Author: Behdad Esfahbod <behdad@behdad.org>
Date: Mon Aug 11 23:47:16 2014 -0400

[coretext] Implement vertical shaping
/external/harfbuzz_ng/src/hb-coretext.cc
b0b38bb892473d9a65e06dd3b4713da39f92bef9 22-Jan-2015 Behdad Esfahbod <behdad@behdad.org> [coretext] Fix positioning of notdef
/external/harfbuzz_ng/src/hb-coretext.cc
70622e5089c01ea16fd9deed11cb39d43145c121 22-Jan-2015 Behdad Esfahbod <behdad@behdad.org> [coretext] Fix scaling

Before we were not accounting for possible differences in x_scale and
y_scale, as well as the signs of those. All should be in good shape
now.
/external/harfbuzz_ng/src/hb-coretext.cc
221ba02b0816584a02471037edae7cec9c1b8acc 22-Jan-2015 Behdad Esfahbod <behdad@behdad.org> [coretext] Use vertical advance for notdef in vertical direction
/external/harfbuzz_ng/src/hb-coretext.cc
522b1cc5261c1419166bfb90d2ff634b684be66a 14-Aug-2014 Behdad Esfahbod <behdad@behdad.org> [coretext] Hide feature_mappings
/external/harfbuzz_ng/src/hb-coretext.cc
20076cc41e673c31305fcb58d37b3b292fd35f83 13-Aug-2014 Behdad Esfahbod <behdad@behdad.org> [coretext] Add version guards for kCTLanguageAttributeName
/external/harfbuzz_ng/src/hb-coretext.cc
1b3011c27df531875d432e909ae6b77f115c5017 13-Aug-2014 Behdad Esfahbod <behdad@behdad.org> [coretext] Pass buffer language to CoreText
/external/harfbuzz_ng/src/hb-coretext.cc
3eb6a4dbf25b11fce5e0e426e89f7457887aeca0 13-Aug-2014 Behdad Esfahbod <behdad@behdad.org> [coretext] Minor
/external/harfbuzz_ng/src/hb-coretext.cc
08acfe0d3a1d8223a9fa0696703fff63d6c2ea8b 13-Aug-2014 Behdad Esfahbod <behdad@behdad.org> [hb-coretext] Fix cluster order of notdef runs in RTL text
/external/harfbuzz_ng/src/hb-coretext.cc
81b8d9777b9c38c7e6408591763a4cac6de18e4b 12-Aug-2014 Behdad Esfahbod <behdad@behdad.org> [coretext] Fix buffer resizing

Was very broken. Now fixed and tested.
/external/harfbuzz_ng/src/hb-coretext.cc
c3e924fb9e0e2d4003790817655efd9c5688c7e1 12-Aug-2014 Behdad Esfahbod <behdad@behdad.org> [coretext] Rewind scratch-allocated arrays when not needed anymore
/external/harfbuzz_ng/src/hb-coretext.cc
fd0001d7dbe6ede99a9f87f96f231ffb53303be8 12-Aug-2014 Behdad Esfahbod <behdad@behdad.org> [coretext] Compare CGFont and PS name, if CTFont didn't match

See comments.

Fixes vertical text. CoreText backend is in very good shape now!

Also see:
5a0eed3b50629be4826e4e9428f2c3255195395d
25f4fb9b56bb3f8bec821571c78f8829e40daa54

Fixes http://github.com/behdad/harfbuzz/pull/36
/external/harfbuzz_ng/src/hb-coretext.cc
5a0eed3b50629be4826e4e9428f2c3255195395d 12-Aug-2014 Behdad Esfahbod <behdad@behdad.org> [coretext] Implement vertical shaping

Currently doesn't work though, we detect font fallback. Apparently
matching on ct_font is not safe for this. Looks like commit
25f4fb9b56bb3f8bec821571c78f8829e40daa54 wasn't enough after all.
/external/harfbuzz_ng/src/hb-coretext.cc
1b55077f03758e49f93b8bc1de678e96ea58718c 12-Aug-2014 Behdad Esfahbod <behdad@behdad.org> [coretext] Remove unnecessary alt_size

Wasn't needed after a6b8dc87421de33746b0b14d86d2d1532aec02af.
/external/harfbuzz_ng/src/hb-coretext.cc
10b1104d791a0b0103c6bbb083b5819f2b7d328d 12-Aug-2014 Behdad Esfahbod <behdad@behdad.org> [coretext] Use CFRunStatus

Assert that all runs had expected direction, and take hint for
non-monotone clusters.
/external/harfbuzz_ng/src/hb-coretext.cc
fd1a6aa8d029c701b1532efa59ce901109cfc216 12-Aug-2014 Behdad Esfahbod <behdad@behdad.org> [coretext] Minor
/external/harfbuzz_ng/src/hb-coretext.cc
130856c705641aa681307b5b51b5fb84e295f382 12-Aug-2014 Behdad Esfahbod <behdad@behdad.org> [coretext] Remove debug printf!
/external/harfbuzz_ng/src/hb-coretext.cc
4acce77db7dd588ba277779c4997b0256ebe426e 11-Aug-2014 Behdad Esfahbod <behdad@behdad.org> [coretext] Pass buffer direction to CoreText

Have to use a CTTypesetter for this.
/external/harfbuzz_ng/src/hb-coretext.cc
5ec45dd37caa8a87ce2689a66272ba8a343fe6ba 11-Aug-2014 Behdad Esfahbod <behdad@behdad.org> [coretext] Minor

It's hard to handle all possible NULL returns from CoreText. Add one
more...
/external/harfbuzz_ng/src/hb-coretext.cc
624a299b829ccf9864dd2f3001b1a49476e96b4a 11-Aug-2014 Behdad Esfahbod <behdad@behdad.org> [coretext] Attach marks to base clusters

Fixes https://githu.com/behdad/harfbuzz/issues/49
to the extent that it can be fixed.
/external/harfbuzz_ng/src/hb-coretext.cc
3c41ccb5358b0be6cc68d49f436d2cb1792cd5e5 11-Aug-2014 Behdad Esfahbod <behdad@behdad.org> [coretext] Use input clusters

Before, this shaper was returning UTF-16 cluster indices instead of
returning whatever cluster values the user had had set up in the buffer.
Ouch!
/external/harfbuzz_ng/src/hb-coretext.cc
a6b8dc87421de33746b0b14d86d2d1532aec02af 11-Aug-2014 Behdad Esfahbod <behdad@behdad.org> [coretext] Fix buffer resize handling

We can't really resize buffer and continue in this shaper as we are
using the scratch buffer for string_ref and log_cluster. Restructure
shaper to retry from (almost) scratch.
/external/harfbuzz_ng/src/hb-coretext.cc
9b3c60c88b118f01610ae7a608b138f79f2dc7be 11-Aug-2014 Behdad Esfahbod <behdad@behdad.org> [coretext] Always compute log_clusters

To be used soon.
/external/harfbuzz_ng/src/hb-coretext.cc
9ce067c77524a9ffc77ceabcba5e7dab36fd39de 11-Aug-2014 Behdad Esfahbod <behdad@behdad.org> [coretext] Simplify cluster mapping
/external/harfbuzz_ng/src/hb-coretext.cc
49f7fb63761e4ca9936990fb90a77fd3600f5ad2 11-Aug-2014 Behdad Esfahbod <behdad@behdad.org> [coretext] Minor
/external/harfbuzz_ng/src/hb-coretext.cc
25f4fb9b56bb3f8bec821571c78f8829e40daa54 11-Aug-2014 Behdad Esfahbod <behdad@behdad.org> [coretext] Fix fallback detection

Fixes http://github.com/behdad/harfbuzz/pull/36
/external/harfbuzz_ng/src/hb-coretext.cc
77a7a53acef7de355116d488e7d64ff1d7e9e9e1 11-Aug-2014 Behdad Esfahbod <behdad@behdad.org> [coretext] Fix last range

Test with:

hb-view /Library/Fonts/Zapfino.ttf ZapfinoZapfino --features=-dlig[7:] --shaper=coretext
/external/harfbuzz_ng/src/hb-coretext.cc
92aeee3f040c2c32cbf70b27bd6954535388c870 10-Aug-2014 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/src/hb-coretext.cc
b9993d8d6d332994dfbd29e99ff8043622003417 10-Aug-2014 Behdad Esfahbod <behdad@behdad.org> [coretext] Fix assert on Yosemite

Apparently those functions documented as sometimes returning NULL
actually exercise that right in OS X 10.10 Yosemite. The scratch
was too small for that. I *think* I fixed it, but haven't tested
as I don't have Yosemite.
/external/harfbuzz_ng/src/hb-coretext.cc
087733dd66e17297ef0e53680fafe42c84884104 18-Apr-2014 Behdad Esfahbod <behdad@behdad.org> [coretext] Use CGFont as face_data
/external/harfbuzz_ng/src/hb-coretext.cc
7627100f428ac0ec8509d961d368d2d25d8f0b6e 11-Jul-2014 Behdad Esfahbod <behdad@behdad.org> Mark unsigned integer literals with the u suffix

Simplifies hb_in_range() calls as the type can be inferred.
The rest is obsessiveness, I admit.
/external/harfbuzz_ng/src/hb-coretext.cc
fb8cc86ff99c08064ac58a559bb66cc340693b92 19-Jun-2014 Behdad Esfahbod <behdad@behdad.org> Rename sort() to qsort()

In an effort to make the algorithm used clear.
/external/harfbuzz_ng/src/hb-coretext.cc
7526373e70bc4c2e2072da36babf9399fcf483b8 17-Jun-2014 Behdad Esfahbod <behdad@behdad.org> [coretext] Remove unused var
/external/harfbuzz_ng/src/hb-coretext.cc
a9e25e90a4ca05746fda4a598ad698db1d2c5c1a 15-Mar-2014 Behdad Esfahbod <behdad@behdad.org> [coretext] Add hb_coretext_face_create()

Not tested.
/external/harfbuzz_ng/src/hb-coretext.cc
c79865f90f62309dc64c8d3f2f503ec2aa4b7ec1 15-Mar-2014 Behdad Esfahbod <behdad@behdad.org> [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.
/external/harfbuzz_ng/src/hb-coretext.cc
c29993a181c2139eaec97b5f6225824040ca3ac9 28-Jan-2014 Behdad Esfahbod <behdad@behdad.org> [coretext] Handle surrogate pairs when generating notdef glyphs

Fixes github.com/behdad/harfbuzz/pull/19
/external/harfbuzz_ng/src/hb-coretext.cc
748b2782e4898420003a3bbc041dcccbe9e3edc2 28-Jan-2014 Behdad Esfahbod <behdad@behdad.org> [coretext] Minor optimization
/external/harfbuzz_ng/src/hb-coretext.cc
aec468f01e866c99e65a8f764a792c74c96840d7 30-Nov-2013 Behdad Esfahbod <behdad@behdad.org> [coretext] Add TODO
/external/harfbuzz_ng/src/hb-coretext.cc
58cc233e8b5fdc9dce603acc1b968540a2dea3e1 30-Nov-2013 Behdad Esfahbod <behdad@behdad.org> [coretext] Cleanup
/external/harfbuzz_ng/src/hb-coretext.cc
c8213c6198abff97822e29a6d565722cfbb43832 30-Nov-2013 Khaled Hosny <khaledhosny.eglug.org> [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.
/external/harfbuzz_ng/src/hb-coretext.cc
68c372ed2eac76a6d347811293fe2ba2fd6a1eed 13-Nov-2013 Behdad Esfahbod <behdad@behdad.org> More scratch-buffer cleanup
/external/harfbuzz_ng/src/hb-coretext.cc
8fcadb9cf9418345610e3f4e38c28c12b768b589 13-Nov-2013 Behdad Esfahbod <behdad@behdad.org> [coretext] More scratch buffer fixes
/external/harfbuzz_ng/src/hb-coretext.cc
16f175cb2e081e605fe7f9cd01bbe8c24380278a 12-Nov-2013 Behdad Esfahbod <behdad@behdad.org> Fix scratch-buffer alignment warnings
/external/harfbuzz_ng/src/hb-coretext.cc
3613696b57225111507a3f4263f5fa6937d0bc72 12-Aug-2013 Behdad Esfahbod <behdad@behdad.org> [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.
/external/harfbuzz_ng/src/hb-coretext.cc
a782a5e9a37c8733ac2830410a514d38635b543a 08-Aug-2013 Behdad Esfahbod <behdad@behdad.org> [coretext] Start adding support for features

Unlike AAT, looks like with CoreText very few OT features can be mapped.
:(
/external/harfbuzz_ng/src/hb-coretext.cc
c461371419d186811d4bfc768e26535f48a807f4 30-Jul-2013 Behdad Esfahbod <behdad@behdad.org> [CoreText] Don't leak the CTLine object (and everything that hangs off it)

Patch from Jonathan Kew.
/external/harfbuzz_ng/src/hb-coretext.cc
7235f33f9e5e031622a00a84f4b2e98f16803579 10-Jun-2013 Behdad Esfahbod <behdad@behdad.org> Fix misc warnings reported by cppcheck

https://bugs.freedesktop.org/show_bug.cgi?id=65544
/external/harfbuzz_ng/src/hb-coretext.cc
e923e6487b25ab86f6f629af480b291e8e5407b5 10-Dec-2012 Behdad Esfahbod <behdad@behdad.org> [coretext] Fixed typo

Oops. Thanks Khaled for catching this.
/external/harfbuzz_ng/src/hb-coretext.cc
9a8395824bf51c2ff2cfe0887ecad52b3d2c02e2 10-Dec-2012 Behdad Esfahbod <behdad@behdad.org> [coretext] Add hb_coretext_face_get_cg_font()

Not sure if it's useful, but it was missing.
/external/harfbuzz_ng/src/hb-coretext.cc
86112356885fde32163882b6c9dd19a494304f7a 10-Dec-2012 Behdad Esfahbod <behdad@behdad.org> [coretext] Remove hack around GlyphID

We not namespace our types, so the hack is not needed anymore.
/external/harfbuzz_ng/src/hb-coretext.cc
7d52e6601f0e695690cd168a288466746cf25300 17-Nov-2012 Behdad Esfahbod <behdad@behdad.org> Whitespace
/external/harfbuzz_ng/src/hb-coretext.cc
45c1383cc7315f89c23c0ed388b99e87224884e7 14-Aug-2012 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/src/hb-coretext.cc
301168dae77a63ee25adfb26ce2b54a708f83791 30-Jul-2012 Behdad Esfahbod <behdad@behdad.org> [CoreText] Port to shape_plan infrastructure
/external/harfbuzz_ng/src/hb-coretext.cc
027857d0412477fb4427dcb8a8c45287c272e143 26-Jul-2012 Behdad Esfahbod <behdad@behdad.org> Start adding a unified shaper access infrastructure

Add global shape_plan. Unused so far.
/external/harfbuzz_ng/src/hb-coretext.cc
ac2085d4b391b0a72473ecac3dd6c22efe66833f 26-Jul-2012 Jonathan Kew <jfkthame@gmail.com> [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).
/external/harfbuzz_ng/src/hb-coretext.cc
441d3bb7de311d54b9f0a5210344f9a96e97e153 26-Jul-2012 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/src/hb-coretext.cc
aa6d849838d5231465ae1a25a4dd5ea1e9380ff9 24-Jul-2012 Jonathan Kew <jfkthame@gmail.com> [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.
/external/harfbuzz_ng/src/hb-coretext.cc