Log

Author Commit Date CI Message
Behdad Esfahbod da72042c 2013-10-17T12:01:50 [otlayout] Fix up recent Context matching change Commit 6b65a76b40522a4f57a6fedcbdfc5a4d736f1d3c. "end" was becoming negative. Was trigerred by Lohit-Kannada 2.5.3 and the sequence: U+0CB0,U+200D,U+0CBE,U+0CB7,U+0CCD,U+0C9F,U+0CCD,U+0CB0,U+0C97,U+0CB3 Two glyphs were being duplicated.
Behdad Esfahbod 1a7de1ba 2013-10-16T19:55:06 [indic] Improve Avagraha support in machine
Behdad Esfahbod 3756efaf 2013-10-16T19:06:29 [indic] Misc harmless fixes! First, we were abusing OT_VD instead of OT_A. Fix that but moving OT_A in the grammar where it belongs (which is different from what the spec says). Also, only allow medial consonants after all other consonants. This doesn't affect any current character. Finally, fix Halant attachment in presence of medial consonants. Again, this currently doesn't affect any sequence. I lied. There's Gurmukhi U+0A75 which is Consonant_Medial. Uniscribe allows one of those in each of these positions: before matras, after matras and before syllable modifiers, and after syllable modifiers! We currently just allow unlimited numbers of it, before matras.
Behdad Esfahbod c52ddab7 2013-10-16T13:42:38 [arabic] Make ZWJ prevent ligatures instead of facilitating it Unicode 6.2.0 Section 16.2 / Figure 16.3 says: "For backward compatibility, between Arabic characters a ZWJ acts just like the sequence <ZWJ, ZWNJ, ZWJ>, preventing a ligature from forming instead of requesting the use of a ligature that would not normally be used. As a result, there is no plain text mechanism for requesting the use of a ligature in Arabic text." As such, we flip internal zwj to zwnj flags for GSUB matching, which means it will block ligation in all features, unless the font explicitly matches U+200D glyph. This doesn't affect joining behavior.
Behdad Esfahbod 1a31f9f8 2013-10-16T13:42:18 [otlayout] Minor
Behdad Esfahbod 28d5daec 2013-10-16T12:32:12 [indic] More granular post-base cluster merging!
Behdad Esfahbod 9cb59d46 2013-10-16T11:34:07 [indic] Fix cluster merging of left matras The merge_clusters there was totally broken.
Behdad Esfahbod 190c8f2b 2013-10-16T11:33:18 [indic] Adjust cluster merging under uniscribe mode for Tamil Apparently Uniscribe Tamil shaper doesn't ship chubby clusters for Tamil. Adjust to that.
Behdad Esfahbod 5c558877 2013-10-16T11:14:15 [indic] Allow up to two syllable modifiers Bug 70509 - Candrabindu+Visarga doesn't work in Devanagari https://bugs.freedesktop.org/show_bug.cgi?id=70509 We categorize both bindus and visarga as syllable-modifiers. OT spec doesn't actually say what characters go in the syllable modifier category, and allows one. We just allow up to two now. Test case: U+0930,U+0941,U+0901,U+0903 Uniscribe currently doesn't support that and produces a dotted circle.
Behdad Esfahbod f5299eff 2013-10-15T18:13:07 [indic] Simplify reph logic *Shouldn't* break anything.
Behdad Esfahbod 65a929b1 2013-10-15T18:08:05 [indic] If Malayalam dot-reph formed a ligature, don't move it Rachana-0.6 implements dot-reph by ligation, so we shouldn't move it. Uniscribe doesn't either. Test case: U+0D4E,U+0D1A,U+0D4D,U+0D1A,U+0D4D
Behdad Esfahbod a01cbf6c 2013-10-15T16:37:53 [indic] Harmless reordering of Khmer features!
Behdad Esfahbod c46f4069 2013-10-15T16:24:21 [tests] Remove Myanmar micro-font and test
Behdad Esfahbod eb10233b 2013-10-15T15:26:44 [indic] Apply 'kern' for all scripts except for Khmer in Uniscribe mode Seems to better match Uniscribe. Note: NotoSansTelugu-Regular has kern feature, so this fixes most of the positioning failures there, except for the kern pairs blocked by a (non-)joiner, in which case we (correctly) kern, but Uniscribe doesn't.
Behdad Esfahbod 30145272 2013-10-15T13:47:27 [indic] Don't apply presentation features across syllables More like Uniscribe... We still allow user-defined features to work across syllables, but not pres,blws,abs,psts,etc. This "regressed" Sinhala numbers by 11. These are cases were there's Consonant followed by Ra,Halant,ZWJ at the of text. The Ra,Halant,ZWJ ends up forming reph, which is wrong... But before we were also ligating that reph with the previous consonant. That's even more wrong. That's also what Uniscribe does. Current numbers: BENGALI: 353732 out of 354188 tests passed. 456 failed (0.128745%) DEVANAGARI: 707307 out of 707394 tests passed. 87 failed (0.0122987%) GUJARATI: 366349 out of 366457 tests passed. 108 failed (0.0294714%) GURMUKHI: 60732 out of 60747 tests passed. 15 failed (0.0246926%) KANNADA: 951030 out of 951913 tests passed. 883 failed (0.0927606%) KHMER: 299070 out of 299124 tests passed. 54 failed (0.0180527%) MALAYALAM: 1048140 out of 1048334 tests passed. 194 failed (0.0185056%) ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) SINHALA: 271655 out of 271847 tests passed. 192 failed (0.070628%) TAMIL: 1091753 out of 1091754 tests passed. 1 failed (9.15957e-05%) TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%)
Behdad Esfahbod 3c7b3641 2013-10-15T11:21:01 [indic] Handle Avagraha It can come either at the end(ish!) of the syllable, or independently. When independent, it accepts a few bits and pieces.
Behdad Esfahbod 5e7432b8 2013-10-15T12:28:23 [myanmar] Apply abvm/blwm
Behdad Esfahbod 8acbb6be 2013-10-15T12:15:49 [indic] Some scripts like blwf applied to pre-base characters ...while some don't! Improved Bengali, Devanagari, Gurmukhi, Malayalam. Updated numbers: BENGALI: 353732 out of 354188 tests passed. 456 failed (0.128745%) DEVANAGARI: 707307 out of 707394 tests passed. 87 failed (0.0122987%) GUJARATI: 366349 out of 366457 tests passed. 108 failed (0.0294714%) GURMUKHI: 60732 out of 60747 tests passed. 15 failed (0.0246926%) KANNADA: 951030 out of 951913 tests passed. 883 failed (0.0927606%) KHMER: 299070 out of 299124 tests passed. 54 failed (0.0180527%) MALAYALAM: 1048134 out of 1048334 tests passed. 200 failed (0.0190779%) ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) SINHALA: 271666 out of 271847 tests passed. 181 failed (0.0665816%) TAMIL: 1091753 out of 1091754 tests passed. 1 failed (9.15957e-05%) TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%)
Behdad Esfahbod 2c85a3df 2013-10-14T19:41:52 Fix issue with automake
Behdad Esfahbod 6b65a76b 2013-10-14T18:51:39 [otlayout] Fix (Chain)Context recursion! Previously we only supported recursive sublookups with ascending indices. We were also not correctly handling non-1-to-1 recursed lookups. Fix all that! Fixes the three tests in test/shaping/tests/context-matching.tests, which were derived from NotoSansBengali and NotoSansDevanagari among others.
Behdad Esfahbod 841e20d0 2013-10-14T18:47:51 Add test suite for shaping results The new test suite runs tests included under hb/test/shaping/tests/*.tests, which themselves reference font files stored by sha1sum under hb/test/shaping/fonts/sha1sum. The fonts are produced using a subsetter to only include glyphs needed to run the test. Four initial tests are added for (Chain)Context matching, of which three currently fail.
Behdad Esfahbod e2dab692 2013-10-14T16:44:44 Minor
Behdad Esfahbod 4e6e53db 2013-10-14T13:06:36 [otlayout] "Minor"
Behdad Esfahbod 9326d48e 2013-10-10T20:04:42 Don't use g_mapped_file_unref() Was introduced in glib 2.22.
Behdad Esfahbod e152d1a2 2013-10-03T15:09:37 0.9.22
Behdad Esfahbod 27674b4b 2013-10-03T14:54:50 [OTLayout] Protect against out-of-range lookup indices Filter them out when compiling map.
Behdad Esfahbod 6b4fdded 2013-09-30T13:48:19 Update git.mk
M1cha 2a2b5b89 2013-09-30T08:55:52 Cleanup Android.mk - use common src files for both static and shared libs - remove empty LOCAL_SHARED_LIBRARIES
Behdad Esfahbod 622bc3d8 2013-09-29T13:31:58 Merge pull request #4 from amarullz/master Add build static library on Android.mk
Behdad Esfahbod 3d2c4f0c 2013-09-27T17:06:29 Fix hiding of default_ignorables if font doesn't have space glyph Based on patch from Jonathan Kew. See discussion on the list.
Ahmad Amarullah d583df1e 2013-09-27T19:04:32 Add build static library on Android.mk Use UCDN instead ICU HAVE Freetype
Behdad Esfahbod 078de49c 2013-09-26T18:26:43 [util] Don't use g_array_unref() Was introduced in glib 2.22.
Behdad Esfahbod 48360ec0 2013-09-26T16:48:42 Bug 68990 - test-common fails on i686-linux Fix use-after-end-of-scope.
Behdad Esfahbod b61f97d5 2013-09-16T22:07:22 0.9.21
Behdad Esfahbod 2af82629 2013-09-16T21:49:56 Improve library checks
Behdad Esfahbod 882edce4 2013-09-13T20:36:43 [graphite2] Fix include
Behdad Esfahbod ace5c7eb 2013-09-13T20:34:42 [introspection] hb-ft annotations
Behdad Esfahbod a8949df4 2013-09-13T20:23:51 [introspection] Annotate Unicode / font callbacks Should move these out of the public header... We're "clean" of introspection warnings now. Remaining ones are about graphite2 / freetype types not being introspectable.
Behdad Esfahbod 4b011094 2013-09-13T20:17:42 Move code around I believe I didn't break anything...
Behdad Esfahbod 4878db21 2013-09-12T20:56:32 Remove contrib/ Python hand-coded binding stuff gobject-introspection coming together.
Behdad Esfahbod e478ebe4 2013-09-12T20:53:07 [introspection] Add sample.py
Behdad Esfahbod dfdbe7f9 2013-09-12T20:52:20 [introspection] Make hb_blob_create() introspectable
Behdad Esfahbod 085d4291 2013-09-12T17:14:33 [introspection] Disable constructors for now Since our types are not associated with their methods, marking constructors makes them inaccessible from bindings. Undo for now.
Behdad Esfahbod 6c48f20e 2013-09-09T15:43:10 [otlayout] Add structs for JSTF table
Behdad Esfahbod 70303cf2 2013-09-06T17:35:57 [docs/introspection] Some more annotations
Behdad Esfahbod 288f2899 2013-09-06T15:40:22 [docs/introspection] More annotations
Behdad Esfahbod 17905c54 2013-09-06T16:57:01 [introspection] Work around g-i limitation with hb_language_t
Behdad Esfahbod cd361c3c 2013-09-06T16:20:21 Minor change to hb_language_t Let me know if this breaks anyone's anything.
Behdad Esfahbod 20cbc1f8 2013-09-06T15:29:22 Annotate hb-set a bit; add HB_SET_VALUE_INVALID
Behdad Esfahbod c44b8183 2013-09-06T15:13:16 Whitespace
Behdad Esfahbod ae9dc717 2013-09-05T16:40:37 [gtk-doc] Pass source files to gtk-doc
Behdad Esfahbod 5f512017 2013-09-04T18:28:39 [docs] Document a few symbols
Behdad Esfahbod e0dbf99b 2013-09-05T16:00:47 [introspection] Pass source files to scanner
Behdad Esfahbod 5a5350b3 2013-09-03T20:11:01 Revert "Round when scaling values" This reverts commit 10f964623f003c70f6bdd33423420abda3820ce0. See discussion with Khaled Hosny on mailing list. In short, since integers here can be negative, and int division is "round towards zero", proper rounding should take sign into account. Just skip doing it again, has been serving us well before.
Behdad Esfahbod 74ff41c3 2013-09-03T20:09:14 Minor
Behdad Esfahbod 63dd4b0a 2013-09-03T20:01:40 [gtk-doc] Remove hack for deleting tmpl/ This was introduced in 029f46bde7e39094d3decb46525e91a97c5cc02c and was in fact a bug in gtk-doc master: https://bugzilla.gnome.org/show_bug.cgi?id=707426
Behdad Esfahbod 213001aa 2013-09-03T20:00:16 [build] Fix EXTRA_DIST I was under the impression that EXTRA_DISTs will happen regardless of automake conditionals. Apparently I was wrong.
Behdad Esfahbod 1e994a8f 2013-09-03T18:11:47 [gtk-doc] Copy makefile
Behdad Esfahbod 81a007ff 2013-08-30T19:45:13 [TODO] Update
Behdad Esfahbod a2a28235 2013-08-30T19:38:47 [gtk-doc] Generate version.xml from configure Even though this is not what autoconf recommends, it reduces doc rebuilds when version doesn't change but configure changes.
Behdad Esfahbod ac1b7239 2013-08-30T19:32:10 Remove hb-old and hb-icu-le test shapers They've been disabled for a while and no one cared. We're past the point to need them for testing, and if we ever need to resurrect them again, well, they're in git graveyard somewhere.
Behdad Esfahbod b94243d6 2013-08-30T18:41:33 [g-i] Rename library from harfbuzz to HarfBuzz
Behdad Esfahbod b0e03508 2013-08-29T15:56:32 Dist with gobject and introspection enabled
Behdad Esfahbod f730b5d1 2013-08-29T15:53:33 0.9.20
Behdad Esfahbod e4ce6745 2013-08-29T15:56:16 [gtk-doc] Fix build without gobject
Behdad Esfahbod 263372f1 2013-08-28T13:43:54 Remove gtk-doc.make It's copied by gtk-docize.
Behdad Esfahbod 79d754ef 2013-08-28T13:43:35 Fix build
Behdad Esfahbod 71ef22b0 2013-08-28T12:52:55 Turn hb-gobject, and introspection off by default Also enable bootstrapping without them.
Behdad Esfahbod d8f50709 2013-08-26T21:26:24 Hookup harfbuzz-gobject to introspection
Behdad Esfahbod 71439a8c 2013-08-26T20:56:58 [gobject] Flesh out hb-gobject Move it to new harfbuzz-gobject library. Implement enums and boxed types for object-types. Still have to do boxed types for value types.
Behdad Esfahbod 23027f76 2013-08-22T19:03:21 [introspection] Enable gobject-introspection again
Behdad Esfahbod 757a7a90 2013-08-28T12:35:13 [uniscribe] Fixed build with wide chars https://github.com/blinkseb/harfbuzz/commit/f65dafa4138e1fb4395bf646fa33bb01a86a7e9a
Behdad Esfahbod 4dc798de 2013-08-26T20:39:00 Add hb-deprecated.h, and rename a couple enum values Add deprecated alias for old name.
Behdad Esfahbod 2e3a07ab 2013-08-26T18:49:07 Separate face source code from font Makes documentation / introspection easier.
Behdad Esfahbod d3490761 2013-08-26T21:15:29 Improve check-includes.sh
Behdad Esfahbod 381f2fb5 2013-08-26T19:20:38 Minor
Behdad Esfahbod ac1f09b5 2013-08-26T18:50:12 [gtk-doc] Fix maintainer-clean rule
Behdad Esfahbod 38b8b405 2013-08-27T11:44:09 Fix possible snprintf OOM https://bugzilla.redhat.com/show_bug.cgi?id=1001645
Behdad Esfahbod d22548c0 2013-08-26T18:46:21 [check-*] Minor
Behdad Esfahbod 029f46bd 2013-08-26T18:11:07 [gtk-doc] Remove tmpl in make maintainer-clean
Behdad Esfahbod dddf990c 2013-08-26T17:58:25 [git.mk] Update
Behdad Esfahbod 700a15fe 2013-08-26T17:49:36 Add HB_DISABLE_DEPRECATED That moment that you have to accept that you made API mistakes...
Behdad Esfahbod ddc456a5 2013-08-26T17:34:18 [travis] Add graphite2
Anthony Carrico f7c72b42 2013-02-24T13:00:33 [gtk-doc] Initial setup Initial setup of gtk-doc. Straight forward setup following the gtk-doc instructions. Ignore some troublesome types in src/hb-gobject.h. To build use "./autogen.sh --enable-gtk-doc" then "make". Docs are in harfbuzz/docs/reference/html/index.html.
Behdad Esfahbod 3409fb1c 2013-08-21T17:22:21 [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.
Behdad Esfahbod 1d05fdd0 2013-08-20T13:22:21 [uniscribe] Print run info
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 54e6f6c5 2013-08-09T14:34:54 Clean up list of Unicode scripts Rename HB_SCRIPT_CANADIAN_ABORIGINAL to HB_SCRIPT_CANADIAN_SYLLABICS and a macro for the old name.
Behdad Esfahbod 7cd4a715 2013-08-09T09:41:48 Update TODO
Behdad Esfahbod 515a0ac8 2013-08-09T09:40:59 Fix compiler warning
Behdad Esfahbod 10f96462 2013-08-09T09:40:01 Round when scaling values Doesn't matter for most users since they should be working in a fixed sub-pixel scale anyway (ie. 22.10, 26.6, 16.16, etc).
Behdad Esfahbod df8f70ae 2013-08-09T09:35:10 Minor
Behdad Esfahbod ce8badf1 2013-08-09T09:31:06 Minor
Behdad Esfahbod d71c0df2 2013-08-09T09:28:32 Remove vrt2, vkrn, vpal, and valt from default vertical features See thread by John Dagget on the list.
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 bdd8873f 2013-08-07T17:58:25 Revert "[Indic] don't apply 'calt' by default in Indic shaper" This reverts commit 952121007c6f6f374e4cf1734ebcfe2d2d71c71c. In light of discussion on the mailing list...
Behdad Esfahbod 9a175914 2013-08-07T17:26:13 [uniscribe] Support feature ranges As Khaled pointed out, right now setting any features, turns kern and possibly other features off.
Behdad Esfahbod 627af695 2013-08-06T16:53:56 More git.mk updates
Behdad Esfahbod 72225274 2013-08-06T15:19:23 Update git.mk
Behdad Esfahbod 38d5c58d 2013-08-06T14:45:36 [uniscribe] Half-support user features Turning features on globally works now.