Behdad Esfahbod [Mon, 20 Jul 2015 10:46:17 +0000 (11:46 +0100)]
[USE] Build Universal Shaping Engine data table from Unicode 8 files
Behdad Esfahbod [Mon, 20 Jul 2015 10:32:48 +0000 (11:32 +0100)]
[USE] Add Universal Shaping Engine to Makefile
Behdad Esfahbod [Wed, 15 Jul 2015 00:39:57 +0000 (01:39 +0100)]
Update Arabic shaping table for Unicode 8.0
Behdad Esfahbod [Wed, 15 Jul 2015 00:36:39 +0000 (01:36 +0100)]
Add Unicode 8.0 scripts
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1183209
Behdad Esfahbod [Sun, 5 Jul 2015 21:43:17 +0000 (22:43 +0100)]
Fix pragma usage
https://bugs.freedesktop.org/show_bug.cgi?id=91228
Commit
cdcdfe61b97a0a48ccf834b6d924d187da9609be changed two `#pragma
message` to `#pragma error` in hb-unicode.cc, however MSVC uses #error,
just like the #else branch. `#pragma error` is an unknown pragma so
MSVC does not fail the build because of it, which I believe was the
intention of that commit.
If it's meant to be an #error, then the #ifdef for _MSC_VER can be
removed entirely.
Behdad Esfahbod [Fri, 19 Jun 2015 20:31:49 +0000 (13:31 -0700)]
When removing default-ignorables, merge clusters
Fixes test-shape, and:
https://code.google.com/p/chromium/issues/detail?id=497578
Behdad Esfahbod [Fri, 19 Jun 2015 18:57:57 +0000 (11:57 -0700)]
Rewrite hide_default_ignorables
Separate the loops for the two cases of replacing with space
and deleting. For deleting, use the out-buffer machinery.
Needed for upcoming cluster merge fix.
Behdad Esfahbod [Fri, 19 Jun 2015 00:15:33 +0000 (17:15 -0700)]
[test] Add test for cluster merging
Based on test from https://code.google.com/p/chromium/issues/detail?id=497578
Currently fails. Basically, if there's a default_ignorable at the
start of text, and font has no space glyph, we remove the default_ignorable,
and that makes the first char in text to correspond to no cluster.
Fix coming.
Behdad Esfahbod [Thu, 18 Jun 2015 18:14:56 +0000 (11:14 -0700)]
0.9.41
Behdad Esfahbod [Thu, 18 Jun 2015 17:55:13 +0000 (10:55 -0700)]
[util] Disable hb-fc-list for now
Until I figure out what to do about the API, and finalize
the tool.
Behdad Esfahbod [Sat, 13 Jun 2015 00:46:06 +0000 (17:46 -0700)]
[bindings] Fix hb_language_get_default() and hb_ot_tag_to_language()
Part of https://github.com/behdad/harfbuzz/issues/91
Behdad Esfahbod [Sat, 13 Jun 2015 00:37:41 +0000 (17:37 -0700)]
[TravisCI] Hook up Coverity
First try...
Behdad Esfahbod [Sat, 13 Jun 2015 00:29:05 +0000 (17:29 -0700)]
Add Coverity Scan badge
Behdad Esfahbod [Wed, 10 Jun 2015 17:57:46 +0000 (10:57 -0700)]
Fix warnings: "member call on null pointer of type"
https://bugzilla.mozilla.org/show_bug.cgi?id=1167119
Behdad Esfahbod [Wed, 3 Jun 2015 19:07:46 +0000 (12:07 -0700)]
Fix build
Behdad Esfahbod [Wed, 3 Jun 2015 18:53:42 +0000 (11:53 -0700)]
Add include check to hb-ot-font.h
Behdad Esfahbod [Mon, 1 Jun 2015 20:27:37 +0000 (13:27 -0700)]
Merge pull request #111 from brawer/since
Fix "Since:" tags
Sascha Brawer [Mon, 1 Jun 2015 11:22:01 +0000 (13:22 +0200)]
Fix "Since:" tags
Based on data from http://upstream-tracker.org/versions/harfbuzz.html
Resolves #103
Behdad Esfahbod [Thu, 21 May 2015 21:00:15 +0000 (14:00 -0700)]
Fix unary minus operator applied to unsigned int
Applying unary minus operator to unsigned int causes the following
warning on MSVS:
warning C4146: unary minus operator applied to unsigned type, result still unsigned
Based on patch from Koji Ishi.
Fixes https://github.com/behdad/harfbuzz/pull/110
Behdad Esfahbod [Wed, 20 May 2015 00:42:30 +0000 (17:42 -0700)]
[gobject] Remove hb_language_t workarounds for g-i shortcomings
Using latest gobject-introspection, I don't seem to be having this
problem anymore:
https://bugzilla.gnome.org/show_bug.cgi?id=707656
Removing that kludge makes language_t behave more like the way I expect it
in Python.
Also fixes:
https://github.com/behdad/harfbuzz/issues/91
Behdad Esfahbod [Wed, 20 May 2015 00:20:58 +0000 (17:20 -0700)]
[gobject] Macroize value types
Fixes user_data_t
Behdad Esfahbod [Tue, 19 May 2015 01:37:06 +0000 (18:37 -0700)]
[ft] Don't set *glyph in get_glyph() if glyph not found
Behdad Esfahbod [Mon, 18 May 2015 21:16:28 +0000 (14:16 -0700)]
[util] Minor
Behdad Esfahbod [Thu, 7 May 2015 17:46:42 +0000 (10:46 -0700)]
Merge pull request #105 from ebraminio/master
Fix Travis CI config to pass again
Ebrahim Byagowi [Thu, 7 May 2015 13:09:32 +0000 (13:09 +0000)]
Fix Travis CI config to pass again
Behdad Esfahbod [Wed, 6 May 2015 07:40:31 +0000 (00:40 -0700)]
Add note re OpenType 1.7 language tags
Roozbeh Pournader [Wed, 6 May 2015 05:31:19 +0000 (22:31 -0700)]
[minor] Remove comment about Navajo OpenType code.
Apparently the code is already standardized:
https://www.microsoft.com/typography/otspec/languagetags.htm
Behdad Esfahbod [Tue, 5 May 2015 21:49:47 +0000 (14:49 -0700)]
Merge pull request #102 from roozbehp/master
Add OpenType language tag 'NAV ' for Navajo.
Behdad Esfahbod [Tue, 5 May 2015 06:10:32 +0000 (23:10 -0700)]
[README.python] Add package name for gobject-introspection on Ubuntu
Behdad Esfahbod [Tue, 5 May 2015 06:09:51 +0000 (23:09 -0700)]
[travis] Comment out gobject-introspection again
Apparently the version on Travis is 1.32.0, while we require 1.34.0.
Behdad Esfahbod [Tue, 5 May 2015 02:22:11 +0000 (19:22 -0700)]
[travis] Build with introspection enabled
Behdad Esfahbod [Thu, 30 Apr 2015 22:27:13 +0000 (18:27 -0400)]
Use TRUE/FALSE instead of true/false in docs
Khaled Hosny [Wed, 8 Jan 2014 00:28:55 +0000 (02:28 +0200)]
Some attempt into initial hb-shape documentation
Very anaemic, needs to descripe the format understood by
hb_feature_from_string() etc., but it is just start.
Behdad Esfahbod [Thu, 30 Apr 2015 17:04:16 +0000 (13:04 -0400)]
New API: hb_buffer_reverse_range()
Roozbeh Pournader [Wed, 29 Apr 2015 16:32:42 +0000 (09:32 -0700)]
Add OpenType language tag 'NAV ' for Navajo.
The code is not standardized yet, but is used in some Google fonts.
Jonathan Kew [Thu, 23 Apr 2015 11:45:02 +0000 (12:45 +0100)]
Don't apply Arabic shaping to vertical text.
Behdad Esfahbod [Fri, 24 Apr 2015 01:56:24 +0000 (18:56 -0700)]
Update check-libstdc++ for clang
Behdad Esfahbod [Thu, 23 Apr 2015 21:32:33 +0000 (14:32 -0700)]
[test] Ignor 'n' and 'i' in hb-unicode-encode
Allows accepting uniXXXX format.
Behdad Esfahbod [Wed, 22 Apr 2015 02:23:27 +0000 (19:23 -0700)]
[coretext] Oops; fix issue number for previous commit
Behdad Esfahbod [Wed, 22 Apr 2015 02:21:32 +0000 (19:21 -0700)]
[coretext] Fix positioning with trailing whitespace
Fixes https://code.google.com/p/chromium/issues/detail?id=476913
Behdad Esfahbod [Fri, 17 Apr 2015 20:08:08 +0000 (13:08 -0700)]
[ot-font] Accept MS Symbol cmap if nothing else found
Behdad Esfahbod [Tue, 14 Apr 2015 20:32:22 +0000 (13:32 -0700)]
Revert "Add MSVC pragma for UTF-8 source code"
This reverts commit
89cbd4d9533011fb5487caa99a0cd58923e7cf59.
See discussion:
https://bugzilla.gnome.org/show_bug.cgi?id=747772
Behdad Esfahbod [Tue, 14 Apr 2015 06:51:45 +0000 (23:51 -0700)]
Whitespace
Behdad Esfahbod [Tue, 14 Apr 2015 06:40:35 +0000 (23:40 -0700)]
Merge pull request #86 from cpfair/hb-shape-output-help-improvement
Improve hb-shape/hb-view's help text w.r.t. output options
Behdad Esfahbod [Mon, 13 Apr 2015 19:27:08 +0000 (12:27 -0700)]
Add MSVC pragma for UTF-8 source code
Not sure we have any right now; motivated by this:
https://bugzilla.gnome.org/show_bug.cgi?id=747772
Behdad Esfahbod [Fri, 10 Apr 2015 21:34:05 +0000 (14:34 -0700)]
Merge pull request #99 from khaledhosny/introspection-fixes2
More ntrospection fixes
Khaled Hosny [Fri, 10 Apr 2015 16:14:45 +0000 (18:14 +0200)]
[bindings] Fix hb_buffer_get_segment_properties
Annotate the output parameter.
Behdad Esfahbod [Fri, 10 Apr 2015 19:21:04 +0000 (12:21 -0700)]
Merge branch 'hb-fc'
Behdad Esfahbod [Fri, 10 Apr 2015 19:19:57 +0000 (12:19 -0700)]
Merge pull request #98 from KonstantinRitt/WEC2013
Fix build on WEC2013
Khaled Hosny [Fri, 10 Apr 2015 15:49:01 +0000 (17:49 +0200)]
[bindings] Fix ownership of returned hb_language_t
It should not be freed by the caller.
Konstantin Ritt [Fri, 10 Apr 2015 13:18:01 +0000 (17:18 +0400)]
Fix build on WEC2013
Based on patch from Björn Breitmeyer
Behdad Esfahbod [Wed, 6 Aug 2014 20:49:51 +0000 (16:49 -0400)]
[utils] Add hb-fc-list
This is a tool that lists all fonts that can render a given string.
It uses hb_shape() to do so, and as such is aware of HarfBuzz's
normalizer.
Behdad Esfahbod [Wed, 6 Aug 2014 19:36:41 +0000 (15:36 -0400)]
Relax inert checks
Previously, when creating an object from inert inputs (eg:
"hb_font_create(hb_face_get_empty())") we returned the inert
empty object. This is not helpful as there are legitimate
usecases to do that.
We now never return the inert object unless allocation failed.
Tests are revised to reflect.
Behdad Esfahbod [Thu, 9 Apr 2015 22:52:26 +0000 (15:52 -0700)]
[util/hb-view] Fix rendering with all combinations of negative scales
Behdad Esfahbod [Thu, 9 Apr 2015 22:17:16 +0000 (15:17 -0700)]
[util] Minor
Behdad Esfahbod [Thu, 9 Apr 2015 22:04:42 +0000 (15:04 -0700)]
[util] Accept comma as well as space when separating components of args
Applies to --font-size and --margin.
Hopefully the scanf usage here doesn't have compatibility issues
(star being counted in the return value, etc).
Behdad Esfahbod [Thu, 9 Apr 2015 19:04:14 +0000 (12:04 -0700)]
Minor rename
Behdad Esfahbod [Wed, 8 Apr 2015 23:26:24 +0000 (16:26 -0700)]
Minor
Behdad Esfahbod [Wed, 8 Apr 2015 23:26:16 +0000 (16:26 -0700)]
Fixup
Behdad Esfahbod [Wed, 8 Apr 2015 21:39:00 +0000 (14:39 -0700)]
Fix warnings
Part of https://github.com/behdad/harfbuzz/pull/68
Behdad Esfahbod [Wed, 8 Apr 2015 20:25:04 +0000 (13:25 -0700)]
Err, instead of warn, if mutex / atomic / unicode funcs are missing
Hopefully this results in fewer badly built HarfBuzz integrations.
Behdad Esfahbod [Wed, 8 Apr 2015 20:03:27 +0000 (13:03 -0700)]
Fix unused var warnings
Konstantin Ritt [Fri, 27 Mar 2015 20:49:33 +0000 (00:49 +0400)]
Minor refactoring to the atomics implementation
s/atomic_int/atomic_int_impl/ and s/atomic_ptr/atomic_ptr_impl/
to bring it in par with hb_mutex_impl_t, then re-introduce
hb_atomic_int_t as a wrapper around hb_atomic_int_impl_t.
In hb_reference_count_t, make it clear the non-atomic get and set
are intentional due to nature of the cases they are used in
(comparison to -1 and the debug output/tracing).
Behdad Esfahbod [Wed, 8 Apr 2015 19:52:06 +0000 (12:52 -0700)]
Minor
Behdad Esfahbod [Wed, 8 Apr 2015 19:49:38 +0000 (12:49 -0700)]
Allow implementing atomic and mutex ops in config
Motivated by
https://github.com/behdad/harfbuzz/pull/92
Behdad Esfahbod [Wed, 8 Apr 2015 19:49:23 +0000 (12:49 -0700)]
Minor
Behdad Esfahbod [Mon, 6 Apr 2015 21:51:31 +0000 (14:51 -0700)]
[test] Use /usr/bin/env python instead of /usr/bin/python
Bug 76494 - #!/usr/bin/python in testsuite
https://bugs.freedesktop.org/show_bug.cgi?id=76494
Behdad Esfahbod [Mon, 6 Apr 2015 21:41:32 +0000 (14:41 -0700)]
Merge pull request #93 from ebraminio/archpy3
Make hb_test_tools.py compatible with python 3
Behdad Esfahbod [Wed, 1 Apr 2015 18:05:59 +0000 (11:05 -0700)]
MSVC 2015 supports snprintf and not _snprintf
Behdad Esfahbod [Wed, 1 Apr 2015 18:04:33 +0000 (11:04 -0700)]
Move WinCE define to better place
Ebrahim Byagowi [Sun, 29 Mar 2015 22:57:14 +0000 (03:27 +0430)]
Make hb_test_tools.py compatible with python 3
On ArchLinux, /usr/bin/python is linked to python 3 so
HarfBuzz `make check` is broken there.
This makes hb_test_tools.py compatible with python 3 while
no breaking it on python 2.
Behdad Esfahbod [Thu, 26 Mar 2015 18:13:53 +0000 (14:13 -0400)]
Fix VC++ /analyze warnings
out\debug\hb-buffer-deserialize-text.rl(47) : warning C6001: Using
uninitialized memory 'pos'.
Behdad Esfahbod [Sun, 22 Mar 2015 20:18:57 +0000 (16:18 -0400)]
Merge pull request #90 from khaledhosny/introspection-fixes
[bindings] Fix *_from_string functions
Khaled Hosny [Sun, 22 Mar 2015 18:29:10 +0000 (20:29 +0200)]
[bindings] Fix *_from_string functions
Without the element-type they will be getting garbage, at least with
Python.
Behdad Esfahbod [Fri, 20 Mar 2015 22:03:02 +0000 (18:03 -0400)]
0.9.40
Behdad Esfahbod [Fri, 20 Mar 2015 20:08:38 +0000 (16:08 -0400)]
Fix reverse_range() for empty range
Fixes coretext notdef loop consisting of all default_ignorable glyphs
https://code.google.com/p/chromium/issues/detail?id=464755
Behdad Esfahbod [Wed, 4 Mar 2015 23:47:25 +0000 (15:47 -0800)]
Fix previous commit
I misunderstood how which works.
Behdad Esfahbod [Wed, 4 Mar 2015 23:43:05 +0000 (15:43 -0800)]
Accept glibtoolize as libtoolize
Of course, we don't really run it, autoreconf does. We just
err if neither is available. glibtoolize is the name it is
shipped under on OS X. Reported by Adam.
Behdad Esfahbod [Wed, 4 Mar 2015 20:32:03 +0000 (12:32 -0800)]
0.9.39
Behdad Esfahbod [Wed, 4 Mar 2015 20:03:39 +0000 (12:03 -0800)]
Fix hb-uniscribe build
Behdad Esfahbod [Tue, 3 Mar 2015 00:06:55 +0000 (16:06 -0800)]
Fix reverse_range() to only reverse alt array if positions are used
In hb-coretext, when we were using scratch buffer for book-keeping,
a reverse_range() caused by the notdef-insertion loop could mess up
our log_clusters. Ouch!
Behdad Esfahbod [Thu, 26 Feb 2015 21:58:32 +0000 (13:58 -0800)]
Better error message if libtool is not installed
Fixes https://github.com/behdad/harfbuzz/pull/88
Behdad Esfahbod [Thu, 26 Feb 2015 21:55:34 +0000 (13:55 -0800)]
Clean up gtk-doc.make
Behdad Esfahbod [Thu, 26 Feb 2015 21:53:05 +0000 (13:53 -0800)]
Install git.mk in docs/
Behdad Esfahbod [Thu, 26 Feb 2015 21:52:50 +0000 (13:52 -0800)]
Update git.mk from upstream
Behdad Esfahbod [Sat, 21 Feb 2015 13:51:17 +0000 (16:51 +0300)]
Minor refactoring
Behdad Esfahbod [Sat, 21 Feb 2015 13:49:15 +0000 (16:49 +0300)]
Minor
Behdad Esfahbod [Sat, 21 Feb 2015 13:30:28 +0000 (16:30 +0300)]
Typo
Behdad Esfahbod [Sat, 21 Feb 2015 13:29:08 +0000 (16:29 +0300)]
Minor
Behdad Esfahbod [Sat, 21 Feb 2015 09:50:01 +0000 (12:50 +0300)]
[layout] Fix comparison of GlyphID and hb_codepoint_t
Before, the IntType::cmp functions providing this and was truncating
the hb_codepoint_t to 16bits before comparison. I have no idea how
this was never discovered, and I'm too lazy to try to reproduce this
with Pango (which uses non-16bit codepoint numbers for missing glyphs).
Behdad Esfahbod [Sat, 21 Feb 2015 09:41:08 +0000 (12:41 +0300)]
Remove unused (and wrong as of a few commits ago) cmp() function
Behdad Esfahbod [Sat, 21 Feb 2015 09:31:59 +0000 (12:31 +0300)]
Minor
Behdad Esfahbod [Sat, 21 Feb 2015 08:45:22 +0000 (11:45 +0300)]
Minor
Behdad Esfahbod [Thu, 19 Feb 2015 14:30:05 +0000 (17:30 +0300)]
[layout] If lookup has only one subtable, move the forward loop down to subtable
I was hoping to see a nice speedup, but it resulted in a very minor one.
Behdad Esfahbod [Thu, 19 Feb 2015 14:15:05 +0000 (17:15 +0300)]
[layout] Add apply_forward / apply_backward
Behdad Esfahbod [Thu, 19 Feb 2015 08:33:30 +0000 (11:33 +0300)]
[layout] Remove unneeded return value from apply()
Behdad Esfahbod [Thu, 19 Feb 2015 14:03:02 +0000 (17:03 +0300)]
Minor simpilfy BEInt
Behdad Esfahbod [Thu, 19 Feb 2015 13:57:12 +0000 (16:57 +0300)]
Optimize IntType comparison to avoid branches for 16bit numbers
Behdad Esfahbod [Thu, 19 Feb 2015 13:55:51 +0000 (16:55 +0300)]
Minor simplify IntType
Behdad Esfahbod [Thu, 19 Feb 2015 07:47:18 +0000 (10:47 +0300)]
[layout] Minor