Log

Author Commit Date CI Message
Behdad Esfahbod 01a30a6a 2016-05-06T11:50:02 [indic] Remove data for scripts that don't go thorough this shaper
Behdad Esfahbod 7cd9269f 2016-05-06T11:34:46 Update tables to Unicode 9.0.0 beta Fixes https://github.com/behdad/harfbuzz/issues/251
Behdad Esfahbod f718fe37 2016-05-06T11:21:12 Minor
Behdad Esfahbod 691086f1 2016-05-06T12:08:18 Add Unicode 9 beta scripts These are frozen, so good time to add.
Behdad Esfahbod bc5198fe 2016-05-06T11:59:05 Whitespace
Behdad Esfahbod a5b7b0dd 2016-05-02T10:44:13 1.2.7
Behdad Esfahbod 9879fc1d 2016-05-02T10:29:12 [ot-font] Remove unused 'post' table include for now To make a release...
Behdad Esfahbod f8061ae7 2016-05-02T10:28:24 [tests] Fix test
Behdad Esfahbod f00ab2a3 2016-05-02T10:24:00 [hb-ot-font] Make 'glyf' table loading lazy Apparently some clients have reference-table callbacks that copy the table. As such, avoid loading 'glyf' table which is only needed if fallback positioning happens.
Behdad Esfahbod 587d4622 2016-04-30T19:20:56 [ot-font] Start implementing 'post' table, for accessing glyph names
Behdad Esfahbod 9abaaac4 2016-04-27T03:38:24 Merge commit '264b7a728a41becfbf23ce258fc2a3af19d0cbbe' into HEAD
Behdad Esfahbod 2f560ee4 2016-04-27T03:11:41 [tibetan] Reorder marks to better match Uniscribe Fixes https://github.com/behdad/harfbuzz/issues/237 Note that Uniscribe enforces a certain syllable order. We don't. But with this change, I get all of the tibetan contractions pass with Microsoft Himalaya font.
Behdad Esfahbod f68390f1 2016-04-27T02:44:35 [test] Add text for Tibetan shorthand contractions From http://www.babelstone.co.uk/Tibetan/Contractions.html
Khaled Hosny 264b7a72 2016-04-27T03:48:23 Merge pull request #247 from khaledhosny/update-opentype-language-tags Update opentype language tags
Arthur Reutenauer 3d6a2c0d 2015-11-07T22:59:13 Initial import of missing OpenType 1.7 language tags.
Arthur Reutenauer adafdcdd 2015-11-07T23:37:21 Mass-added “difficult” tags – to be curated.
Behdad Esfahbod 7e2da035 2016-04-26T16:42:25 Undo accidental change
Behdad Esfahbod b2030502 2016-04-26T16:41:17 Do NOT ignore Mongolian Free Variation Selectors during matching Fixes https://github.com/behdad/harfbuzz/issues/234
Behdad Esfahbod 21ab5501 2016-04-26T16:02:04 Move ZWJ/ZWNJ bits to top byte of unicode_props() To make room to remember Mongolian Free Variation Selectors. Part of fixing https://github.com/behdad/harfbuzz/issues/234
Behdad Esfahbod de508516 2016-04-26T11:28:37 [util] Print out --debug buffer to stderr
Behdad Esfahbod 29393884 2016-04-26T10:35:23 Annotate blacklisted fonts with their sha1sum
Sascha Brawer 14bb4a56 2016-04-26T11:38:16 Merge pull request #245 from KonstantinRitt/fixes/ce Unbreak build on Windows CE
Konstantin Ritt 5069062d 2016-04-26T12:02:26 Unbreak build on Windows CE 0475ef2f97e3035a2eea9a0f96031331e07e8e29 broke the build by using vsnprintf(), which is not defined on Windows CE
Behdad Esfahbod 1c625dff 2016-04-09T12:53:23 Minor
Behdad Esfahbod 851b0db3 2016-04-08T23:46:55 Minor. We should never get to this branch, but fix it anyway.
Behdad Esfahbod 00ea66f3 2016-04-08T13:51:01 1.2.6
Behdad Esfahbod 4f3d59a1 2016-04-08T13:41:20 Blacklist another set of timesi.ttf and timesbi.ttf
Behdad Esfahbod ef476be8 2016-04-08T13:16:33 Merge pull request #239 from ebraminio/dwfix Improve DirectWrite backend
Ebrahim Byagowi d3134a66 2016-04-05T21:01:05 Fix when no feature is given
Behdad Esfahbod a0331b55 2016-04-04T16:25:32 1.2.5
Behdad Esfahbod 6e55199b 2016-04-04T16:24:27 Add test for 6dd80faf0dcb3e8a8915c3a25da44e2a67cb0cd8
Behdad Esfahbod 59089622 2016-04-04T14:54:32 [coretext] Clarify comment
Behdad Esfahbod 6dd80faf 2016-04-04T14:34:25 Fix FixedVersion::to_int() Ouch. Had broken it in 9a13ed453ef96822a47d6e6f58332b87f38d5c59 Fixes https://github.com/behdad/harfbuzz/issues/238 Will add test soon.
Ebrahim Byagowi 4a104021 2016-04-02T13:47:59 Hide justification behind HB_DIRECTWRITE_EXPERIMENTAL_JUSTIFICATION
Ebrahim Byagowi 63ee9ca5 2016-04-01T15:47:07 Use standard types instead Windows favourites ones
Ebrahim Byagowi adf20ba0 2016-04-01T15:36:40 Limit GetJustifiedGlyphs only to scripts with custom justification character
Ebrahim Byagowi 32ae9d1b 2016-04-01T06:39:57 Add justification support
Ebrahim Byagowi 10c3d9e4 2016-03-31T18:19:44 Basic opentype features support
Ebrahim Byagowi d1298971 2016-03-31T13:45:37 Refactor and remove dupe getglyphs call
Ebrahim Byagowi 5f1a8961 2016-03-31T12:26:16 Better glyph offset support
Ebrahim Byagowi d691ba3f 2016-03-30T20:21:40 Don't fail when language is not set
Ebrahim Byagowi 1c00a46c 2016-03-30T20:15:09 Make DirectWrite backend to work with different font sizes Actually copyedited same logic from Uniscribe to make it just work
Behdad Esfahbod 0251b0cc 2016-03-17T14:37:11 1.2.4
Behdad Esfahbod 69f9fbc4 2016-03-17T11:59:43 Synthesize GDEF glyph class for any glyph that does not have one in GDEF Previously we only synthesized GDEF glyph classes if the glyphClassDef array in GDEF was null. This worked well enough, and is indeed what OpenType requires: "If the font does not include a GlyphClassDef table, the client must define and maintain this information when using the GSUB and GPOS tables." That sentence does not quite make sense since one needs Unicode properties as well, but is close enough. However, looks like Arial Unicode as shipped on WinXP, does have GDEF glyph class array, but defines no classes for Hebrew. This results in Hebrew marks not getting their widths zeroed. So, with this change, we synthesize glyph class for any glyph that is not specified in the GDEF glyph class table. Since, from our point of view, a glyph not being listed in that table is a font bug, any unwanted consequence of this change is a font bug :). Note that we still don't get the same rendering as Uniscribe, since Uniscribe seems to do fallback positioning as well, even though the font does have a GPOS table (which does NOT cover Hebrew!). We are not going to try to match that though. Test string for Arial Unicode: U+05E9,U+05B8,U+05C1,U+05DC Before: [gid1166=3+991|gid1142=0+737|gid5798=0+1434] After: [gid1166=3+991|gid1142=0+0|gid5798=0+1434] Uniscribe: [gid1166=3+991|gid1142=0@348,0+0|gid5798=0+1434] Note that our new output matches what we were generating until July 2014, because the Hebrew shaper used to zero mark advances based on Unicode, NOT GDEF. That's 9e834e29e0b657f0555df1ab9cea79ff7abcf08d. Reported by Greg Douglas.
Behdad Esfahbod fef5dd9a 2016-03-12T19:15:15 Merge pull request #232 from c0nk/wip-icu Add --with-icu=builtin option; fix compile error
Behdad Esfahbod 01ea9eaa 2016-03-11T18:50:02 [build] Use tar-ustar instead of tar-pax The default tar-v7 is not good enough for us (99 char filename limit), so I have had bumped to tar-pax. We got one complaint that someone's tar couldn't handle tar-pax. Set to tar-ustar which is ~13 years earlier than tar-pax and is good enough for us.
Behdad Esfahbod 3e10460a 2016-03-11T18:45:19 Minor comment
Behdad Esfahbod d14fea4b 2016-03-08T12:16:41 Remove default clause in minor switch statements Bending to clang warnings... https://bugs.chromium.org/p/chromium/issues/detail?id=593057
Behdad Esfahbod ce8ae997 2016-03-04T17:20:35 Merge pull request #231 from KonstantinRitt/post123buildfix Fix build with HB_DISABLE_DEPRECATED
Behdad Esfahbod 731a430c 2016-03-02T13:32:42 Fix requiredFeature stage handling logic Originally the way Jonathan had written this was correct in "continue"ing: https://github.com/jfkthame/harfbuzz/commit/35e28c7a733eaffcd9f062b18d7db9fbb3d990fc#diff-ead86a33a5cc9ad7f6e6381031a0baddR199 When I rewrote his patch, I messed it up: https://github.com/behdad/harfbuzz/commit/da132937989acb4d8ca9bd41c79f98750e7dda30#diff-ead86a33a5cc9ad7f6e6381031a0baddR209 the intended behavior was NOT to set found=TRUE and NOT to continue. This was resulting in feature_index[table_index] being left unset. Oops!
Behdad Esfahbod 68b6296d 2016-03-01T16:41:53 Add F2DOT14 type
Behdad Esfahbod 082b79fe 2016-03-01T16:41:26 Use FWORD and UFWORD when it makes sense I had forgotten about those types.
Kal Conley 5f995db1 2016-02-26T00:36:17 Fix missing ICU #include Fix compile error in hb-icu.cc when ICU configured with U_NO_DEFAULT_INCLUDE_UTF_HEADERS=1
Kal Conley b424b6c3 2016-02-26T00:35:15 Add --with-icu=builtin configure option
Konstantin Ritt 71248a84 2016-02-25T18:55:28 Fix build with HB_DISABLE_DEPRECATED When HB_DISABLE_DEPRECATED is defined, no code from hb-deprecated.h should be used, even from within HB itself.
Behdad Esfahbod 0c7fb741 2016-02-25T14:40:09 Speed up buffer variable allocation sanity check This makes defining HB_NDEBUG much less relevant, to the point of irrelevance. Sorry about all the fuss in previous release!
Behdad Esfahbod 91dd1156 2016-02-25T13:56:47 Add HB_NDEBUG API changes: - If NDEBUG is defined, define HB_NDEBUG - Disable costlier sanity checks if HB_NDEBUG is defined. In 1.2.3 introduced some code to disable costly sanity checks if NDEBUG is defined. NDEBUG, however, disables all assert()s as well. With HB_NDEBUG, one can disable costlier checks but keep assert()s. I'll probably add a way to define HB_NDEBUG automatically in release tarballs. But for now, production systems that do NOT define NDEBUG, are encouraged to define HB_NDEBUG for our build.
Behdad Esfahbod 75568b0a 2016-02-25T12:26:26 1.2.3
Behdad Esfahbod 98816502 2016-02-25T12:23:02 Disable internal buffer variable bookkeeping in NDEBUG builds Saves some sweet time and binary size!
Behdad Esfahbod 94dd0bb7 2016-02-25T11:31:03 Add blacklist signature for Times New Roman (Bold) Italic on OS X
Behdad Esfahbod dd8598c1 2016-02-25T11:20:05 [test] Pass closure to hb_font_set_glyph_func() Exercises fix in c335fd7986fe360ab8e1c032c9b988d0d30511eb
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 c335fd79 2016-02-25T09:16:05 In trampoline implementation of get_glyph(), don't destroy user data twice!
Behdad Esfahbod 23335dea 2016-02-24T20:27:13 [ot-font] Accelerate cmap format4 get_glyph
Behdad Esfahbod e0f16a71 2016-02-24T19:52:36 [ot-font] Towards accelerating get_glyph()
Behdad Esfahbod 5473ebfb 2016-02-24T19:32:43 [ot-font] Remove level of indirection in get_glyph_variant
Behdad Esfahbod 49fe6ecf 2016-02-24T19:10:06 [TODO] Update This file is rather obsolete. Still, give it a refresh.
Behdad Esfahbod 8b5bc141 2016-02-24T19:05:23 Add get_nominal_glyph() and get_variation_glyph() instead of get_glyph() New API: - hb_font_get_nominal_glyph_func_t - hb_font_get_variation_glyph_func_t - hb_font_funcs_set_nominal_glyph_func() - hb_font_funcs_set_variation_glyph_func() - hb_font_get_nominal_glyph() - hb_font_get_variation_glyph() Deprecated API: - hb_font_get_glyph_func_t - hb_font_funcs_set_glyph_func() Clients that implement their own font-funcs are encouraged to replace their get_glyph() implementation with a get_nominal_glyph() and get_variation_glyph() pair. The variation version can assume that variation_selector argument is not zero.
Behdad Esfahbod b30a971b 2016-02-24T17:32:22 1.2.2
Behdad Esfahbod af48e3d2 2016-02-24T16:06:40 Fix recent test Not sure why the FT functions were returning advance 1024. This caused failure on drone.io. Switch to hb-ot-font and disable glyph names.
Behdad Esfahbod 17c83170 2016-02-24T16:06:23 [tests] Fix for multiple options in test runner scripts
Behdad Esfahbod ebd7431f 2016-02-24T15:53:40 Partially revert 86c68c7a2c971efe8e35b1f1bd99401dc8b688d2 That commit moved the advance adjustment for mark positioning to be applied immediately, instead of doing late before. This breaks if mark advances are zeroed late, like in Arabic. Also, easier to hit it in RTL scripts since a single mark with non-zero advance is enough to hit the bug, whereas in LTR, at least two marks are needed. This reopens https://github.com/behdad/harfbuzz/issues/211 The cursive+mark interaction is broken again. To be fixed in a different way.
Behdad Esfahbod 284481b3 2016-02-24T15:52:37 Add test for mark positioning in rtl with non-zero mark advance Apparently I broke this 86c68c7a2c971efe8e35b1f1bd99401dc8b688d2. Fix coming.
Behdad Esfahbod 56a84e8d 2016-02-24T15:50:33 [tests] Allow commenting out tests to be skipped
Behdad Esfahbod 7cfd6cc4 2016-02-24T12:30:57 [Android.mk] Update with warning flags
Behdad Esfahbod dabf32a5 2016-02-23T15:38:43 1.2.1
Behdad Esfahbod 525cc7d2 2016-02-23T15:19:27 Add note re only adding tests with Free Software fonts
Behdad Esfahbod 6a09d7e3 2016-02-23T13:47:16 [test] Add README about how to add shaping tests
Behdad Esfahbod f8ee7906 2016-02-23T13:45:38 Remove MANIFEST files They are unused currently. We can add later if we hook them up to anything useful.
Behdad Esfahbod 815bdd77 2016-02-22T18:22:44 In cluster-level=0, group ZWJ/ZWNJ with previous cluster This better emulates Unicode grapheme clusters. Note that Uniscribe does NOT do this, but should be harmless with most clients, and improve fallback with clients that use HarfBuzz cluster as unit of fallback. Fixes https://github.com/behdad/harfbuzz/issues/217
Behdad Esfahbod 89137e32 2016-02-22T16:00:59 Minor
Behdad Esfahbod 15063b12 2016-02-22T15:56:29 [coretext] Move CTFont construction to face_data
Behdad Esfahbod ba3d49d9 2016-02-22T15:50:12 [coretext] Move code around
Behdad Esfahbod 90194efb 2016-02-22T15:42:53 [coretext] Move code around
Behdad Esfahbod ca539e37 2016-02-22T15:37:18 [build] git.mk fix for m4/gtk-doc.m4
Behdad Esfahbod 54788cb1 2016-02-22T15:32:52 [win32] Install git.mk
Behdad Esfahbod 9a13ed45 2016-02-22T11:44:45 Make FixedVersion a template
Behdad Esfahbod 238b943e 2016-02-22T15:31:22 [coretext] Fix leak!
Behdad Esfahbod e5611228 2016-02-22T15:28:37 [coretext] Move code around
Behdad Esfahbod 04c64431 2016-02-22T15:12:27 [coretext] Ignore PPEM in font size selection
Behdad Esfahbod 62c27111 2016-02-22T15:07:20 [coretext] Limit grapheme-cluster forming to cluster-level=0
Behdad Esfahbod 061105ec 2016-02-22T14:59:39 [coretext] Fix shaping with varying font size Fixes https://github.com/libass/libass/issues/212
Behdad Esfahbod 27847cab 2016-02-19T15:56:50 1.2.0
Behdad Esfahbod c3731559 2016-02-19T15:13:07 [fuzzing] Add test for recent fix Test from https://github.com/behdad/harfbuzz/issues/223 I forgot that we do run hb-fuzzer on tests in shaping/tests/fuzzed.tests.
Behdad Esfahbod aa33cb72 2016-02-19T15:12:24 [fuzzing] Make test runner actually work
Behdad Esfahbod 2735555c 2016-02-19T15:12:16 [fuzzing] Add TODO item
Behdad Esfahbod b87e36f6 2016-02-19T14:52:31 Avoid buffer->move_to() in case of buffer error Fixes https://github.com/behdad/harfbuzz/issues/223 Right now we cannot test this because it has to be tested using hb-fuzzer. We should move all fuzzing tests from test/shaping/tests/fuzzed.tests to test/fuzzing/ and have its own test runner. At that point, should add test from this issue as well.
Behdad Esfahbod 7e76bbab 2016-02-19T14:43:39 [fuzzing] Make "make hb-fuzzer" build lib dependency Not going to do with util/, but is convenient here.
Behdad Esfahbod 568a0c60 2016-02-18T19:31:51 Remove pointless overflow check in pointer math Fixes https://github.com/behdad/harfbuzz/issues/227
Behdad Esfahbod aae28470 2016-02-18T17:06:25 Emoji skin tone modifiers need to be treated as combining marks Fixes https://github.com/behdad/harfbuzz/issues/169