Behdad Esfahbod [Tue, 27 Sep 2016 11:50:54 +0000 (13:50 +0200)]
1.3.2
Phil Krylov [Tue, 27 Sep 2016 10:38:49 +0000 (12:38 +0200)]
Allow building with graphite2 without pkg-config (#318)
Gregory Morse [Mon, 12 Sep 2016 08:22:15 +0000 (10:22 +0200)]
Update detectenv-msvc.mak (#316)
Windows x86 ARM capability
Ebrahim Byagowi [Fri, 9 Sep 2016 18:58:28 +0000 (23:28 +0430)]
[coretext] Use intended coretext version check logic (#315)
Khaled Hosny [Thu, 8 Sep 2016 01:44:37 +0000 (04:44 +0300)]
Try to unbreak building on older macOS again (#314)
Behdad Esfahbod [Wed, 7 Sep 2016 21:28:47 +0000 (14:28 -0700)]
1.3.1
Dominik Röttsches [Wed, 7 Sep 2016 20:56:57 +0000 (23:56 +0300)]
Do reconfigure the cascade list for Emoji font on OS X 10.9.5 (#313)
This seems to fix crash issues on 10.9.5 reported on Chrome, compare
crbug.com/549610
Dominik Röttsches [Mon, 5 Sep 2016 08:27:25 +0000 (11:27 +0300)]
Blacklist Padauk 2.80 and 3.00 (#311)
According to comments in issue #305 broken GDEF tables lead
to incorrect rendering of Latin characters. Blacklisting
this font.
Ebrahim Byagowi [Thu, 1 Sep 2016 20:51:48 +0000 (01:21 +0430)]
[ci] Add msys2 build to CI and run its testsuite on Windows (#310)
Ebrahim Byagowi [Thu, 1 Sep 2016 15:35:45 +0000 (20:05 +0430)]
[dwrite] Minor, don't include unnecessary headers (#309)
Ebrahim Byagowi [Thu, 1 Sep 2016 13:01:16 +0000 (17:31 +0430)]
[ci] Add Windows CI support, provided by AppVeyor (#308)
Khaled Hosny [Sat, 27 Aug 2016 13:38:42 +0000 (16:38 +0300)]
Show the shaper name in the debug message (#306)
Sascha Brawer [Thu, 18 Aug 2016 20:33:14 +0000 (22:33 +0200)]
Merge pull request #303 from behdad/fonnapa
Support Americanist Phonetic Notation
Sascha Brawer [Thu, 18 Aug 2016 10:48:38 +0000 (12:48 +0200)]
Support Americanist Phonetic Notation
OpenType language system tag: `APPH`
https://www.microsoft.com/typography/otspec/languagetags.htm
IETF BCP47 variant tag: `fonnapa`
http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
Sascha Brawer [Thu, 18 Aug 2016 11:59:38 +0000 (13:59 +0200)]
Merge pull request #302 from khaledhosny/master
[travis] Fix MacOS libtool issue
Khaled Hosny [Tue, 16 Aug 2016 01:09:04 +0000 (03:09 +0200)]
[coretext] Blind fix for build on MacOS 10.9
Khaled Hosny [Tue, 16 Aug 2016 00:49:48 +0000 (02:49 +0200)]
[travis] Fix MacOS libtool issue
Reveals another MacOS build breakage in the Core Text shaper.
Behdad Esfahbod [Tue, 9 Aug 2016 20:03:14 +0000 (13:03 -0700)]
Fix build
Behdad Esfahbod [Tue, 9 Aug 2016 01:08:08 +0000 (18:08 -0700)]
Actually add test
Behdad Esfahbod [Tue, 9 Aug 2016 01:06:09 +0000 (18:06 -0700)]
Add tests for Chinese language tags
Using font from https://github.com/behdad/harfbuzz/issues/300
Behdad Esfahbod [Tue, 9 Aug 2016 00:57:06 +0000 (17:57 -0700)]
Map Macao to ZHH lang tag
Fixes https://github.com/behdad/harfbuzz/issues/300
Behdad Esfahbod [Tue, 9 Aug 2016 00:28:54 +0000 (17:28 -0700)]
Limit bits-per-feature to eight
Limits number of alternatives per glyph per feature to 255, so be it.
That's better than possibly breaking shaping because of one bad feature
value.
Behdad Esfahbod [Tue, 9 Aug 2016 00:24:04 +0000 (17:24 -0700)]
Fix sign of shift operators
This one:
map->mask = (1 << (next_bit + bits_needed)) - (1 << next_bit);
before the fix, the shift was done as an int, causing overflow
if it ever got to 1 << 31. Sprinkle 'u's around.
Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=634805
Behdad Esfahbod [Mon, 8 Aug 2016 23:51:08 +0000 (16:51 -0700)]
Map zh-Hant-HK to ZHH
Fixes https://github.com/behdad/harfbuzz/issues/300
Khaled Hosny [Thu, 21 Jul 2016 23:26:54 +0000 (02:26 +0300)]
Don’t build UCDN support when building with GLib (#296)
Regression from:
b424b6c372dfe4c0ed75a49761eb34a416819446.
Behdad Esfahbod [Sat, 23 Jul 2016 00:41:43 +0000 (17:41 -0700)]
[coretext] "Fix" crashes on CoreText < 10.10
Fixes https://github.com/behdad/harfbuzz/issues/297
Behdad Esfahbod [Thu, 21 Jul 2016 08:58:00 +0000 (01:58 -0700)]
1.3.0
Behdad Esfahbod [Thu, 21 Jul 2016 08:23:33 +0000 (01:23 -0700)]
[ucdn] Update to Unicode 9.0.0
Fixes https://github.com/grigorig/ucdn/issues/12
jfkthame [Wed, 15 Jun 2016 23:10:42 +0000 (00:10 +0100)]
Blacklist GDEF tables of more fonts
This is based on bug reports that have been filed against Firefox since it
updated to a version of harfbuzz that uses zeroing by GDEF rather than by
Unicode. I'm sure there are a bunch more font versions that should also be
included; these are just the ones I have on hand and have confirmed as having
bad GDEF data.
Given how the list here is growing, I think we should reconsider the approach,
and perhaps revert to zeroing by Unicode instead.
Fixes https://github.com/behdad/harfbuzz/issues/264
Fixes https://github.com/behdad/harfbuzz/pull/266
Behdad Esfahbod [Wed, 20 Jul 2016 09:35:54 +0000 (02:35 -0700)]
Implement symbol cmap in ft and ot fonts
Fixes https://github.com/behdad/harfbuzz/issues/236
Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=627953
Behdad Esfahbod [Wed, 20 Jul 2016 08:43:56 +0000 (01:43 -0700)]
Clean up buffer area when rewinding
Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=614647
If allocation fails, we might be leaving junk behind. At least
clear it up.
Behdad Esfahbod [Tue, 12 Jul 2016 18:18:26 +0000 (11:18 -0700)]
Whitespace
Ebrahim Byagowi [Mon, 11 Jul 2016 23:19:21 +0000 (03:49 +0430)]
[coretext] Speculative fix for CoreText nullptr access (#288)
Birunthan Mohanathas [Mon, 11 Jul 2016 20:38:23 +0000 (13:38 -0700)]
[ft] Fix unsafe cast of FT_Done_Face in hb_ft_{face,font}_create_referenced (#289)
Prior to this change the function `FT_Error FT_Done_Face(FT_Face *)` was
called through a pointer with the signature `void (void *)` resulting in
undefined behaviour.
Steve Lhomme [Mon, 11 Jul 2016 19:57:26 +0000 (21:57 +0200)]
clang in MSVC mode doesn't like when we redefine __attribute__ (#283)
Behdad Esfahbod [Sat, 2 Jul 2016 00:09:28 +0000 (17:09 -0700)]
Merge pull request #286 from khaledhosny/gi-tag_from_string
[introspection] Fix hb_tag_from_string annotation
Khaled Hosny [Fri, 1 Jul 2016 22:04:57 +0000 (00:04 +0200)]
[introspection] Fix hb_tag_from_string annotation
Behdad Esfahbod [Thu, 30 Jun 2016 18:01:22 +0000 (11:01 -0700)]
[python] Use utf-32 / utf-16 based on build of Python
Fixes https://github.com/behdad/harfbuzz/pull/271
Behdad Esfahbod [Thu, 30 Jun 2016 16:46:52 +0000 (09:46 -0700)]
Comments
Behdad Esfahbod [Thu, 30 Jun 2016 16:41:03 +0000 (09:41 -0700)]
Merge pull request #268 from drott/conflictingFontFix
Discard reconfigured CTFont if URL changes
Dominik Röttsches [Wed, 29 Jun 2016 10:10:41 +0000 (12:10 +0200)]
Merge branch 'master' into conflictingFontFix
Behdad Esfahbod [Wed, 29 Jun 2016 04:00:37 +0000 (21:00 -0700)]
[gobject] Fix a few warnings
Part of https://github.com/behdad/harfbuzz/issues/277
Behdad Esfahbod [Wed, 29 Jun 2016 04:15:28 +0000 (21:15 -0700)]
Merge pull request #280 from behdad/revert-271-patch-2
Revert "use utf32"
Behdad Esfahbod [Wed, 29 Jun 2016 04:14:38 +0000 (21:14 -0700)]
Revert "use utf32"
Dominik Röttsches [Tue, 28 Jun 2016 07:52:18 +0000 (09:52 +0200)]
Merge branch 'master' into conflictingFontFix
Behdad Esfahbod [Mon, 27 Jun 2016 18:33:27 +0000 (14:33 -0400)]
Merge pull request #273 from ebraminio/master
[dwrite] Use stream font loader instead GDI interop
Ebrahim Byagowi [Sun, 26 Jun 2016 23:24:15 +0000 (03:54 +0430)]
[dwrite] Don't allocate more than needed
Addressing Nikolay Sivov reviews on harfbuzz mailing list
Ebrahim Byagowi [Fri, 24 Jun 2016 07:53:25 +0000 (12:23 +0430)]
[dwrite] Delete remained objects
No longer noticeable memory increase on create/destroy iterations,
highly better than current state of uniscribe backend
Ebrahim Byagowi [Fri, 24 Jun 2016 07:12:01 +0000 (11:42 +0430)]
[dwrite] Release allocated blob on face destroy
This reduces memory consumption of my iterated font create/destroy cycle test
significantly and makes it much better than uniscribe backend even
Ebrahim Byagowi [Thu, 23 Jun 2016 12:11:37 +0000 (16:41 +0430)]
[dwrite] Remove ifdefs without breaking execution on old Windows versions
Ebrahim Byagowi [Tue, 21 Jun 2016 09:27:26 +0000 (13:57 +0430)]
[dwrite] Use stream font loader instead GDI interop
With help of
https://dxr.mozilla.org/mozilla-central/source/gfx/2d/NativeFontResourceDWrite.cpp
Dominik Röttsches [Mon, 20 Jun 2016 07:25:43 +0000 (10:25 +0300)]
Merge branch 'master' into conflictingFontFix
Kelvin [Sat, 18 Jun 2016 22:46:38 +0000 (22:46 +0000)]
Use UTF-32 in Python sample
Khaled Hosny [Sat, 18 Jun 2016 21:08:51 +0000 (00:08 +0300)]
Merge pull request #270 from khaledhosny/travis-failure
Fix make check on Travis
Khaled Hosny [Sat, 18 Jun 2016 19:12:19 +0000 (21:12 +0200)]
[tests] Workaround Python 2 “narrow” builds
The so-called Python 2 “narrow” builds support UCS2 only, this is a
workaround to allow unichr to work with any Unicode character in such
builds. This fixes Travis-CI failure as it has narrow Python 2 builds.
Copied from:
https://github.com/behdad/fonttools/blob/master/Lib/fontTools/misc/py23.py
Dominik Röttsches [Thu, 16 Jun 2016 12:19:39 +0000 (14:19 +0200)]
Discard reconfigured CTFont if URL changes
Fixes https://github.com/behdad/harfbuzz/issues/267
Behdad Esfahbod [Tue, 7 Jun 2016 06:08:54 +0000 (23:08 -0700)]
Round, not truncate, when scaling values
Fixes https://github.com/behdad/harfbuzz/issues/255
Behdad Esfahbod [Mon, 6 Jun 2016 22:58:41 +0000 (15:58 -0700)]
Change bugreport URL to github
That's where everything is happening these days.
Behdad Esfahbod [Mon, 6 Jun 2016 21:14:24 +0000 (14:14 -0700)]
Update for latest Unicode 9 data files
Behdad Esfahbod [Wed, 1 Jun 2016 23:57:29 +0000 (16:57 -0700)]
Add TODO
Behdad Esfahbod [Fri, 6 May 2016 16:56:07 +0000 (17:56 +0100)]
[myanmar] Handle U+AA74..U+AA76
Fixes https://github.com/behdad/harfbuzz/issues/218
Behdad Esfahbod [Fri, 6 May 2016 16:50:06 +0000 (17:50 +0100)]
Fix build on droid.io
Behdad Esfahbod [Fri, 6 May 2016 16:41:49 +0000 (17:41 +0100)]
[use] Update to draft spec from Andrew Glass from August 2015
Behdad Esfahbod [Fri, 6 May 2016 16:28:25 +0000 (17:28 +0100)]
[use] Add a catch-all clause to the machine
Behdad Esfahbod [Fri, 6 May 2016 16:17:00 +0000 (17:17 +0100)]
[use] Fix 'Number-joiner terminated cluster' to use HN instead of H
From draft update to USE.
Behdad Esfahbod [Fri, 6 May 2016 15:19:19 +0000 (16:19 +0100)]
Allow MultipleSubst to delete glyph
Fixes https://github.com/behdad/harfbuzz/issues/253
Hopefully we got the logic right.
Behdad Esfahbod [Fri, 6 May 2016 15:05:07 +0000 (16:05 +0100)]
[indic] Remove more unused logic after Javanese is gone
Behdad Esfahbod [Fri, 6 May 2016 14:59:27 +0000 (15:59 +0100)]
[indic] Remove unused Javanese bits
Behdad Esfahbod [Fri, 6 May 2016 14:52:27 +0000 (15:52 +0100)]
[indic/use] Move Javanese from Indic shaper to USE
Fixes https://github.com/behdad/harfbuzz/issues/243
With javatext.ttf, the reodering medial Ra gets its advance width
zero'ed in Uniscribe implementation, and the font adds the advance
back. Our Indic shaper does not do that, but USE does. So, route
Javanese through USE. That's what Microsoft does anyway. Test:
U+A9A5,U+A9BA
This also seems to fix the following sequence, and variations thereof:
U+A99F,U+A9C0,U+A9A2,U+A9BF
Behdad Esfahbod [Fri, 6 May 2016 14:39:02 +0000 (15:39 +0100)]
Add Javanese sample text
Behdad Esfahbod [Fri, 6 May 2016 14:24:39 +0000 (15:24 +0100)]
Minor
Behdad Esfahbod [Fri, 6 May 2016 10:50:02 +0000 (11:50 +0100)]
[indic] Remove data for scripts that don't go thorough this shaper
Behdad Esfahbod [Fri, 6 May 2016 10:34:46 +0000 (11:34 +0100)]
Update tables to Unicode 9.0.0 beta
Fixes https://github.com/behdad/harfbuzz/issues/251
Behdad Esfahbod [Fri, 6 May 2016 10:21:12 +0000 (11:21 +0100)]
Minor
Behdad Esfahbod [Fri, 6 May 2016 11:08:18 +0000 (12:08 +0100)]
Add Unicode 9 beta scripts
These are frozen, so good time to add.
Behdad Esfahbod [Fri, 6 May 2016 10:59:05 +0000 (11:59 +0100)]
Whitespace
Behdad Esfahbod [Mon, 2 May 2016 08:44:13 +0000 (10:44 +0200)]
1.2.7
Behdad Esfahbod [Mon, 2 May 2016 08:29:12 +0000 (10:29 +0200)]
[ot-font] Remove unused 'post' table include for now
To make a release...
Behdad Esfahbod [Mon, 2 May 2016 08:28:24 +0000 (10:28 +0200)]
[tests] Fix test
Behdad Esfahbod [Mon, 2 May 2016 08:24:00 +0000 (10:24 +0200)]
[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 [Sat, 30 Apr 2016 17:20:56 +0000 (19:20 +0200)]
[ot-font] Start implementing 'post' table, for accessing glyph names
Behdad Esfahbod [Wed, 27 Apr 2016 10:38:24 +0000 (03:38 -0700)]
Behdad Esfahbod [Wed, 27 Apr 2016 10:11:41 +0000 (03:11 -0700)]
[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 [Wed, 27 Apr 2016 09:44:35 +0000 (02:44 -0700)]
[test] Add text for Tibetan shorthand contractions
From http://www.babelstone.co.uk/Tibetan/Contractions.html
Khaled Hosny [Wed, 27 Apr 2016 00:48:23 +0000 (03:48 +0300)]
Merge pull request #247 from khaledhosny/update-opentype-language-tags
Update opentype language tags
Arthur Reutenauer [Sat, 7 Nov 2015 23:37:21 +0000 (23:37 +0000)]
Mass-added “difficult” tags – to be curated.
Arthur Reutenauer [Sat, 7 Nov 2015 22:59:13 +0000 (22:59 +0000)]
Initial import of missing OpenType 1.7 language tags.
Behdad Esfahbod [Tue, 26 Apr 2016 23:42:25 +0000 (16:42 -0700)]
Undo accidental change
Behdad Esfahbod [Tue, 26 Apr 2016 23:41:17 +0000 (16:41 -0700)]
Do NOT ignore Mongolian Free Variation Selectors during matching
Fixes https://github.com/behdad/harfbuzz/issues/234
Behdad Esfahbod [Tue, 26 Apr 2016 23:02:04 +0000 (16:02 -0700)]
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 [Tue, 26 Apr 2016 18:28:37 +0000 (11:28 -0700)]
[util] Print out --debug buffer to stderr
Behdad Esfahbod [Tue, 26 Apr 2016 17:35:23 +0000 (10:35 -0700)]
Annotate blacklisted fonts with their sha1sum
Sascha Brawer [Tue, 26 Apr 2016 09:38:16 +0000 (11:38 +0200)]
Merge pull request #245 from KonstantinRitt/fixes/ce
Unbreak build on Windows CE
Konstantin Ritt [Tue, 26 Apr 2016 08:02:26 +0000 (12:02 +0400)]
Unbreak build on Windows CE
0475ef2f97e3035a2eea9a0f96031331e07e8e29 broke the build by using
vsnprintf(), which is not defined on Windows CE
Behdad Esfahbod [Sat, 9 Apr 2016 19:53:23 +0000 (12:53 -0700)]
Minor
Behdad Esfahbod [Sat, 9 Apr 2016 06:46:55 +0000 (23:46 -0700)]
Minor. We should never get to this branch, but fix it anyway.
Behdad Esfahbod [Fri, 8 Apr 2016 20:51:01 +0000 (13:51 -0700)]
1.2.6
Behdad Esfahbod [Fri, 8 Apr 2016 20:41:20 +0000 (13:41 -0700)]
Blacklist another set of timesi.ttf and timesbi.ttf
Behdad Esfahbod [Fri, 8 Apr 2016 20:16:33 +0000 (13:16 -0700)]
Merge pull request #239 from ebraminio/dwfix
Improve DirectWrite backend
Ebrahim Byagowi [Tue, 5 Apr 2016 21:01:05 +0000 (21:01 +0000)]
Fix when no feature is given