[HarfBuzz] harfbuzz: Branch 'master' - 4 commits
Behdad Esfahbod
behdad at kemper.freedesktop.org
Wed Nov 14 14:57:15 UTC 2018
src/hb-ot-color.cc | 2 +-
src/hb-ot-hmtx-table.hh | 6 +++---
test/shaping/data/in-house/fonts/dcf774ca21062e7439f98658b18974ea8b956d0c.ttf |binary
test/shaping/data/in-house/tests/use.tests | 1 +
4 files changed, 5 insertions(+), 4 deletions(-)
New commits:
commit 48d16c2ab2b181c733accd4fd9730963e59b6323
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Wed Nov 14 09:56:30 2018 -0500
[hmtx] Fix signedness issue
Fixes https://github.com/harfbuzz/harfbuzz/issues/1248#issuecomment-438689499
diff --git a/src/hb-ot-hmtx-table.hh b/src/hb-ot-hmtx-table.hh
index 20948edb..80994c15 100644
--- a/src/hb-ot-hmtx-table.hh
+++ b/src/hb-ot-hmtx-table.hh
@@ -289,9 +289,9 @@ struct hmtxvmtx
public:
bool has_font_extents;
- unsigned short ascender;
- unsigned short descender;
- unsigned short line_gap;
+ int ascender;
+ int descender;
+ int line_gap;
protected:
unsigned int num_metrics;
commit 29db2a44a6b7a28ade5e288779dbf5a200b43acd
Author: Ebrahim Byagowi <ebrahim at gnu.org>
Date: Wed Nov 14 12:13:16 2018 +0330
[ot-color/svg] Note that it can be gzipped
diff --git a/src/hb-ot-color.cc b/src/hb-ot-color.cc
index cac289b2..791135b1 100644
--- a/src/hb-ot-color.cc
+++ b/src/hb-ot-color.cc
@@ -238,7 +238,7 @@ hb_ot_color_has_svg (hb_face_t *face)
* @face: a font face.
* @glyph: a svg glyph index.
*
- * Get SVG document for a glyph.
+ * Get SVG document for a glyph. The blob may be either plain text or gzip-encoded.
*
* Returns: (transfer full): respective svg blob of the glyph, if available.
*
commit a9c27d576ffe4452d1a3dae73964a8f4d6dcc088
Merge: 3c3eb5ea e543e1a0
Author: Ebrahim Byagowi <ebrahim at gnu.org>
Date: Wed Nov 14 08:29:17 2018 +0330
Merge pull request #1383 from punchcutter/master
Add test for https://github.com/harfbuzz/harfbuzz/issues/1379
commit e543e1a0858bb5d7384d82600a789d40b62d9821
Author: punchcutter <zarijoscha at gmail.com>
Date: Tue Nov 13 20:44:27 2018 -0800
Add Grantha test
diff --git a/test/shaping/data/in-house/fonts/dcf774ca21062e7439f98658b18974ea8b956d0c.ttf b/test/shaping/data/in-house/fonts/dcf774ca21062e7439f98658b18974ea8b956d0c.ttf
new file mode 100644
index 00000000..4d3e11d5
Binary files /dev/null and b/test/shaping/data/in-house/fonts/dcf774ca21062e7439f98658b18974ea8b956d0c.ttf differ
diff --git a/test/shaping/data/in-house/tests/use.tests b/test/shaping/data/in-house/tests/use.tests
index 4b46620b..18d1991e 100644
--- a/test/shaping/data/in-house/tests/use.tests
+++ b/test/shaping/data/in-house/tests/use.tests
@@ -8,3 +8,4 @@
../fonts/2a670df15b73a5dc75a5cc491bde5ac93c5077dc.ttf::U+11124,U+11134,U+11131:[u11124=0+514|u11134=0+0|u11131=0+0]
../fonts/2a670df15b73a5dc75a5cc491bde5ac93c5077dc.ttf::U+11124,U+11131,U+11134:[u11124=0+514|u11131=0+0|uni25CC=0+547|u11134=0+0]
../fonts/573d3a3177c9a8646e94c8a0d7b224334340946a.ttf:--font-funcs=ft:U+11410,U+11442,U+11411,U+11440,U+11443,U+11410,U+11442,U+11411,U+11441,U+11443:[E_dv.alt=0+275|Ga.icd=0+367|Gha.diag=0 at 100,0+386|AA_dv.alt=0+208|Candrabindu=0 at 17,-8+0|E_dv.alt=5+275|Ga.icd=5+367|Gha.diag=5 at 100,0+386|AU_dv_part.alt=5+213|Candrabindu.sm=5 at -52,179+0]
+../fonts/dcf774ca21062e7439f98658b18974ea8b956d0c.ttf::U+11328,U+1134D,U+1CF4:[gid1=0+793|gid2=0+0|gid3=0+0]
More information about the HarfBuzz
mailing list