History log of /external/harfbuzz_ng/src/hb-uniscribe.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
666b42f73bd1f516657b206ef738108825bf239f 15-Oct-2014 Behdad Esfahbod <behdad@behdad.org> Move macros around

Fixes https://bugs.freedesktop.org/show_bug.cgi?id=84491
/external/harfbuzz_ng/src/hb-uniscribe.cc
15c633dd1f412f9ef839d80a8f7af35e7ea48fbc 11-Aug-2014 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/src/hb-uniscribe.cc
92aeee3f040c2c32cbf70b27bd6954535388c870 10-Aug-2014 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/src/hb-uniscribe.cc
38fb30d7420a4b01f99cee31baa8c3990a1d1c5f 06-Aug-2014 Behdad Esfahbod <behdad@behdad.org> Use atexit() only if it's safe to call from shared library

Apparently they are not (advertised as?) safe on BSD systems.
We ignore the case of static libraries.

Whitelisted on glibc, Android, and MSVC / mingw.

https://bugs.freedesktop.org/show_bug.cgi?id=82246
/external/harfbuzz_ng/src/hb-uniscribe.cc
d7c850f8037d2701366008eb8c2a527c9d40abde 02-Aug-2014 Behdad Esfahbod <behdad@behdad.org> [uniscribe] Minor
/external/harfbuzz_ng/src/hb-uniscribe.cc
db308280488c2ee11ba865a9922eb6a0c1abeef3 19-Jul-2014 Behdad Esfahbod <behdad@behdad.org> [win] Consolidate windows.h include tips and tricks
/external/harfbuzz_ng/src/hb-uniscribe.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-uniscribe.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-uniscribe.cc
62cb28dfc668cae9cbff826229bde2271e157927 20-Jan-2014 Jonathan Kew <jfkthame@gmail.com> fixup for 64-bit windows build
/external/harfbuzz_ng/src/hb-uniscribe.cc
3216e44feb7b97f44620b51e197425a80a41cdb7 23-Dec-2013 Behdad Esfahbod <behdad@behdad.org> [uniscribe] Fix scratch-buffer accounting
/external/harfbuzz_ng/src/hb-uniscribe.cc
68c372ed2eac76a6d347811293fe2ba2fd6a1eed 13-Nov-2013 Behdad Esfahbod <behdad@behdad.org> More scratch-buffer cleanup
/external/harfbuzz_ng/src/hb-uniscribe.cc
16f175cb2e081e605fe7f9cd01bbe8c24380278a 12-Nov-2013 Behdad Esfahbod <behdad@behdad.org> Fix scratch-buffer alignment warnings
/external/harfbuzz_ng/src/hb-uniscribe.cc
757a7a9018577dcc399be03dc45a59589585d2fb 28-Aug-2013 Behdad Esfahbod <behdad@behdad.org> [uniscribe] Fixed build with wide chars

https://github.com/blinkseb/harfbuzz/commit/f65dafa4138e1fb4395bf646fa33bb01a86a7e9a
/external/harfbuzz_ng/src/hb-uniscribe.cc
3409fb1c767118067cf7edfb97068936b6f4b717 21-Aug-2013 Behdad Esfahbod <behdad@behdad.org> [uniscribe] Ask Uniscribe to return shaping results in logical order

See discussion on the list in the thread "Arabic presentation forms
and the uniscribe backend".

Based on patch from Jonathan Kew.
/external/harfbuzz_ng/src/hb-uniscribe.cc
1d05fdd09fa271b641f30a2138171e6fafcd8db7 20-Aug-2013 Behdad Esfahbod <behdad@behdad.org> [uniscribe] Print run info
/external/harfbuzz_ng/src/hb-uniscribe.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-uniscribe.cc
9a175914d72187d0c3f50ddad50c9569649c3072 07-Aug-2013 Behdad Esfahbod <behdad@behdad.org> [uniscribe] Support feature ranges

As Khaled pointed out, right now setting any features, turns kern
and possibly other features off.
/external/harfbuzz_ng/src/hb-uniscribe.cc
38d5c58d23fce38221689cda98cea1c3e42ed615 06-Aug-2013 Behdad Esfahbod <behdad@behdad.org> [uniscribe] Half-support user features

Turning features on globally works now.
/external/harfbuzz_ng/src/hb-uniscribe.cc
8b427c78efa988ed27a2a394146d73f59688707b 22-Jul-2013 Behdad Esfahbod <behdad@behdad.org> [uniscribe] Sanitize font file
/external/harfbuzz_ng/src/hb-uniscribe.cc
12ff69df21ac91ae21860db7000d9f9973d3da1a 22-Jul-2013 Behdad Esfahbod <behdad@behdad.org> [uniscribe] Handle TTC when renaming font
/external/harfbuzz_ng/src/hb-uniscribe.cc
05bad3b8c25a89bc0f20f99f9215e492f48f03fe 21-Jul-2013 Behdad Esfahbod <behdad@behdad.org> [uniscribe] Use OT::* types
/external/harfbuzz_ng/src/hb-uniscribe.cc
bdeea605fe597bff4430eaae3317189bb81ec76e 21-Jul-2013 Behdad Esfahbod <behdad@behdad.org> [uniscribe] Move name generation into separate function
/external/harfbuzz_ng/src/hb-uniscribe.cc
73f947e2a7bc5b29d731da2e9d1fafe958be839e 21-Jul-2013 Behdad Esfahbod <behdad@behdad.org> [uniscribe] Use blob to pass data around
/external/harfbuzz_ng/src/hb-uniscribe.cc
8ac2e88deff3d069c19fd59d0fbbfb88a762b113 21-Jul-2013 Behdad Esfahbod <behdad@behdad.org> [uniscribe] Use unique font name

When installing per-process fonts using AddFontMemResourceEx(),
if a font with the same family name is already installed, sometimes
that one gets used. Which is problematic for us. As such, we
now mangle the font to install a new 'name' table with a unique
name, which we then use to choose the font.

Patch from Jonathan Kew.
/external/harfbuzz_ng/src/hb-uniscribe.cc
29b596ac67806c44441e65f3ece227df0fe2bb63 08-Jul-2013 Behdad Esfahbod <behdad@behdad.org> [uniscribe] Fix buffer allocation

Email from Jonathan Kew:

My cygwin build kept aborting on certain test words when run with the
uniscribe backend. Turned out this was caused by a bug in the allocation
of scratch buffers in hb-uniscribe.cc.

Commit 2a17f9568d9724e045d2c1d660e007f3acd747d9 introduced a new line

ALLOCATE_ARRAY (SCRIPT_VISATTR, vis_attr, glyphs_size);

but it failed to account for this in the computation of glyphs_size
(the number of glyphs for which scratch buffer space is available),
with the result that the vis_clusters array ends up overrunning the
end of the scratch buffer and clobbering the beginning of the buffer's
info[].

AFAICS, the vis_attr array is not actually used, so the simple fix is
to remove the line that allocates it. (If/when we -do- need to use
vis_attr for something, we'll need to add another term to the earlier
calculation of glyphs_size.)

With this patch, the uniscribe backend runs reliably again.

JK
/external/harfbuzz_ng/src/hb-uniscribe.cc
93a04b8b5e6d8067cb925fdf532aadc24c1d4861 03-Jun-2013 Chun-wei Fan <fanchunwei@src.gnome.org> hb-uniscribe.cc: Re-enable build under Visual Studio

-Declare hinstLib at the top of block
-Fix the definitions of the typedefs of ScriptItemizeOpenType,
ScriptShapeOpenType and ScriptPlaceOpenType
/external/harfbuzz_ng/src/hb-uniscribe.cc
2a17f9568d9724e045d2c1d660e007f3acd747d9 28-May-2013 Behdad Esfahbod <behdad@behdad.org> Bug 55494 - ScriptItemizeOpenType doesn't exists under Windows XP

Fallback to older API if OpenType variants are not available.
/external/harfbuzz_ng/src/hb-uniscribe.cc
0ae6dbf1b4de8a0326b8a2f201597427cecfb6db 10-Dec-2012 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/src/hb-uniscribe.cc
3fe5c159d3532f8ce8a85d217a00681225dd8ed1 10-Dec-2012 Behdad Esfahbod <behdad@behdad.org> Remove excess return

Oops!
/external/harfbuzz_ng/src/hb-uniscribe.cc
7c8e844d92aa604fc4b396343721ea90eb83adb8 28-Aug-2012 Behdad Esfahbod <behdad@behdad.org> Use namespace for OpenType tables

Avoids USHORT, SHORT, ULONG, LONG clashes with Windows API.
/external/harfbuzz_ng/src/hb-uniscribe.cc
45c1383cc7315f89c23c0ed388b99e87224884e7 14-Aug-2012 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/src/hb-uniscribe.cc
eb56f6ae96260c5b4bcd4e1dfb7ab733a230f3a8 08-Aug-2012 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/src/hb-uniscribe.cc
713914d3203109a8e9213f5a1d3b384730703ce9 30-Jul-2012 Behdad Esfahbod <behdad@behdad.org> [Uniscribe] Clean up a bit
/external/harfbuzz_ng/src/hb-uniscribe.cc
a00ad60bc0fe74bf0e11d73da563239f3392f351 29-Jul-2012 Behdad Esfahbod <behdad@behdad.org> [Uniscribe] Remove hb_uniscribe_font_ensure()

Wasn't a huge fan of putting the burden on the user. Just remove it and
do what we've got to do transparently.
/external/harfbuzz_ng/src/hb-uniscribe.cc
cfe9882610489e1b917e09a74dfbf6bbba2e4a57 27-Jul-2012 Behdad Esfahbod <behdad@behdad.org> Add hb_ot_layout_ensure() and hb_uniscribe_font_ensure()
/external/harfbuzz_ng/src/hb-uniscribe.cc
e82061e8db922f0ddbefd5a184ee2f9f967b9a05 27-Jul-2012 Behdad Esfahbod <behdad@behdad.org> Move ot shaper completely to shape_plan
/external/harfbuzz_ng/src/hb-uniscribe.cc
b6b7ba1313bf686e6ed567183466104c90504a67 27-Jul-2012 Behdad Esfahbod <behdad@behdad.org> Switch old and uniscribe backends to shape_plan
/external/harfbuzz_ng/src/hb-uniscribe.cc
5b95c148cc485f79fd7018bc4520b4cb5f728a18 27-Jul-2012 Behdad Esfahbod <behdad@behdad.org> Start implementing shape_plan
/external/harfbuzz_ng/src/hb-uniscribe.cc
bd26b4d21f59312805d294f46f15182adbcc47da 27-Jul-2012 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/src/hb-uniscribe.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-uniscribe.cc
91e721ea8693205f4f738bca97a5055ee75cf463 26-Jul-2012 Behdad Esfahbod <behdad@behdad.org> [hb-old] Fix clusters

Unlike its "documentation", hb-old's log_clusters are, well, indeed
logical, not visual. Fixup. Adapted / copied from hb-uniscribe.
/external/harfbuzz_ng/src/hb-uniscribe.cc
e9c0f152a38cb2e76650a3e43f7fdcda266af696 20-Jul-2012 Behdad Esfahbod <behdad@behdad.org> [Uniscribe] Fix script fallback

Gurmukhi failures half now. Others changed slightly.
/external/harfbuzz_ng/src/hb-uniscribe.cc
552bf3a9f9651311084b7979805dbdc18c0335ca 11-Jul-2012 Behdad Esfahbod <behdad@behdad.org> Bump WINNT version requested from 500 to 600

Since we use the OpenType versions of Uniscribe functions, we are
relying on that version of the WINNT API. Otherwise, usp10.h will hide
those symbols.
/external/harfbuzz_ng/src/hb-uniscribe.cc
872969126756456a69bf958f3df6e56a26e57b0a 08-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Increase Uniscribe MAX_ITEMS
/external/harfbuzz_ng/src/hb-uniscribe.cc
dbffa4c83d29c689ee4cd8a1c53e84521028c711 08-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Fix Uniscribe charset matching

Previously was failing to match fonts that didn't support CHARSET_ANSI.

There still remains a problem with the Uniscribe backend, in that if a
font with the same family name is installed, and is newer, the native
one is preferred over the font we provide. Fixing it requires rewriting
the name table with a unique family name...
/external/harfbuzz_ng/src/hb-uniscribe.cc
82e8bd8628aeb37835fb019a71b6bdac87824b97 08-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Remove unused code
/external/harfbuzz_ng/src/hb-uniscribe.cc
0dd86f9f6849d82d60a99e66b6928795cfb2a3c7 08-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Whitespace
/external/harfbuzz_ng/src/hb-uniscribe.cc
8e7beba7c3b3dea3cb3b7e280c5aab4f13b92d31 08-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Fix Uniscribe clusters with direction-overriden Arabic
/external/harfbuzz_ng/src/hb-uniscribe.cc
b069c3c31bfbbf160eb897c7474be9ea90ed4fc1 08-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Really fix override-direction in Uniscribe
/external/harfbuzz_ng/src/hb-uniscribe.cc
fcd6f5326166e993b8f5222efbaffe916da98f0a 08-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Unbreak Uniscribe

Oops. hb_tag_t and OPENTYPE_TAG have different endianness. Perhaps
something to add API for in hb-uniscribe.h
/external/harfbuzz_ng/src/hb-uniscribe.cc
29eac8f591fdb86f1c4fdc0a6ab63910ff286b84 08-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Override direction in Uniscribe backend

Matches OT backend now.
/external/harfbuzz_ng/src/hb-uniscribe.cc
1c1233e57686d77d89fe3ac1dc53de9ee60798c1 08-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Make Uniscribe backend respect selected script
/external/harfbuzz_ng/src/hb-uniscribe.cc
0594a2448440208efa0acac9a5d8d52d43108289 06-Jun-2012 Behdad Esfahbod <behdad@behdad.org> Cleanup TRUE/FALSE vs true/false
/external/harfbuzz_ng/src/hb-uniscribe.cc
dfa0cade7fce3791e47eaa7edcd23da76c7a0ed0 09-May-2012 Behdad Esfahbod <behdad@behdad.org> Fix Uniscribe clusters with multiple items
/external/harfbuzz_ng/src/hb-uniscribe.cc
6bd9b479b8b2befbb0847282e93beade197c8038 12-Apr-2012 Behdad Esfahbod <behdad@behdad.org> Hide backend-specific shape functions

Also remove shaper_options argument to hb_shape_full(). That was
unused and for "future". Let it go.

More shaper API coming in preparation for plan/planned API.
/external/harfbuzz_ng/src/hb-uniscribe.cc
5c299343118d1eaff32ffb2a5dac077cfff67dee 19-Sep-2011 Behdad Esfahbod <behdad@behdad.org> [uniscribe] Various improvements
/external/harfbuzz_ng/src/hb-uniscribe.cc
a3bd8a0e1862212a2d4141b973039bd000a3054f 24-Aug-2011 Behdad Esfahbod <behdad@behdad.org> [graphite] Rewrite properly
/external/harfbuzz_ng/src/hb-uniscribe.cc
5072934c35bddc23d6bcb07a41010da51eb1b090 24-Aug-2011 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/src/hb-uniscribe.cc
71388b3ee71c7d3b79f842db7588bd683691797c 24-Aug-2011 Behdad Esfahbod <behdad@behdad.org> [uniscribe] Minor
/external/harfbuzz_ng/src/hb-uniscribe.cc
0e6d36d8a3f9f533cb6eb04408af62bfd1ad83da 24-Aug-2011 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/src/hb-uniscribe.cc