Commit Graph

11147 Commits

Author SHA1 Message Date
David Corbett a99e8721bf [use] Fix tests with MSVC 2020-09-29 09:54:33 -04:00
Koji Ishii 7e6070a47f Set *coord to nullptr 2020-09-28 08:36:41 -06:00
Koji Ishii 4e0bddb7fe get_baseline 2020-09-28 08:36:41 -06:00
Behdad Esfahbod 48fcb9094a [docs] Remove misleading wording re OpenType
HarfBuzz has not *just* been implementing OpenType for a while.
At least since 2.0, where we added native AAT support in Oct 2018.
2020-09-27 16:53:32 -06:00
Khaled Hosny 5539d158b7
Merge pull request #1679 from n8willis/docs-gtkdoc-extern
[Docs] Add GTK-Doc comments for external APIs
2020-09-26 10:41:38 +02:00
Khaled Hosny 1a15bf1c53
Merge pull request #2695 from khaledhosny/docs-fix
Minor build docs improvement
2020-09-26 10:41:04 +02:00
Khaled Hosny cc7b3a1abd [Docs] Address review comments 2020-09-26 10:22:39 +02:00
n8willis 41b46a3cb2 Update hb-face.cc 2020-09-26 09:47:27 +02:00
n8willis 726e320ece Update inline doc for hb_face_create: explain index 2020-09-26 09:47:27 +02:00
Nathan Willis 70331ca485 [Docs] Minor
update GTK-Doc comments in hb-ot-layout.
2020-09-26 09:47:13 +02:00
Nathan Willis eb10ef46aa [Docs] Add GTK-Doc comments for hb-ot-font and hb-ot-shape. 2020-09-26 09:46:15 +02:00
Nathan Willis 3e72febde0 [Docs] Add GTK-Doc comments for hb-face. 2020-09-26 09:46:15 +02:00
Nathan Willis 88cdea60e0 [Docs] Add GTK-Doc comments to hb-shape-plan. 2020-09-26 09:46:10 +02:00
Nathan Willis 5b43eb5a4c [Docs] Add GTK-Dod comments to hb-unicode. 2020-09-26 09:42:22 +02:00
Khaled Hosny fb0195ba83 [docs] Fix syntax and expand Windows section a tiny bit 2020-09-26 09:33:41 +02:00
Khaled Hosny db2381c92d [docs] Fix indentation of commands
DocBook outputs the extra spacing before the commands verbatim.
2020-09-26 09:30:25 +02:00
Khaled Hosny 8c5d1332f1
Merge pull request #1664 from n8willis/docs-gtkdoc-otvar
[Docs] Add gtk-doc comments for hb-ot-var
2020-09-24 13:09:38 +02:00
Khaled Hosny df00f45e26 Fix annotation in previous commits 2020-09-24 11:57:46 +02:00
Nathan Willis 5a695a79a0 Swap # for () in gtk-doc function mention. 2020-09-24 11:57:46 +02:00
n8willis 379be7b7c8 Update src/hb-ot-var.cc
Co-Authored-By: Khaled Hosny <khaledhosny@eglug.org>
2020-09-24 11:57:46 +02:00
Nathan Willis 938add712a Add GTK-Doc comments for hb-ot-var. 2020-09-24 11:55:09 +02:00
Khaled Hosny 82fe13182d
Merge pull request #1661 from n8willis/docs-gtkdoc-aat
[Docs] Add gtk-doc comments for hb-aat-layout
2020-09-22 17:40:38 +02:00
Khaled Hosny 9a1be3fed5 Fix enum documentation syntax 2020-09-22 16:46:03 +02:00
n8willis 3c9244e662 Update src/hb-aat-layout.cc
Co-Authored-By: Khaled Hosny <khaledhosny@eglug.org>
2020-09-22 15:59:42 +02:00
Nathan Willis d619ba0681 Add gtk-doc documentation to AAT layout functions and enums. 2020-09-22 15:59:14 +02:00
Nathan Willis 514e6baaf0 [gtk-doc] document AAT functions and enums. 2020-09-22 15:59:11 +02:00
Behdad Esfahbod a1f4d285e1 [buffer] Fix invalid write access in hb_buffer_deserialize_glyphs()
If buffer is immutable, we were trying to set content_type on it.
Ouch!
2020-09-21 16:50:11 -06:00
Caleb Maclennan 18b8046c6a
Merge pull request #2678 from alerque/post-artifacts 2020-09-21 17:32:34 +03:00
ebraminio 1f8b1e7f18
[ENOMEM] Return gracefully if stages isn't initialized correctly (#2639)
This happens if calls to 'm.lookups[table_index].push ()' has been
silently failed due to lack of memory.

This change just returns gracefully instead issuing the assert.

Fixes https://crbug.com/oss-fuzz/24494
2020-09-21 11:39:38 +03:30
Khaled Hosny a0ebea5280
Merge pull request #2665 from khaledhosny/doc-default-features
[docs] Improve documentation for default features
2020-09-18 17:04:38 +02:00
Khaled Hosny f9f473a4c4 [docs] Improve documentation for default features
Fixes https://github.com/harfbuzz/harfbuzz/issues/2213
2020-09-17 01:55:30 +02:00
Behdad Esfahbod e40c0d82e2 [ENOMEM] Handle immutable buffer in shape_full()
Move the content_type changing to shape_plan_execute() where it belongs.
Skip setting if content type is UNKNOWN, which happens with empty buffers
only, including the immutable buffer.

Alternate fix to https://github.com/harfbuzz/harfbuzz/pull/2606
and https://github.com/harfbuzz/harfbuzz/pull/2625
2020-09-16 12:48:30 -06:00
Garret Rieger bbbcad0dbb Revert "[ENOMEM] don't perform set process operations if the other set is in an error state."
This reverts commit f3929abafe.
2020-09-16 12:23:38 -06:00
Garret Rieger f3929abafe [ENOMEM] don't perform set process operations if the other set is in an error state.
Running a process while the other set is in an error state can potentially corrupt this sets map map (for example by overwritting all of the major values with 0).
2020-09-16 10:36:30 -07:00
Simon Cozens 584d3a43b2
Merge pull request #2681 from khaledhosny/myanmar-liga
[myanmar] Don’t disable liga feature
2020-09-16 15:08:50 +01:00
Khaled Hosny 7d64b09765 [myanmar] Don’t disable liga feature
This seems to have been carried over from the Indic shaper, but
Uniscribe enables it by default.

See https://github.com/harfbuzz/harfbuzz/issues/2213#issuecomment-686062915
2020-09-12 21:45:19 +02:00
Garret Rieger 8c3d4de796 [subset] Fix integer underflow in ContextFormat2. 2020-09-11 15:52:46 -07:00
Caleb Maclennan e43b9a29a9
[ci] Trigger dependencies of publish jobs on tags 2020-09-11 22:21:59 +03:00
Caleb Maclennan deb09e0d75
[ci] Tweak job names so config is valid Circle 2.1 schema 2020-09-11 20:12:35 +03:00
Caleb Maclennan f4dea33f6d
[ci] Move repeated artifact upload job code to script 2020-09-11 20:12:24 +03:00
Caleb Maclennan 65be538fff
[ci] Add job to publish autotools dist file to GitHub 2020-09-11 20:12:14 +03:00
Caleb Maclennan 42bcc47d01
[ci] Use executor with Circle's image for autotools job 2020-09-11 20:11:52 +03:00
Caleb Maclennan c70f509022
[ci] Use `ghr` CLI tool to post Win32 artifact to GitHub 2020-09-11 20:11:38 +03:00
Caleb Maclennan 610ed3b42c
[ci] Add job to publish Win32 releases and pass it artifacts 2020-09-11 20:11:22 +03:00
Caleb Maclennan a2d45cd5f7
[ci] Use Circle's customized image for workspace support 2020-09-11 20:10:43 +03:00
David Corbett ac3f859a30 Demote unregistered vendor-specific language tags 2020-09-09 17:50:59 -04:00
Khaled Hosny ee12c078ed
Merge pull request #2668 from rossburton/meson
meson: add hb-version.h to dependencies correctly
2020-09-08 15:37:30 +02:00
Khaled Hosny 695d85ca32
Merge pull request #2674 from rossburton/reprod
src/hb-gobject-enums.cc.tmpl: write out only the filename, not the full path
2020-09-08 15:37:00 +02:00
David Corbett 91fe20f0f5 Disambiguate OT tags when primary tag is not first 2020-09-08 09:20:00 -04:00
Alexander Kanavin e876886d1e src/hb-gobject-enums.cc.tmpl: write out only the filename, not the full path
This is beneficial for reproducible builds, as build paths can vary
between builds.
2020-09-08 11:00:32 +01:00