platform/upstream/libHarfBuzzSharp.git
6 years ago[ot-color] More on PNGHeader fields
Ebrahim Byagowi [Sun, 28 Oct 2018 20:58:44 +0000 (00:28 +0330)]
[ot-color] More on PNGHeader fields

6 years ago[ot-color] Apply Behdad comment
Ebrahim Byagowi [Sun, 28 Oct 2018 20:37:26 +0000 (00:07 +0330)]
[ot-color] Apply Behdad comment

6 years ago[ot-color] Make PNGHeader reading actually work
Ebrahim Byagowi [Sun, 28 Oct 2018 20:33:01 +0000 (00:03 +0330)]
[ot-color] Make PNGHeader reading actually work

6 years ago[ot-color] Implement PNGHeader and test it, it doesn't work however
Ebrahim Byagowi [Sun, 28 Oct 2018 20:13:50 +0000 (23:43 +0330)]
[ot-color] Implement PNGHeader and test it, it doesn't work however

6 years ago[ot-color] Preparation for setting PNG width/height in extents
Ebrahim Byagowi [Sun, 28 Oct 2018 19:49:04 +0000 (23:19 +0330)]
[ot-color] Preparation for setting PNG width/height in extents

6 years ago[docs] Add comment
Behdad Esfahbod [Sun, 28 Oct 2018 18:41:33 +0000 (11:41 -0700)]
[docs] Add comment

6 years ago[ot-color] Apply Behdad reviews
Ebrahim Byagowi [Sun, 28 Oct 2018 18:08:56 +0000 (21:38 +0330)]
[ot-color] Apply Behdad reviews

6 years ago[ot-color] Apply Behdad comment
Ebrahim Byagowi [Sun, 28 Oct 2018 16:39:40 +0000 (20:09 +0330)]
[ot-color] Apply Behdad comment

6 years ago[ot-color] Add public API for CBDT/sbix/SVG color Emojis
Ebrahim Byagowi [Sat, 27 Oct 2018 11:45:24 +0000 (15:15 +0330)]
[ot-color] Add public API for CBDT/sbix/SVG color Emojis

6 years ago[name] Change hb_name_id_t back to unsigned int
Behdad Esfahbod [Sun, 28 Oct 2018 15:26:30 +0000 (08:26 -0700)]
[name] Change hb_name_id_t back to unsigned int

https://github.com/harfbuzz/harfbuzz/commit/d941f66c75fe26f909b1ba248535cc372bbde851#commitcomment-31076011

6 years ago[docs] Fix titles here as well
Behdad Esfahbod [Sun, 28 Oct 2018 15:23:36 +0000 (08:23 -0700)]
[docs] Fix titles here as well

6 years ago[name] Make sure hb_name_id_t is int-sized
Behdad Esfahbod [Sun, 28 Oct 2018 01:36:24 +0000 (18:36 -0700)]
[name] Make sure hb_name_id_t is int-sized

https://github.com/harfbuzz/harfbuzz/commit/d941f66c75fe26f909b1ba248535cc372bbde851#commitcomment-31068905

6 years ago[docs] Divide reference API into three chapters
Behdad Esfahbod [Sat, 27 Oct 2018 12:07:54 +0000 (05:07 -0700)]
[docs] Divide reference API into three chapters

6 years ago[docs] Hook up hb-var
Behdad Esfahbod [Sat, 27 Oct 2018 12:00:42 +0000 (05:00 -0700)]
[docs] Hook up hb-var

6 years ago[docs] Document remaining sections
Behdad Esfahbod [Sat, 27 Oct 2018 11:58:32 +0000 (04:58 -0700)]
[docs] Document remaining sections

6 years ago[docs] Change section titles again
Behdad Esfahbod [Sat, 27 Oct 2018 11:50:38 +0000 (04:50 -0700)]
[docs] Change section titles again

I think I like the uniform "hb-*" more.

6 years ago[docs] More
Behdad Esfahbod [Sat, 27 Oct 2018 11:40:43 +0000 (04:40 -0700)]
[docs] More

6 years ago[docs] Rename section titles to object names
Behdad Esfahbod [Sat, 27 Oct 2018 11:28:40 +0000 (04:28 -0700)]
[docs] Rename section titles to object names

More useful.

6 years ago[docs] More
Behdad Esfahbod [Sat, 27 Oct 2018 11:27:36 +0000 (04:27 -0700)]
[docs] More

6 years ago[ot] Fold hb-ot-tag.h into hb-ot-layout.h
Behdad Esfahbod [Sat, 27 Oct 2018 11:21:20 +0000 (04:21 -0700)]
[ot] Fold hb-ot-tag.h into hb-ot-layout.h

6 years ago[docs] Fill in some sections
Behdad Esfahbod [Sat, 27 Oct 2018 11:07:33 +0000 (04:07 -0700)]
[docs] Fill in some sections

6 years agoMove HB_EXTERN
Behdad Esfahbod [Sat, 27 Oct 2018 11:01:19 +0000 (04:01 -0700)]
Move HB_EXTERN

6 years agoMerge pull request #1318 from ebraminio/png
Ebrahim Byagowi [Sat, 27 Oct 2018 11:34:43 +0000 (15:04 +0330)]
Merge pull request #1318 from ebraminio/png

Add a non-hooked _png _svg get emoji blob

6 years ago[ot-color] Remove _png and _svg public APIs
Ebrahim Byagowi [Sat, 27 Oct 2018 11:15:00 +0000 (14:45 +0330)]
[ot-color] Remove _png and _svg public APIs

6 years ago[ot-color/png] Try to get image blob from sbix first options.aat is set
Ebrahim Byagowi [Sat, 27 Oct 2018 10:54:58 +0000 (14:24 +0330)]
[ot-color/png] Try to get image blob from sbix first options.aat is set

6 years ago[ot-color] Add some documentation
Ebrahim Byagowi [Sat, 27 Oct 2018 10:45:38 +0000 (14:15 +0330)]
[ot-color] Add some documentation

6 years ago[docs] Fix hb_name_id_t
Behdad Esfahbod [Sat, 27 Oct 2018 10:18:45 +0000 (03:18 -0700)]
[docs] Fix hb_name_id_t

Yep, was not recognized without this patch!

6 years ago[ot-color/png] Implement CBDT part
Ebrahim Byagowi [Sat, 27 Oct 2018 10:02:14 +0000 (13:32 +0330)]
[ot-color/png] Implement CBDT part

6 years ago[docs] Hook up hb-map
Behdad Esfahbod [Sat, 27 Oct 2018 10:15:34 +0000 (03:15 -0700)]
[docs] Hook up hb-map

6 years ago[name] Make hb_name_id_t be the enum
Behdad Esfahbod [Sat, 27 Oct 2018 09:55:52 +0000 (02:55 -0700)]
[name] Make hb_name_id_t be the enum

This is like hb_script_t.

We had this exposed as unsigned int since 2.0.0 release in two APIs,
as well as hb_ot_layout_get_size_params() from earlier.
But since no one uses those (right?!), let's just fix this now.

6 years ago[name] Move HB_NAME_ID_INVALID into the enum
Behdad Esfahbod [Sat, 27 Oct 2018 09:49:32 +0000 (02:49 -0700)]
[name] Move HB_NAME_ID_INVALID into the enum

Don't know how to document anonymous enum members.

6 years ago[name] Move around
Behdad Esfahbod [Sat, 27 Oct 2018 09:45:57 +0000 (02:45 -0700)]
[name] Move around

6 years ago[name] Rename hb_ot_name_get_names() to hb_ot_name_list_names()
Behdad Esfahbod [Sat, 27 Oct 2018 09:39:20 +0000 (02:39 -0700)]
[name] Rename hb_ot_name_get_names() to hb_ot_name_list_names()

And swap return value positions, so can be annotated for gobject-introspectin.

6 years agoDocument new API
Behdad Esfahbod [Sat, 27 Oct 2018 09:35:06 +0000 (02:35 -0700)]
Document new API

6 years ago[sbix] Remove dump method from sbix accelerator
Ebrahim Byagowi [Sat, 27 Oct 2018 09:14:33 +0000 (12:44 +0330)]
[sbix] Remove dump method from sbix accelerator

6 years agoFix test-name-table on older bots
Ebrahim Byagowi [Sat, 27 Oct 2018 08:54:53 +0000 (12:24 +0330)]
Fix test-name-table on older bots

6 years ago[sbix] Set num_glyphs on accelerator
Ebrahim Byagowi [Sat, 27 Oct 2018 08:45:25 +0000 (12:15 +0330)]
[sbix] Set num_glyphs on accelerator

dump-emoji was broken without it

6 years ago[ot-color/png] sbix runtime memory check
Ebrahim Byagowi [Sat, 27 Oct 2018 07:20:53 +0000 (10:50 +0330)]
[ot-color/png] sbix runtime memory check

6 years agoComment
Behdad Esfahbod [Sat, 27 Oct 2018 07:39:31 +0000 (00:39 -0700)]
Comment

6 years ago[ot-color/png] Implement sbix part
Ebrahim Byagowi [Fri, 26 Oct 2018 20:25:11 +0000 (23:55 +0330)]
[ot-color/png] Implement sbix part

6 years agoRemove stale comment
Behdad Esfahbod [Sat, 27 Oct 2018 07:06:48 +0000 (00:06 -0700)]
Remove stale comment

Ugliness was fixed in 30eab97a0072fbc22d353082249e0e6e546cd86b
But yeah, my smell detector was working.  Ugliness was buggy.

6 years ago[docs] Hook up new symbols
Behdad Esfahbod [Sat, 27 Oct 2018 05:09:17 +0000 (22:09 -0700)]
[docs] Hook up new symbols

6 years ago[morx] Fix merge_cluster to end at last ligature component
Behdad Esfahbod [Sat, 27 Oct 2018 05:02:17 +0000 (22:02 -0700)]
[morx] Fix merge_cluster to end at last ligature component

Don't assume current position was a component in the ligature.

6 years ago[morx] Fix bailing out ligation at end-of-text
Behdad Esfahbod [Sat, 27 Oct 2018 04:59:20 +0000 (21:59 -0700)]
[morx] Fix bailing out ligation at end-of-text

Check was after a move_to, which wouldn't work.

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11147

6 years agoFix invalid memory read
Behdad Esfahbod [Sat, 27 Oct 2018 04:54:07 +0000 (21:54 -0700)]
Fix invalid memory read

Buffer might be relocated inside replace_glyphs().

Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=895117

6 years ago[indic] Fix infinite loop
Behdad Esfahbod [Sat, 27 Oct 2018 04:21:18 +0000 (21:21 -0700)]
[indic] Fix infinite loop

Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=863044

6 years agoFix bunch of unused parameter warnings
Behdad Esfahbod [Sat, 27 Oct 2018 04:01:11 +0000 (21:01 -0700)]
Fix bunch of unused parameter warnings

Show up with gcc -O0.

There's a few more but those are functions that need to be filled in.

Maybe this is a lost battle...

6 years ago[subset] Fix warning
Behdad Esfahbod [Sat, 27 Oct 2018 03:45:28 +0000 (20:45 -0700)]
[subset] Fix warning

6 years ago[fuzzing] Remove HB_NDEBUG
Behdad Esfahbod [Sat, 27 Oct 2018 03:31:14 +0000 (20:31 -0700)]
[fuzzing] Remove HB_NDEBUG

Not sure why it ever was added.

6 years ago[fuzzing] Add more test
Behdad Esfahbod [Fri, 26 Oct 2018 23:23:50 +0000 (16:23 -0700)]
[fuzzing] Add more test

6 years ago[name] Default to "en" if language is not specified
Behdad Esfahbod [Thu, 25 Oct 2018 20:43:25 +0000 (13:43 -0700)]
[name] Default to "en" if language is not specified

6 years ago[name] Add pre-defined nameIDs
Behdad Esfahbod [Wed, 24 Oct 2018 20:42:38 +0000 (13:42 -0700)]
[name] Add pre-defined nameIDs

6 years ago[name] Fill out most missing language codes
Behdad Esfahbod [Wed, 24 Oct 2018 20:20:19 +0000 (13:20 -0700)]
[name] Fill out most missing language codes

6 years ago[name] Skip enumerating names with unknown language
Behdad Esfahbod [Wed, 24 Oct 2018 19:40:15 +0000 (12:40 -0700)]
[name] Skip enumerating names with unknown language

6 years ago[utf] Remove unused typedef
Behdad Esfahbod [Wed, 24 Oct 2018 19:34:30 +0000 (12:34 -0700)]
[utf] Remove unused typedef

6 years ago[utf] Fix ASCII
Behdad Esfahbod [Wed, 24 Oct 2018 19:34:03 +0000 (12:34 -0700)]
[utf] Fix ASCII

6 years ago[name] Hook up ltag table
Behdad Esfahbod [Wed, 24 Oct 2018 06:33:44 +0000 (23:33 -0700)]
[name] Hook up ltag table

6 years ago[name] Do record sanitization at run-time
Behdad Esfahbod [Wed, 24 Oct 2018 06:16:06 +0000 (23:16 -0700)]
[name] Do record sanitization at run-time

6 years ago[name] Minor
Behdad Esfahbod [Wed, 24 Oct 2018 06:05:55 +0000 (23:05 -0700)]
[name] Minor

6 years ago[name] Add src/test-name-table tool to show all font names
Behdad Esfahbod [Wed, 24 Oct 2018 05:45:45 +0000 (22:45 -0700)]
[name] Add src/test-name-table tool to show all font names

6 years ago[name] Rebuild language list, include missing entries
Behdad Esfahbod [Wed, 24 Oct 2018 05:44:36 +0000 (22:44 -0700)]
[name] Rebuild language list, include missing entries

6 years ago[name] Fix cmp for invalid language
Behdad Esfahbod [Wed, 24 Oct 2018 05:19:09 +0000 (22:19 -0700)]
[name] Fix cmp for invalid language

6 years ago[name] Fix nul-termination bug
Behdad Esfahbod [Wed, 24 Oct 2018 05:16:32 +0000 (22:16 -0700)]
[name] Fix nul-termination bug

6 years ago[name] Add language mapping
Behdad Esfahbod [Wed, 24 Oct 2018 05:00:19 +0000 (22:00 -0700)]
[name] Add language mapping

6 years ago[name] Start adding language support
Behdad Esfahbod [Wed, 24 Oct 2018 04:19:56 +0000 (21:19 -0700)]
[name] Start adding language support

6 years ago[name] Remove unused cmp function
Behdad Esfahbod [Wed, 24 Oct 2018 04:12:58 +0000 (21:12 -0700)]
[name] Remove unused cmp function

6 years ago[name] Hook things up
Behdad Esfahbod [Wed, 24 Oct 2018 03:51:53 +0000 (20:51 -0700)]
[name] Hook things up

Accept Mac Latin name entries as ASCII as well.

6 years ago[name] More
Behdad Esfahbod [Wed, 24 Oct 2018 03:30:40 +0000 (20:30 -0700)]
[name] More

It assumes all names are encoded in UTF16-BE.  Other than that, and not
listing languages correctly, it's *supposed* to work.

6 years ago[name] Fix check
Behdad Esfahbod [Wed, 24 Oct 2018 03:15:53 +0000 (20:15 -0700)]
[name] Fix check

6 years ago[name] Flesh out UTF-X to UTF-X conversion routines
Behdad Esfahbod [Wed, 24 Oct 2018 03:04:05 +0000 (20:04 -0700)]
[name] Flesh out UTF-X to UTF-X conversion routines

6 years ago[name] Fix for rebase changes to hb_array_t
Behdad Esfahbod [Tue, 23 Oct 2018 10:16:03 +0000 (03:16 -0700)]
[name] Fix for rebase changes to hb_array_t

6 years ago[name] Some more
Behdad Esfahbod [Wed, 17 Oct 2018 12:42:23 +0000 (05:42 -0700)]
[name] Some more

6 years ago[name] Return full string length from API
Behdad Esfahbod [Wed, 17 Oct 2018 02:55:17 +0000 (19:55 -0700)]
[name] Return full string length from API

6 years ago[utf] Add UTF16-BE and UTF32-BE
Behdad Esfahbod [Wed, 17 Oct 2018 02:04:48 +0000 (19:04 -0700)]
[utf] Add UTF16-BE and UTF32-BE

6 years ago[name] Hide internal details from public API
Behdad Esfahbod [Tue, 16 Oct 2018 20:06:56 +0000 (13:06 -0700)]
[name] Hide internal details from public API

6 years ago[name] More
Behdad Esfahbod [Tue, 16 Oct 2018 06:34:54 +0000 (23:34 -0700)]
[name] More

6 years ago[name] Add hb_ot_name_get_utf()
Behdad Esfahbod [Tue, 16 Oct 2018 06:32:08 +0000 (23:32 -0700)]
[name] Add hb_ot_name_get_utf()

6 years ago[name] Pre-allocate array
Behdad Esfahbod [Tue, 16 Oct 2018 06:28:49 +0000 (23:28 -0700)]
[name] Pre-allocate array

6 years ago[name] Start implementing hb_ot_name_get_utf16()
Behdad Esfahbod [Tue, 16 Oct 2018 06:09:28 +0000 (23:09 -0700)]
[name] Start implementing hb_ot_name_get_utf16()

6 years ago[name] Implement hb_bytes_t get_name()
Behdad Esfahbod [Tue, 16 Oct 2018 06:00:27 +0000 (23:00 -0700)]
[name] Implement hb_bytes_t get_name()

6 years ago[name] Add hb-ot-name.cc for realz
Behdad Esfahbod [Tue, 16 Oct 2018 05:53:40 +0000 (22:53 -0700)]
[name] Add hb-ot-name.cc for realz

6 years ago[name] Implement hb_ot_name_get_names()
Behdad Esfahbod [Tue, 16 Oct 2018 05:48:48 +0000 (22:48 -0700)]
[name] Implement hb_ot_name_get_names()

6 years ago[name] Finish accelerator sorting
Behdad Esfahbod [Tue, 16 Oct 2018 05:42:04 +0000 (22:42 -0700)]
[name] Finish accelerator sorting

6 years ago[name] Start implementing public API infrastructure
Behdad Esfahbod [Tue, 16 Oct 2018 05:22:50 +0000 (22:22 -0700)]
[name] Start implementing public API infrastructure

6 years ago[name] Add public API declarations
Behdad Esfahbod [Tue, 16 Oct 2018 04:34:10 +0000 (21:34 -0700)]
[name] Add public API declarations

6 years ago[indic/khmer/myanmar/use] Clarify clear_syllable
Behdad Esfahbod [Fri, 26 Oct 2018 22:40:12 +0000 (15:40 -0700)]
[indic/khmer/myanmar/use] Clarify clear_syllable

No logic change.

6 years ago[fuzz] Add a new testcase
Ebrahim Byagowi [Fri, 26 Oct 2018 08:44:30 +0000 (12:14 +0330)]
[fuzz] Add a new testcase

6 years ago[svg] Rename _svg_create_blob to _glyph_reference_blob_svg
Ebrahim Byagowi [Fri, 26 Oct 2018 06:04:34 +0000 (09:34 +0330)]
[svg] Rename _svg_create_blob to _glyph_reference_blob_svg

6 years ago[svg] Collapse SVGDocumentIndex into SVG
Ebrahim Byagowi [Thu, 25 Oct 2018 19:09:58 +0000 (22:39 +0330)]
[svg] Collapse SVGDocumentIndex into SVG

6 years ago[svg] Hide start_glyph and end_glyph from API
Ebrahim Byagowi [Thu, 25 Oct 2018 18:22:35 +0000 (21:52 +0330)]
[svg] Hide start_glyph and end_glyph from API

6 years ago[svg] Add public API
Ebrahim Byagowi [Tue, 23 Oct 2018 14:30:48 +0000 (18:00 +0330)]
[svg] Add public API

* hb_ot_color_has_svg
* hb_ot_color_glyph_svg_create_blob

6 years ago[layout] Try to speed up collect_lookups some more
Behdad Esfahbod [Fri, 26 Oct 2018 05:25:29 +0000 (22:25 -0700)]
[layout] Try to speed up collect_lookups some more

Barely made a dent :(.

6 years ago[layout] Memoize collect_features
Behdad Esfahbod [Fri, 26 Oct 2018 04:42:19 +0000 (21:42 -0700)]
[layout] Memoize collect_features

Fixes https://github.com/harfbuzz/harfbuzz/pull/1317
Fixes https://oss-fuzz.com/v2/testcase-detail/6543700493598720

6 years ago[layout] Remove unintentionally added code
Behdad Esfahbod [Fri, 26 Oct 2018 04:33:12 +0000 (21:33 -0700)]
[layout] Remove unintentionally added code

6 years ago[layout] Add hb_collect_features_context_t
Behdad Esfahbod [Fri, 26 Oct 2018 04:26:08 +0000 (21:26 -0700)]
[layout] Add hb_collect_features_context_t

Towards https://github.com/harfbuzz/harfbuzz/pull/1317

6 years ago[lookup] Fold another function inline
Behdad Esfahbod [Fri, 26 Oct 2018 04:17:30 +0000 (21:17 -0700)]
[lookup] Fold another function inline

6 years ago[layout] More prep work to memoize collect_features() work
Behdad Esfahbod [Fri, 26 Oct 2018 03:58:34 +0000 (20:58 -0700)]
[layout] More prep work to memoize collect_features() work

6 years ago[lookup] More prep work for memoizing collect_features
Behdad Esfahbod [Fri, 26 Oct 2018 03:48:20 +0000 (20:48 -0700)]
[lookup] More prep work for memoizing collect_features

https://github.com/harfbuzz/harfbuzz/pull/1317

6 years ago[layout] Minor
Behdad Esfahbod [Fri, 26 Oct 2018 03:34:29 +0000 (20:34 -0700)]
[layout] Minor

We were returning the accelerator's lookup count.  Returns table's.
They are the same except for OOM cases.  Just shorter code.

6 years ago[layout] Fold one function inline
Behdad Esfahbod [Fri, 26 Oct 2018 03:32:05 +0000 (20:32 -0700)]
[layout] Fold one function inline

Preparation for fixing https://github.com/harfbuzz/harfbuzz/pull/1317