Log

Author Commit Date CI Message
Behdad Esfahbod b3582a8e 2016-02-10T18:10:15 Change default mark advance zeroing behavior from Unicode to GDEF See thread at: https://lists.freedesktop.org/archives/harfbuzz/2016-February/005462.html
Behdad Esfahbod 43bb2b8f 2016-02-10T14:11:43 Minor
Behdad Esfahbod bdaa784b 2016-02-10T11:11:36 Merge pull request #164 from fanc999/msvc.build Enable Build of HarfBuzz under Visual Studio using NMake Makefiles
Behdad Esfahbod a168db47 2016-02-10T11:10:08 [README] Add ABI Tracker link
Chun-wei Fan f6ffba63 2015-12-09T14:57:15 MSVC builds: Add support to build DirectWrite shaping backend Add into the NMake Makefiles to build the DirectWrite shaping backend, but as PR #134 mentions, this is considered to be in an experimental state, so don't include this in the build by default for now. This is most probably going to replace the Uniscribe backend eventually, since DirectWrite is meant to be Uniscribe's replacement, and is needed for Windows Store apps if a system shaping API is to be used.
Chun-wei Fan c6792854 2016-02-03T18:31:23 build: Build the DirectWrite sources if requested This adds to the autotools build system so that the (experimental) DirectWrite support for HarfBuzz is built (and dist'ed).
Chun-wei Fan 5c3e7260 2015-11-03T18:52:46 MSVC builds: Add a pre-configured config.h(.win32) template This adds a pre-configured config.h template that can be used for Visual Studio builds, where autotools is not normally available. This has the configs that are suitable for Visual Studio builds, as well as all the features used for Windows builds enabled (HAVE_OT, HAVE_FALLBACK and HAVE_UNISCRIBE). Note that the optional features are not enabled here, they are enabled by /D's (or -D's) in the NMake Makefiles as requested.
Chun-wei Fan d7b6636e 2015-11-03T19:00:42 build: Support Visual Studio builds using NMake This adds a set of NMake Makefiles that can be used to build HarfBuzz, from the standard basic build building the minimal HarfBuzz DLL (consisting of OpenType, fallback and Uniscribe support only), to a full fledged build consisting of GLib and FreeType support, as well as building the utilities, the test programs in src/ and test/api, and HarfBuzz-ICU and HarfBuzz-GObject, and up to building the introspection files. This means a flexible build mechanism is supported here, so anything that is supported for a Windows build (code-wise), should all be supported by this build system. As in an earlier commit, the source listings are shared with the autotools builds with the various Makefile.sources in src/, src/hb-ucdn and util/, and this set of NMake Makefiles will transform these lists into the form they want. In the current form, all the test programs in test/api pass, and this has been checked successfully with 'make -j8 distcheck'.
Chun-wei Fan 35ded3af 2015-11-03T16:56:27 build: Move source listings into separate Makefile snippets This moves all the source listings in src/Makefile.am, src/hb-ucdn/Makefile.am and util/Makefile.am into separate Makefile snippets, so that they may be shared between different Makefile-based build systems, such as NMake for Visual Studio.
Behdad Esfahbod b894a85a 2016-02-02T16:39:19 Fix more hangs in case of buffer allocation errors Hopefully fixes https://github.com/behdad/harfbuzz/issues/214
Behdad Esfahbod b693992e 2016-02-02T12:33:32 Merge pull request #222 from n8willis/master Add usermanual chapter on cluster levels
n8willis 498574e6 2016-01-28T12:21:32 Update Makefile.am
n8willis e12fc666 2016-01-28T12:14:12 Added initial usermanual chapter on cluster levels.
Behdad Esfahbod 9a6a33cc 2016-01-18T12:47:18 Merge pull request #216 from mhosken/master Refactor graphite2 to make ovleraps into negative width spaces
Martin Hosken 146fe252 2016-01-16T17:24:00 Refactor graphite2 to make ovleraps into negative width spaces
Behdad Esfahbod d05b7833 2016-01-12T16:17:21 Fix compiler warning Fixes https://github.com/behdad/harfbuzz/issues/212
Behdad Esfahbod d163dc18 2016-01-12T13:05:01 Minor
Behdad Esfahbod 505b7d47 2016-01-11T18:31:04 [fuzzing] Fuzz input text Very rudimentary right now, but will get kcc's bot going. From https://github.com/behdad/harfbuzz/issues/139#issuecomment-163580783
Behdad Esfahbod 3e704521 2016-01-11T17:38:41 [OT] Get list of lookup subtables once and loop through them This speeds up shaping the Amiri font by over 15%. This was primarily needed for my work on OpenType GX, since we will be collecting only sublookups that are "active" for current font instance; but it's a nice boost in general as well. We might, in the future, collect subtables in the lookup_accel. That would also allow us to do a per-subtbale set-digest, which should speed things up some more, specially for ContextChainFormat3 lookups... Amiri, for example, contains one lookup with 53 subtables!
Behdad Esfahbod 11441291 2016-01-11T13:16:35 1.1.3
Behdad Esfahbod 97624d92 2016-01-11T12:58:45 [docs] Minor fixes.
Behdad Esfahbod a39ff95f 2016-01-11T12:28:37 [coretext] Speed up CoreText font fallback Fixes https://code.google.com/p/chromium/issues/detail?id=547912
Behdad Esfahbod 5afebbdc 2016-01-07T22:53:59 Add Homebrew build instructions
Behdad Esfahbod e8a27d79 2016-01-07T22:52:16 Don't build hb-fuzzer in "make", only "make check"
Behdad Esfahbod 25671466 2016-01-07T19:11:41 Add 9 reserved entries to hb_font_extents_t Might add italic-angle, underline/strikethrough-position/thickness in the future. Do this before new struct goes into a release.
Behdad Esfahbod e6d5e4c3 2016-01-06T12:29:50 [uniscribe] Fix negative advance This happens with at least one test font I have.
Behdad Esfahbod 99d34955 2016-01-06T12:20:47 [test] Add test text for Kaithi
Behdad Esfahbod 53c47c85 2016-01-05T13:26:20 Increase sanitize edit count from 8 to 32 See previous commit.
Behdad Esfahbod da2fcfdc 2016-01-05T13:23:45 Don't count fixing-up FeatureParams offset as error The font Garamond Premier Pro Caption (and possibly many other Adobe fonts), have many FeatureParamsSize tables with the old wrong offset. We handle fixing those up, but they were still contributing to edit_count, and when I reduced HB_SANITIZE_MAX_EDIT from 100 to 8 in 14c2de321826c36037adde859ccca3e2011325a9, these fonts were now getting GPOS dropped and hence kerning disabled. Fix, by not counting edits made towareds offset fix-up. I'll also increase edit count again, in the next commit.
Behdad Esfahbod d0adc809 2016-01-02T13:25:18 Check magicNumber in head table during sanitize
Behdad Esfahbod 3a48c776 2016-01-02T00:59:14 Merge pull request #208 from khaledhosny/travis-trusty [travis] Try building on Trusty
Khaled Hosny 4b4948d3 2016-01-02T00:36:19 [travis] Try building on Trusty Trusty has gtk-doc 1.20 which has better markdown support which should fix some of the brokenness in the newly added documentation. The build seems to be as fast as the current container-based build on Precise.
Behdad Esfahbod 9230911f 2016-01-01T19:06:43 [travis] Only run coveralls if testing behdad/harfbuzz Fixes failures in others' forks, like: https://travis-ci.org/khaledhosny/harfbuzz/jobs/99719710#L3912
Behdad Esfahbod 6f66f057 2016-01-01T16:44:01 Merge pull request #207 from khaledhosny/docs-4 [docs] More buffers documentation
Khaled Hosny 9ab9f974 2016-01-01T20:38:21 [docs] More buffers documentation
Behdad Esfahbod bfdf684f 2015-12-30T22:20:14 Merge pull request #205 from khaledhosny/more-docs More docs
Behdad Esfahbod d7ed6f50 2015-12-30T22:20:00 Merge pull request #206 from nico/patch-3 Remove unused HB_SHAPER_DATA_ENSURE_DECLARE lines.
Nico Weber a7f0e25d 2015-12-30T16:05:52 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.
Khaled Hosny 85c2443b 2015-12-30T22:57:04 [docs] Reduce gtkdoc-check errors Now it is just reporting one error about “503 undocumented or incomplete symbols”, that will be the easy part I guess.
Khaled Hosny 9cffe329 2015-12-30T22:50:08 [docs] Typo
Behdad Esfahbod b758e5ea 2015-12-30T16:44:19 Merge pull request #203 from nico/patch-1 Remove unused `retry:` label.
Behdad Esfahbod 266bfa37 2015-12-30T16:25:48 [docs] Minor
Behdad Esfahbod d08035f8 2015-12-30T16:15:36 [docs] Fix up build, really
Behdad Esfahbod 0d45c3cf 2015-12-30T16:09:39 [docs] Turn bash tracing on
Behdad Esfahbod 33b2d981 2015-12-30T15:56:56 [docs] Another try, not sure why the bot isn't building
Behdad Esfahbod f3a05114 2015-12-30T15:45:43 [docs] Shuffling code around in deploy-docs.sh Temporarily makes it rebuild docs on every change again.
Behdad Esfahbod 8f31d0a9 2015-12-30T15:13:37 Merge pull request #202 from khaledhosny/doc-fixes Doc fixes
Khaled Hosny fb192c26 2015-12-30T15:05:50 [docs] A bit more buffers documentation
Khaled Hosny 8ab797c5 2015-12-29T17:42:16 [docs] A bit more buffers documentation
Khaled Hosny f18d2226 2015-12-29T15:21:20 [docs] Some documentation on buffers Some of it (create, reference, destroy) are adapted from Cairo docs.
Khaled Hosny d7bf9d05 2015-12-29T02:23:24 [docs] Fix comment syntax To lower the number of gtk-doc warnings.
Nico Weber 8b1224f0 2015-12-28T21:31:28 Remove unused `retry:` label. Fixes a -Wunused-label warning when building harfbuzz with clang -Wall.
Khaled Hosny 1f555929 2015-12-29T02:15:21 [docs] Ignore the new HB_EXTERN decoration Otherwise, almost all API functions are not extracted.
Khaled Hosny 9d280cf4 2015-12-26T06:45:51 Fix previous commit
Khaled Hosny b789199f 2015-12-26T06:35:08 [travis] Build docs only on tagged revisions Lets see if it works…
Behdad Esfahbod e5b90c08 2015-12-25T18:41:41 [travis] Remove secure var I've set up a secure var for behdad/harfbuzz through Travis web interface, no need to set the var here.
Behdad Esfahbod e75c1ffd 2015-12-25T18:21:08 Merge pull request #199 from behdad/travis-docs Deploy docs to gh-pages branch from Travis builds
Behdad Esfahbod 6173c2a6 2015-12-25T18:18:23 Fix flaky test This test font had a upem of 769, which results in rounding-related errors with the FreeType font funcs. Change the upem to 1024 to fix that. Fixes https://github.com/behdad/harfbuzz/issues/201
Behdad Esfahbod 3fcae6d8 2015-12-25T18:18:02 [tests] Add --reference, for re-recording tests
Khaled Hosny d25317f6 2015-12-23T01:29:48 Move more docs from FreeDesktop page
Khaled Hosny 493a9222 2015-12-23T00:33:41 Rename user manual files Use chapter ids instead of numbers, so that we can reorder them, introduce new ones etc. without the numbers becoming out of date.
Khaled Hosny 4dc22659 2015-12-23T00:26:20 Intro from freedesktop.org/wiki/Software/HarfBuzz/
Khaled Hosny 22b07782 2015-12-14T23:33:51 Deploy docs to gh-pages branch from Travis builds Build docs in Travis and push them to the gh-pages branch, which makes them available at http://behdad.github.io/harfbuzz/
Behdad Esfahbod fc38e603 2015-12-23T14:50:53 [layout] Collect coverage glyphs in PairPos Apparently class=0 is used for ClassDef1. See: https://github.com/adobe-type-tools/afdko/issues/90
Behdad Esfahbod 8718dae8 2015-12-18T19:53:40 [python] Hook up sample debugger
Behdad Esfahbod 0475ef2f 2015-12-18T18:17:07 [buffer] Add debugging, aka, message, API Currently just announces lookup applications. Message-API *will* change. hb-shape / hb-view are updated to print-out messages to stder if --debug is specified.
Behdad Esfahbod 9ea0aa43 2015-12-18T17:30:18 Don't deserialize positions if buffer has no positions
Behdad Esfahbod 862b1644 2015-12-18T13:54:06 [use] Only set syllable-based topographical features if not Arabic-joining
Behdad Esfahbod 45b7ec36 2015-12-18T13:47:16 [indic] Followup fix for Malayalam context matching We regeressed Malayalam in 508cc3d3cfcfb0383df0fe795cc28db4e0fd5729 This brings down the failures to 198 (from 750). BENGALI: 353725 out of 354188 tests passed. 463 failed (0.130722%) 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: 951190 out of 951913 tests passed. 723 failed (0.0759523%) KHMER: 299070 out of 299124 tests passed. 54 failed (0.0180527%) MALAYALAM: 1048136 out of 1048334 tests passed. 198 failed (0.0188871%) ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) SINHALA: 271662 out of 271847 tests passed. 185 failed (0.068053%) TAMIL: 1091753 out of 1091754 tests passed. 1 failed (9.15957e-05%) TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%) MYANMAR: 1123865 out of 1123883 tests passed. 18 failed (0.00160159%)
Behdad Esfahbod 2813e304 2015-12-18T11:05:11 [indic] Update data tables to Unicode 8.0 Test stats remain unchanged, except for Malayalam, which we investigate: BENGALI: 353725 out of 354188 tests passed. 463 failed (0.130722%) 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: 951190 out of 951913 tests passed. 723 failed (0.0759523%) KHMER: 299070 out of 299124 tests passed. 54 failed (0.0180527%) MALAYALAM: 1047584 out of 1048334 tests passed. 750 failed (0.0715421%) ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) SINHALA: 271662 out of 271847 tests passed. 185 failed (0.068053%) TAMIL: 1091753 out of 1091754 tests passed. 1 failed (9.15957e-05%) TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%) Myanmar, compared to Windows 10 mmrtext.ttf: MYANMAR: 1123865 out of 1123883 tests passed. 18 failed (0.00160159%)
Behdad Esfahbod fc06cff4 2015-12-17T17:47:35 Remove HB_OT_SHAPE_ZERO_WIDTH_MARKS_DEFAULT The DEFAULT naming wasn't helpful, so just remove it.
Behdad Esfahbod 508cc3d3 2015-12-17T17:31:17 [indic] Allow context when matching for Malayalam new-spec Test sequence: U+0995,U+09CD,U+09B0 With Nirmala shipped on Windows 10, this failed to form the below form. Works now. Reported by Sairus.
Behdad Esfahbod eaf1e93e 2015-12-17T16:57:47 [uniscribe] Handle E_NOT_SUFFICIENT_BUFFER as well as E_OUTOFMEMORY On Windows 10 we are seeing that other error message... Test sequence: U+0995,U+-9CD,U+09B0 With Nirmala shipped on Windows 10, this failed to form the below form. Works now. Reported by Sairus.
Behdad Esfahbod 21e5d7ed 2015-12-17T16:28:38 [util] Use O_BINARY instead of _O_BINARY The latter doesn't seem to be available in Cygwin. I'm surprised it compiled before...
Behdad Esfahbod 100fbeaf 2015-12-17T15:23:09 Fix ligature component of a mark happening after a ligature within a ligature! Say, if we are ligating "A B_C m D", then previously 'm' was being attached to 'B' in the combined A_B_C_D ligature. Now we attach it to 'C'. No test for this though :(.
Behdad Esfahbod 2f02fc79 2015-12-17T15:21:14 Improve ligature-component handling We use three bits for lig_id these days, so we finally got a report of two separate ligatures with the same lig_id happening adjacent to each other, and then the component-handling code was breaking things. Protect against that by ignoring same-lig-id but lig-comp=0 glyphs after a new ligature. Fixes https://github.com/behdad/harfbuzz/issues/198
Behdad Esfahbod 2ab0de9f 2015-12-17T11:59:15 [use] Fix halant detection Before, we were just checking the use_category(). This detects as halant a ligature that had the halant as first glyph (as seen in NotoSansBalinese.) Change that to use the is_ligated() glyph prop bit. The font is forming this ligature in ccmp, which is before the rphf / pref tests. So we need to make sure the "ligated" bit survives those tests. Since those only check the "substituted" bit, we now only clear that bit for them and "ligated" survives. Fixes https://github.com/behdad/harfbuzz/issues/180
Behdad Esfahbod 86bcbd65 2015-12-17T11:04:33 [arabic] Use glyph advance width in apply_stch() instead of extents That seems to be what Windows is doing, and makes more sense.
Behdad Esfahbod f11c11a1 2015-12-16T17:08:36 Fix Since: tags for new API https://github.com/behdad/harfbuzz/commit/e1d4d0f1dbd8518b5672245c05d73f22a9ed03ea#commitcomment-15006653
Behdad Esfahbod 15f2c055 2015-12-14T14:19:03 Merge pull request #196 from srl295/aix AIX fixes
Steven R. Loomis a13b023d 2015-12-11T10:21:27 AIX fixes - use '-w' instead of '\<...\>' for check-header-guards grep manpage says these are the same - put '-q' first in the grep options - move VAR into hb-private.hh - hb-font-private.hh - use [VAR] instead of [] for variable array
Behdad Esfahbod 49e72634 2015-12-10T17:44:19 Limit use of AIX intrinsics to IBM's compiler
Behdad Esfahbod e1d4d0f1 2015-12-10T16:56:07 Merge branch 'font-extents' Fixes https://github.com/behdad/harfbuzz/pull/165
Behdad Esfahbod 808d3fc0 2015-12-10T16:55:16 [util] Port hb-view to use font metrics from HarfBuzz instead of cairo
Behdad Esfahbod 31fa3892 2015-12-10T16:38:29 [ft] Use ftface->size->metrics for font extent info
Behdad Esfahbod 3ad16048 2015-12-10T16:37:49 [ot-font] Respect OS/2 fsSelection USE_TYPO_METRICS bit
Behdad Esfahbod 70b33eda 2015-12-10T15:54:42 Add atomic ops for AIX Patch from Volker Simonis.
Behdad Esfahbod 98460779 2015-12-07T21:38:47 Remove final pause from Arabic shaper Back in the old days, we used to apply 'calt' and 'cswh' in Arabic shaper, with a pause in between. Then we disabled the 'cswh' because Microsoft disabled it, but forgot to remove the unnecessary pause. Do that now. This has the benefit that it fixes shaping with monbaiti from Windows 10. In that version of that font, the lookups from 'calt' are duplicated in 'rclt', and Mongolian was changed to go through Universal Shaping Engine. We still use the Arabic shaper for Mongolian. With a pause after 'calt', we were applying the duplicate lookups from 'calt' and 'rclt' twice. It happened to be the case that these lookups were NOT idempotent. So we were getting wrong shaping. See thread "Windows 10 monbaiti.ttf upgrade (5.01 -> 5.51) caused loss of diacritical marks when shaped with harfbuz" on the mailing list. This fixes that.
Behdad Esfahbod dee0fbf9 2015-12-07T10:44:08 Merge pull request #192 from behdad/jfkthame-stch [issue 191] Make apply_stch() give a more precise fit
Behdad Esfahbod 255df680 2015-12-07T10:34:47 Fix undefined behavior in cmp function Fixes https://bugs.freedesktop.org/show_bug.cgi?id=93274
Behdad Esfahbod fcf9e61b 2015-12-07T10:30:43 Fix sorting order of ot_languages array Looks like the original sort was wrongly done. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=93275
Behdad Esfahbod 70952ddb 2015-12-07T10:28:46 Add test to make sure ot-languages array is sorted Currently fails. Part of https://bugs.freedesktop.org/show_bug.cgi?id=93275
Behdad Esfahbod 8c37556f 2015-12-07T09:34:58 Merge pull request #134 from ebraminio/dwrite Add working but less prefect DirectWrite backend
jfkthame a7ffe353 2015-12-05T17:47:37 Make apply_stch() give a more precise fit This aims to make Syriac Abbr Mark sizing more accurate when repeating segments are used, by adding an extra repeat and tightening up the spacing slightly rather than leaving a shortfall corresponding to a partial repeat-width.
Behdad Esfahbod 8e5f9026 2015-11-30T16:53:21 src/test.cc: wrong field printed Fixes https://github.com/behdad/harfbuzz/issues/188 Fixes https://bugs.freedesktop.org/show_bug.cgi?id=93182
Simon Cozens 6f2e6de1 2015-10-26T16:23:22 Get font ascender and descender metrics from OS/2 table.
Simon Cozens 097c998a 2015-10-26T16:22:38 Parse the OS/2 table.
Behdad Esfahbod d44d52bd 2015-11-26T19:35:43 1.1.2
Behdad Esfahbod 35d18585 2015-11-26T19:30:37 Fix a few docs blocks
Behdad Esfahbod 0e38c918 2015-11-26T19:26:26 [introspection] Make scanner happy with HB_EXTERN