State of Text Rendering 2024

2024-07-08 Thread Behdad Esfahbod
Hi, I'd like to share with you the "State of Text Rendering 2024": https://behdad.org/text2024/ Feedback and comments are most welcome. Thanks, behdad http://behdad.org/

Re: [HarfBuzz] Getting character bitmap

2023-01-15 Thread Behdad Esfahbod
Hi Sagar, I suggest you follow an example piece of code, like: https://github.com/lxnt/ex-sdl-freetype-harfbuzz behdad http://behdad.org/ On Sun, Jan 15, 2023 at 11:47 AM Sagar Acharya wrote: > Thanks a lot for the quick help. > > I decided to go ahead with Freetype for C. > > Since I'm n

Re: [HarfBuzz] Getting character bitmap

2023-01-13 Thread Behdad Esfahbod
Hi Sagar, HarfBuzz does not have a rasterizer so you can't get that from HarfBuzz. You have two options: 1. Use FreeType library, 2. If you have a graphics library with a rasterizer capable of handling the moveTo/lineTo/curveTo model, you can use the hb-draw API to draw to it. Hope that hel

Re: [HarfBuzz] kaithi & arabic : glyphs that span number

2022-12-02 Thread Behdad Esfahbod
NotoSansArabic has no special rules to make the U+0600 character work properly. behdad http://behdad.org/ On Fri, Dec 2, 2022 at 1:10 PM Behdad Esfahbod wrote: > Hi Madhu, > > I checked the Kaithi font. It has no rules for U+110BC character. But if > you use U+110BD you get the de

Re: [HarfBuzz] kaithi & arabic : glyphs that span number

2022-12-02 Thread Behdad Esfahbod
Hi Madhu, I checked the Kaithi font. It has no rules for U+110BC character. But if you use U+110BD you get the desired result. I have not checked the Arabic font. behdad http://behdad.org/ On Wed, Nov 30, 2022 at 2:15 AM Madhu wrote: > In April 2002, Sameer Singh posted a message on emacs-de

Re: [HarfBuzz] GCC 12 warning of use after free in hbfont.cc

2022-05-16 Thread Behdad Esfahbod
Hi phil, The analysis is correct. The only part you / gcc are missing is that hb_font_funcs_set_glyph_func() starts with: if (hb_object_is_immutable (ffuncs)) { if (destroy) destroy (user_data); return; } So we know ffuncs is not immutable. At any rate, I moved the code arou

Re: [HarfBuzz] Bounding box info

2021-12-17 Thread Behdad Esfahbod
On Fri, Dec 17, 2021 at 12:49 PM Johan Vromans wrote: > Hi, > > After shaping the buffer contains the output glyphs and their positions. > > Maybe I'm overlooking something trivial, but does HarfBuzz provide a means > to get the bounding box for the buffer? > Not directly. But the bounding box o

Re: [HarfBuzz] Subset

2021-06-28 Thread Behdad Esfahbod
Hi, On Sat, Jun 26, 2021 at 1:56 PM Patrick wrote: > Hello all, > > I am a user of the great harfbuzz library and try to explore it a bit > more. After downloading the current version of the repository and > building the library on macOS, I have the following questions. I am > not a systems prog

Re: [HarfBuzz] Is it possible to use HarfBuzz instead of GLib for Unicode functions?

2020-11-06 Thread Behdad Esfahbod
Hi Mehdi, On Sun, Oct 25, 2020 at 7:24 AM Mehdi Sadeghi wrote: > Dear all, > > I am currently using the following GLib functions in order to recognize > certain charachteristics of the input text, such as script type (Arabic > or Latin) and category: > > - g_unichar_get_script > We have this on

Re: [HarfBuzz] hb_script_from_iso15924_tag

2020-10-16 Thread Behdad Esfahbod
On Thu, Oct 15, 2020 at 9:44 PM Werner LEMBERG wrote: > > >> Shouldn't hb_script_from_iso15924_tag map "Hans" and "Hant" to > >> HB_SCRIPT_HAN? > > > > hb_script_from_iso15924_tag() doesn't do any mapping whatsoever. > > > > Why is that desirable? > > > > [I find it really weird using mailing lis

Re: [HarfBuzz] hb_script_from_iso15924_tag

2020-10-16 Thread Behdad Esfahbod
On Fri, Oct 16, 2020 at 7:23 AM Eric Muller wrote: > On 10/15/20 6:02 PM, Behdad Esfahbod wrote: > > On Thu, Oct 15, 2020 at 6:01 PM Eric Muller wrote: > >> Shouldn't hb_script_from_iso15924_tag map "Hans" and "Hant" to >> HB_SCRIPT_HAN? &g

Re: [HarfBuzz] hb_script_from_iso15924_tag

2020-10-15 Thread Behdad Esfahbod
On Thu, Oct 15, 2020 at 6:01 PM Eric Muller wrote: > Shouldn't hb_script_from_iso15924_tag map "Hans" and "Hant" to > HB_SCRIPT_HAN? > hb_script_from_iso15924_tag() doesn't do any mapping whatsoever. Why is that desirable? [I find it really weird using mailing lists, as opposed to github issue

[HarfBuzz] HarfBuzz OT+AAT "Unishaper" slides

2020-08-22 Thread Behdad Esfahbod
Hi, I did some sketching of our main shaper using Prezi: https://prezi.com/view/THNPJGFVDUCWoM20syev/ Cheers, behdad http://behdad.org/ ___ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/harfbuzz

Re: [HarfBuzz] Reading a GSUB subtable

2020-06-16 Thread Behdad Esfahbod
Hi Owen, I had to look up SMuFL. I see it's been around since 2013. I never heard about it and don't think anyone I know has either. I browsed the specification and found it bizarre when it comes to its relationship with OpenType. But that's out of scope of your project. Given that SMuFL hard

[HarfBuzz] The show must go on...

2020-01-07 Thread Behdad Esfahbod
Heya, I took over maintenance of Pango 15 years ago. Code in there that I wanted to replace turned into HarfBuzz, and the rest is history. Lately, as you might have noticed, I've been slow to respond to my maintainer duties. At the same time, Ebrahim rose to fill in for me. He has proven to be

Re: [HarfBuzz] Exposing attachment tree / Arabic joining to shaping clients

2019-11-12 Thread Behdad Esfahbod
r Arabic joining info and guess exposing priority can be done > in the some way but we can just forget about it for now. > > Thanks! > > On Thu, Oct 31, 2019 at 11:12 PM Behdad Esfahbod > wrote: > >> Hi, >> >> For reason that many of you know (letter-spacing,

Re: [HarfBuzz] Exposing attachment tree / Arabic joining to shaping clients

2019-11-12 Thread Behdad Esfahbod
On Tue, Nov 12, 2019 at 7:31 PM Martin Hosken wrote: > Dear Behdad, > > > For reason that many of you know (letter-spacing, Arabic elongation, > other > > postprocessing) I like to expose attachment data to the shaping clients. > > There's two separate pieces so far: > > > > - The Arabic joining

[HarfBuzz] Exposing attachment tree / Arabic joining to shaping clients

2019-10-31 Thread Behdad Esfahbod
Hi, For reason that many of you know (letter-spacing, Arabic elongation, other postprocessing) I like to expose attachment data to the shaping clients. There's two separate pieces so far: - The Arabic joining info, which is applicable to all Arabic-like fonts even the ones that do NOT use cursive

Re: [HarfBuzz] Closing down the list, 2019 edition

2019-08-21 Thread Behdad Esfahbod
On Tue, Aug 20, 2019 at 9:21 PM Werner LEMBERG wrote: > > >> I know I asked this before but... is there still value in keeping > >> the list around? I find myself preferring github issues over > >> mailing list threads all the time. > > I prefer e-mail lists. Assuming that I'm interested in gen

Re: [HarfBuzz] Closing down the list, 2019 edition

2019-08-21 Thread Behdad Esfahbod
n't bite. :) The reason I prefer issues is that they can seamlessly be turned into a tasklist for future, without being lost and without me or others having to keep in their inbox to remember... > Bob > > On 8/19/2019 11:58 AM, Behdad Esfahbod wrote: > > Hi all, > > I kn

[HarfBuzz] Closing down the list, 2019 edition

2019-08-19 Thread Behdad Esfahbod
Hi all, I know I asked this before but... is there still value in keeping the list around? I find myself preferring github issues over mailing list threads all the time. I know our homepage / documentation / etc are lacking in a lot of ways and maybe we just need to promote using github issues f

Re: [HarfBuzz] Display issue with DejaVu Sans Mono font

2019-08-19 Thread Behdad Esfahbod
If the font has a GPOS table, we won't do any fallback positioning. As a result, if font has missing data (anchors in this case), you get exposed to that. On Sun, Aug 18, 2019 at 4:06 PM Khaled Hosny wrote: > > > > On Aug 18, 2019, at 4:40 AM, Eli Zaretskii wrote: > > > >> From: Khaled Hosny

Re: [HarfBuzz] Use of bool and stdbool.h

2019-08-09 Thread Behdad Esfahbod
On Fri, Aug 9, 2019 at 10:33 AM Ebrahim Byagowi wrote: > Was looking inside libraqm code and saw the use of stdbool.h there, made > we wonder why HarfBuzz went for hb_bool_t and whether we can go for it also > or not. > Because back in 2006 even stdint.h was not portable-enough. You still see t

Re: [HarfBuzz] Failure in hb_font_get_nominal_glyph

2019-07-25 Thread Behdad Esfahbod
Looks good to me. On Thu, Jul 25, 2019, 11:57 AM Eli Zaretskii wrote: > > From: Behdad Esfahbod > > Date: Wed, 24 Jul 2019 15:21:15 -0400 > > Cc: Eli Zaretskii , > > "harfbuzz@lists.freedesktop.org" > > > > Ah, right. Yes. Before

Re: [HarfBuzz] Failure in hb_font_get_nominal_glyph

2019-07-24 Thread Behdad Esfahbod
Ah, right. Yes. Before 2.0.0 you'd have to call hb_ot_font_set_funcs() explicitly... Thanks Khaled! On Wed, Jul 24, 2019 at 3:20 PM Khaled Hosny wrote: > > > > On Jul 24, 2019, at 9:13 PM, Eli Zaretskii wrote: > > > >> From: Behdad Esfahbod > >&

Re: [HarfBuzz] Failure in hb_font_get_nominal_glyph

2019-07-24 Thread Behdad Esfahbod
On Wed, Jul 24, 2019 at 3:13 PM Eli Zaretskii wrote: > > From: Behdad Esfahbod > > Date: Wed, 24 Jul 2019 15:11:03 -0400 > > Cc: "harfbuzz@lists.freedesktop.org" > > > > Nothing stands out to me. > > Thanks for taking a look. > > Coul

Re: [HarfBuzz] Failure in hb_font_get_nominal_glyph

2019-07-24 Thread Behdad Esfahbod
Nothing stands out to me. On Tue, Jul 23, 2019 at 11:11 AM Eli Zaretskii wrote: > Could someone please take a look at the problems described here: > > https://lists.gnu.org/archive/html/emacs-devel/2019-07/msg00540.html > https://lists.gnu.org/archive/html/emacs-devel/2019-07/msg00557.html >

[HarfBuzz] HB config

2019-06-18 Thread Behdad Esfahbod
Hi Jonathan, Dominik, others, You might have noticed I spent last couple of months trimming down HarfBuzz binary size. I put some notes together in the repo: https://github.com/harfbuzz/harfbuzz/blob/master/CONFIG.md I like to hear any feedback, as well as any other tricks that need to be doc

Re: [HarfBuzz] Order of combining diacriticals

2019-06-14 Thread Behdad Esfahbod
On Thu, Jun 13, 2019 at 2:18 AM Eli Zaretskii wrote: > . For fonts that have no 'hebr' features, Emacs performs > substitution of known precomposed characters before it invokes the > shaping engine. In this case, it substituted U+FB31 for the > sequence U+05D1,U+05BC, and passed th

Re: [HarfBuzz] Emacs now uses HarfBuzz

2019-06-07 Thread Behdad Esfahbod
This is great. Thanks Eli and Khaled for making it happen. On Fri, Jun 7, 2019 at 12:23 PM Eli Zaretskii wrote: > This is to let you know that the master branch of Emacs now uses > HarfBuzz as its shaping engine. > > I would like to thank everyone here for your help in making this > happen, whe

Re: [HarfBuzz] Selecting fonts for HarfBuzz

2019-06-05 Thread Behdad Esfahbod
On Wed, Jun 5, 2019 at 12:36 PM Eli Zaretskii wrote: > > From: Behdad Esfahbod > > Date: Wed, 5 Jun 2019 12:07:36 -0700 > > Cc: "harfbuzz@lists.freedesktop.org" > > > > In other words, I don't know of a legitimate way to filter out broken &

Re: [HarfBuzz] Selecting fonts for HarfBuzz

2019-06-05 Thread Behdad Esfahbod
On Tue, Jun 4, 2019 at 8:01 PM Eli Zaretskii wrote: > > From: Behdad Esfahbod > > Date: Tue, 4 Jun 2019 12:05:00 -0700 > > Cc: "harfbuzz@lists.freedesktop.org" > > > > We assume fonts support shaping. Ie. we don't have a way to check for

Re: [HarfBuzz] Patches for building HarfBuzz with mingw.org's MinGW

2019-06-04 Thread Behdad Esfahbod
Hi Eli, I can't say I'm super-excited about adding more workarounds, specially since I don't even understand why you can't use mingw64 instead. At any rate, I'm not one to judge. Please open a github Pull Request with your changes and we'll go from there. Thanks On Sun, Jun 2, 2019 at 9:35 AM

Re: [HarfBuzz] Selecting fonts for HarfBuzz

2019-06-04 Thread Behdad Esfahbod
We assume fonts support shaping. Ie. we don't have a way to check for font suitability for correct shaping. On Sun, Jun 2, 2019 at 11:43 AM Eli Zaretskii wrote: > When searching the system for suitable fonts, are there any > considerations or features the client should prefer, or prefer not to

Re: [HarfBuzz] Help: Regarding HarfBuzz Library Support

2019-05-30 Thread Behdad Esfahbod
Hi, It looks like an old & buggy C++ compiler to me. I'm afraid we are not able to help beyond that. Also, you *really* should be using newer HarfBuzz than 0.9.36... Try 2.4.0 or 2.5.0. On Thu, May 30, 2019 at 12:05 AM naga raju wrote: > Hi, > > I want to use HarfBuzz Library version. 0.9.36

Re: [HarfBuzz] Getting compliation error while building harfbuzz library 2.5.0

2019-05-30 Thread Behdad Esfahbod
Hi, That's a known issue we are having with MSVC versions other than 2015. You can follow progress or find a workaround at: https://github.com/harfbuzz/harfbuzz/issues/1730 On Thu, May 30, 2019 at 9:27 AM Bikramjit Singh wrote: > Hi, > > > > We are building and using harfbuzz library 2.1.0

Re: [HarfBuzz] Units of members of hb_glyph_position_t

2019-05-28 Thread Behdad Esfahbod
On Tue, May 28, 2019 at 3:02 PM Eli Zaretskii wrote: > > From: Behdad Esfahbod > > Date: Tue, 28 May 2019 14:46:45 -0400 > > Cc: "harfbuzz@lists.freedesktop.org" > > > > You pick what value you want to represent one pixel as. Say, you choose > 102

Re: [HarfBuzz] Units of members of hb_glyph_position_t

2019-05-28 Thread Behdad Esfahbod
On Tue, May 28, 2019 at 11:44 AM Eli Zaretskii wrote: > > From: Behdad Esfahbod > > Date: Mon, 27 May 2019 21:21:10 -0400 > > Cc: "harfbuzz@lists.freedesktop.org" > > > > control those units (if they are under the client program's contr

Re: [HarfBuzz] Units of members of hb_glyph_position_t

2019-05-27 Thread Behdad Esfahbod
On Mon, May 27, 2019 at 2:21 PM Eli Zaretskii wrote: > I cannot figure out in what units are these values reported, or how to > The meaning is left to the client. > control those units (if they are under the client program's control). > They are controlled mainly using hb_font_set_scale().

Re: [HarfBuzz] How to get a glyph code for a character?

2019-05-25 Thread Behdad Esfahbod
On Sat, May 25, 2019 at 10:26 AM Eli Zaretskii wrote: > One of the methods an Emacs font-backend should provide is the > encode_char method, which returns the glyph code of the selected font > for a character given by its Unicode codepoint. For example, the XFT > backend uses the XftCharIndex fu

Re: [HarfBuzz] How to get hb_face_t and hb_font_t without Freetype?

2019-05-24 Thread Behdad Esfahbod
On Fri, May 24, 2019 at 2:23 PM Eli Zaretskii wrote: > > But the question about hb_face_t management is still not entirely > clear. I don't really need hb_face_t, I only create it as an > intermediate step towards hb_font_t. So my question is: once I have > hb_font_t, can I destroy the hb_face_

Re: [HarfBuzz] How to get hb_face_t and hb_font_t without Freetype?

2019-05-24 Thread Behdad Esfahbod
On Fri, May 24, 2019 at 1:58 PM Konstantin Ritt wrote: > пт, 24 мая 2019 г. в 20:49, Behdad Esfahbod : > >> Thanks Konstantin, >> >> What about DirectWrite-driven font funcs though? Does Qt have those? >> > > Yep we do, both GDI and DW. > I think we sho

Re: [HarfBuzz] How to get hb_face_t and hb_font_t without Freetype?

2019-05-24 Thread Behdad Esfahbod
P > > As for font-funcs, I doubt GDI is a subject of interest these days. I > might be wrong here, though. > > Regards, > Konstantin > > > пт, 24 мая 2019 г. в 19:18, Behdad Esfahbod : > >> Thanks Konstantin! >> >> Should this become a hb-uniscr

Re: [HarfBuzz] How to get hb_face_t and hb_font_t without Freetype?

2019-05-24 Thread Behdad Esfahbod
Thanks Konstantin! Should this become a hb-uniscribe (or hb-gdi?) API? On Fri, May 24, 2019 at 12:17 PM Konstantin Ritt wrote: > hb_blob_t *my_reference_table(hb_face_t * /*face*/, hb_tag_t tag, void > *user_data) > > { > > HDC hdc = (HDC)user_data; > > SelectObject(hdc, hfont); > > >

Re: [HarfBuzz] How to get hb_face_t and hb_font_t without Freetype?

2019-05-24 Thread Behdad Esfahbod
Also font-funcs if you can contribute those. On Fri, May 24, 2019 at 12:17 PM Behdad Esfahbod wrote: > Thanks Konstantin! > > Should this become a hb-uniscribe (or hb-gdi?) API? > > On Fri, May 24, 2019 at 12:17 PM Konstantin Ritt > wrote: > >> hb_blob_t *my_referen

Re: [HarfBuzz] Support for Kern table

2019-05-23 Thread Behdad Esfahbod
On Wed, May 22, 2019 at 8:47 PM Rajeev Pahuja wrote: > Hi, > > > > I am using Harfbuzz 2.3.1, does ‘Kern’ table support (not the GPOS kern > feature) is available in this version ? > > I was using “Tahoma” font and found that kerning info is not available. > Describe what you mean by "is not ava

Re: [HarfBuzz] How to get hb_face_t and hb_font_t without Freetype?

2019-05-11 Thread Behdad Esfahbod
On Sat, May 11, 2019 at 12:16 PM Eli Zaretskii wrote: > > From: Behdad Esfahbod > > Date: Sat, 11 May 2019 11:51:16 -0700 > > Cc: Jonathan Kew , > > "harfbuzz@lists.freedesktop.org" > > > > Not sure yet. What is a "font" for this

Re: [HarfBuzz] How to get hb_face_t and hb_font_t without Freetype?

2019-05-11 Thread Behdad Esfahbod
On Sat, May 11, 2019 at 11:50 AM Eli Zaretskii wrote: > > From: Behdad Esfahbod > > Date: Sat, 11 May 2019 11:38:58 -0700 > > Cc: Jonathan Kew , > > "harfbuzz@lists.freedesktop.org" > > > > The blob simply hold the font file bytes. There&#x

Re: [HarfBuzz] How to get hb_face_t and hb_font_t without Freetype?

2019-05-11 Thread Behdad Esfahbod
On Sat, May 11, 2019 at 11:36 AM Eli Zaretskii wrote: > > From: Behdad Esfahbod > > Date: Sat, 11 May 2019 11:26:29 -0700 > > Cc: Jonathan Kew , > > "harfbuzz@lists.freedesktop.org" > > > > Or just use hb_face_create() and hb_font_create().

Re: [HarfBuzz] How to get hb_face_t and hb_font_t without Freetype?

2019-05-11 Thread Behdad Esfahbod
On Sat, May 11, 2019 at 4:13 AM Eli Zaretskii wrote: > > From: Jonathan Kew > > Date: Sat, 11 May 2019 11:08:42 +0100 > > > > You can use hb_face_create_for_tables, passing it a function that can > > retrieve font tables (as hb_blobs) when requested by harfbuzz. > > > > This is what Firefox does

Re: [HarfBuzz] Question on converting UTF-8 codepoints to complex glyphs

2019-04-11 Thread Behdad Esfahbod
Oh oh! Can you point us to the tutorial page? Nate, can you fix this please? On Thu, Apr 11, 2019 at 5:24 PM Paul Daughetee wrote: > Thanks Richard for the pointer. I wish I had seen Jonathan's post. > However, it never appeared in the digest I received from the list (nor to > me directly) so

Re: [HarfBuzz] Question on converting UTF-8 codepoints to complex glyphs

2019-04-11 Thread Behdad Esfahbod
h a vowel such as “u” or > “I”. After processing a UTF-8 string containing the consonant and the vowel > “tta” and “u” [0xE0, 0xAE, 0x9F, 0xE0, 0xAE, 0x89], the hb_glyph_info_t > object I get back has tow glyph indices, the same indices as the “tta” and > “u” (17, 10) rather than the in

Re: [HarfBuzz] Question on converting UTF-8 codepoints to complex glyphs

2019-04-08 Thread Behdad Esfahbod
On Mon, Apr 8, 2019 at 4:12 PM Paul Daughetee wrote: > I’m new to HarfBuzz and attempting to use it for converting a UTF-8 string > that contains one or more sets of codepoints that should combine to form > single complex glyphs to the correct string of glyphs. I’ve followed > numerous examples a

[HarfBuzz] 2.4.0 tarball reuploaded

2019-03-29 Thread Behdad Esfahbod
The tarball I had uploaded had wrong hb-version.h. Instead of a followup release, I just uploaded a replacement tarball... -- behdad http://behdad.org/ ___ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org https://lists.freedesktop.org/mailman/listi

Re: [HarfBuzz] HarfBuzz now requires C++11

2019-03-29 Thread Behdad Esfahbod
On Fri, Mar 29, 2019 at 3:49 PM Philip Race wrote: > Hi, > > On 3/29/19, 3:06 PM, Behdad Esfahbod wrote: > > Hi, > > I just merged the 'iter' branch [0]. This is a branch I've been working > on for three / four months, and has gathered over 200 commits

[HarfBuzz] HarfBuzz now requires C++11

2019-03-29 Thread Behdad Esfahbod
Hi, I just merged the 'iter' branch [0]. This is a branch I've been working on for three / four months, and has gathered over 200 commits. It's finally time to merge it such that the work can continue in master. The work there is aimed at GSUB/GPOS subsetting. The constructs I needed proved to

[HarfBuzz] harfbuzz: Changes to 'refs/tags/2.4.0'

2019-03-29 Thread Behdad Esfahbod
Tag '2.4.0' created by Behdad Esfahbod at 2019-03-29 18:32 + 2.4.0 -BEGIN PGP SIGNATURE- iG8EABECADAWIQQid2UKTovf5Lf2vkGf7gTl01MRFQUCXJ5kuRIcYmVoZGFkQGJl aGRhZC5vcmcACgkQn+4E5dNTERUeugCgo32j9AMg0wvcs5kxbUYCqz8+A6YAlR8Z iL3JT7XnZhktIcmhkRXW4xA= =9kIW -END PGP

[HarfBuzz] harfbuzz: Branch 'master' - 3 commits

2019-03-29 Thread Behdad Esfahbod
t_face); +HB_EXTERN IDWriteFontFace * +hb_directwrite_face_get_font_face (hb_face_t *face); + HB_END_DECLS #endif /* HB_DIRECTWRITE_H */ commit 59f36f36820f6e6fb1d3b6da26d6b5ee7588c42f Author: Behdad Esfahbod Date: Fri Mar 29 10:55:12 2019 -0700 Replace REPLACEME's left out of 2.4.0

[HarfBuzz] harfbuzz: Changes to 'refs/tags/2.3.0'

2019-03-28 Thread Behdad Esfahbod
Tag '2.3.0' created by Behdad Esfahbod at 2018-12-21 02:49 + 2.3.0 -BEGIN PGP SIGNATURE- iHAEABECADAWIQQid2UKTovf5Lf2vkGf7gTl01MRFQUCXBxUoxIcYmVoZGFkQGJl aGRhZC5vcmcACgkQn+4E5dNTERUwuwCcCf6rDCHJ7FIRVzxNd7sm9/3zATEAn2KC 2uNNl6FInVG1sRQXAb9vN1nl =3zbS -END PGP

[HarfBuzz] harfbuzz: Changes to 'refs/tags/2.3.1'

2019-03-28 Thread Behdad Esfahbod
Tag '2.3.1' created by Behdad Esfahbod at 2019-01-30 21:54 + 2.3.1 -BEGIN PGP SIGNATURE- iHAEABECADAWIQQid2UKTovf5Lf2vkGf7gTl01MRFQUCXFIdEhIcYmVoZGFkQGJl aGRhZC5vcmcACgkQn+4E5dNTERWgZACgjKwC3n1T3U59VzM2x/sF7hihzTUAnRbN 3sNGcmhY3LsS4YuHgDdxXakD =hTZ5 -END PGP

Re: [HarfBuzz] Determine whether font contains a glyph for a sequence of code points

2019-02-15 Thread Behdad Esfahbod
Shape and check the result. On Fri, Feb 15, 2019, 9:24 AM Konstantin Pozin via HarfBuzz < harfbuzz@lists.freedesktop.org> wrote: > What is simplest (and ideally, most performant) way to check whether an > hb_font_t contains a glyph for a sequence of code points? For single code > points, there's

Re: [HarfBuzz] Building and testing HarfBuzz 2.3.0 on MinGW

2019-01-27 Thread Behdad Esfahbod
We should port the test suite runner to C, and test suite to gtest (Google Test) instead of glib. For hb-shape / hb-view, requirements stay the same, and they are hinted at in the configure report. On Sun, Jan 27, 2019 at 4:48 PM Eli Zaretskii wrote: > > From: Ebrahim Byagowi > > Date: Sun, 27

[HarfBuzz] C++11

2018-12-23 Thread Behdad Esfahbod
I'm proposing we switch now: https://github.com/harfbuzz/harfbuzz/issues/1509 Shout now, or never. :) -- behdad http://behdad.org/ ___ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/harfbuzz

Re: [HarfBuzz] Cluster question (Was Cluster soap box time)

2018-12-15 Thread Behdad Esfahbod
On Thu, Dec 13, 2018 at 11:05 PM Ansel Sermersheim wrote: > On 11/29/18 7:29 AM, Behdad Esfahbod wrote: > > On Tue, Nov 27, 2018 at 8:34 PM Ansel Sermersheim > wrote: > >> On 11/19/2018 07:16 PM, Behdad Esfahbod wrote: >> >> Hi Ansel, >> >> On M

[HarfBuzz] harfbuzz: Branch 'master'

2018-12-07 Thread Behdad Esfahbod
src/hb-ot-cff1-table.hh |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) New commits: commit 4d809696ef4db046d11072e5433ea5ff36bd7b26 Author: Michiharu Ariza Date: Fri Dec 7 20:49:39 2018 -0800 fix for issue #1447 (#1462) Added case for OpCode_BaseFontName. This opc

[HarfBuzz] harfbuzz: Branch 'master' - 2 commits

2018-12-07 Thread Behdad Esfahbod
src/hb-aat-fdsc-table.hh|2 +- src/hb-cff-interp-common.hh |5 + src/hb-cff2-interp-cs.hh| 14 +- 3 files changed, 15 insertions(+), 6 deletions(-) New commits: commit 1abd4fcaec31053b442525d7f240af489c5974b1 Author: Ebrahim Byagowi Date: Fri Dec 7 22:34:12 20

[HarfBuzz] harfbuzz: Branch 'master' - 15 commits

2018-12-06 Thread Behdad Esfahbod
/clusterfuzz-testcase-minimized-hb-subset-fuzzer-5710107829075968 |binary 10 files changed, 37 insertions(+), 11 deletions(-) New commits: commit 20245fa0f04f2ba172b51ce69ee7ebb256aa Author: Behdad Esfahbod Date: Thu Dec 6 10:27:37 2018 -0800 Fix likely check Ouch! diff --git a

[HarfBuzz] harfbuzz: Branch 'master' - 12 commits

2018-12-05 Thread Behdad Esfahbod
d9dabc00e9278a346e85538212c126da7e610d55 Merge: 81cfd3c7 010e2ddb Author: Behdad Esfahbod Date: Wed Dec 5 15:39:34 2018 -0800 Merge pull request #1454 from harfbuzz/cff-fixbcd [CFF] fix oss-fuzz issue 11674: parse_bcd commit 010e2ddb384b5a721172fd7466aafec58dbf8063 Author: Michiharu Ariza Date: Wed Dec 5

[HarfBuzz] harfbuzz: Branch 'master' - 2 commits

2018-12-05 Thread Behdad Esfahbod
81cfd3c775dbc470f57d7fe2775cc068ffa367b6 Merge: 8394a6cb 6708c559 Author: Behdad Esfahbod Date: Wed Dec 5 15:37:15 2018 -0800 Merge pull request #1455 from harfbuzz/cff-strinc_assert [CFF] fix oss-fuzz issue 11675 (ASSERT: count <= str.len) commit 6708c5595fc6babdae0132f8a23cbe3558a58703 Author: Michih

[HarfBuzz] harfbuzz: Branch 'master' - 16 commits

2018-12-05 Thread Behdad Esfahbod
src/Makefile.sources |2 src/hb-aat-fdsc-table.hh | 103 ++ src/hb-aat-layout.cc |1 src/hb

[HarfBuzz] harfbuzz: Branch 'master' - 6 commits

2018-12-04 Thread Behdad Esfahbod
insertions(+), 81 deletions(-) New commits: commit c968869f212dbfcb86d42fb36049328521cbf00c Merge: 8c05b955 c48f53d3 Author: Behdad Esfahbod Date: Tue Dec 4 04:14:13 2018 -0500 Merge pull request #1441 from harfbuzz/cff-doublenum use double as CFF Number implementation commit

[HarfBuzz] harfbuzz: Branch 'master' - 2 commits

2018-12-03 Thread Behdad Esfahbod
+ 7 files changed, 33 insertions(+), 7 deletions(-) New commits: commit 8c05b955eb4aa088b2b5df9b6415863486eaf59c Merge: d19b1680 01f628cf Author: Behdad Esfahbod Date: Mon Dec 3 14:30:51 2018 -0500 Merge pull request #1439 from ebraminio/tracking [aat] Expose

[HarfBuzz] harfbuzz: Branch 'master'

2018-12-03 Thread Behdad Esfahbod
d19b1680b53e54f449736432f369a676c394ebf8 Author: Behdad Esfahbod Date: Mon Dec 3 10:41:37 2018 -0500 [aat] Expose a couple APIs New API: +hb_aat_layout_has_substitution() +hb_aat_layout_has_positioning() diff --git a/docs/harfbuzz-sections.txt b/docs/harfbuzz-sections.txt index 5c45153c..63224317 100644 --- a

[HarfBuzz] harfbuzz: Branch 'master'

2018-12-02 Thread Behdad Esfahbod
Author: Behdad Esfahbod Date: Sun Dec 2 12:38:53 2018 -0500 [aat] Fix division sign fallout Happened after 11d2f49af8f53340134c844173f4d8655b00dea3 since now nClasses is unsigned int... diff --git a/src/hb-aat-layout-common.hh b/src/hb-aat-layout-common.hh index 588dbdf2

[HarfBuzz] harfbuzz: Branch 'master'

2018-12-01 Thread Behdad Esfahbod
src/hb-open-type.hh | 13 ++--- src/hb-vector.hh|2 ++ 2 files changed, 12 insertions(+), 3 deletions(-) New commits: commit 2087f5a2a743380b36399ba8a2b4ff9e93890fcf Author: Behdad Esfahbod Date: Sat Dec 1 20:04:45 2018 -0500 Add casts to hb_array_t<> diff --git

[HarfBuzz] harfbuzz: Branch 'master' - 2 commits

2018-12-01 Thread Behdad Esfahbod
58d4d19947794aded4e966290b01e1034f216a7d Author: Behdad Esfahbod Date: Sat Dec 1 19:34:18 2018 -0500 Simplify build source list diff --git a/CMakeLists.txt b/CMakeLists.txt index 019e205b..2d6e77e8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -168,10 +168,6 @@ extract_make_variable(HB_BASE_headers ${SRCSOURCES

[HarfBuzz] harfbuzz: Branch 'master' - 2 commits

2018-12-01 Thread Behdad Esfahbod
src/hb-dsalgs.hh| 16 ++-- src/hb-open-type.hh | 12 ++-- 2 files changed, 20 insertions(+), 8 deletions(-) New commits: commit 11d2f49af8f53340134c844173f4d8655b00dea3 Author: Behdad Esfahbod Date: Sat Dec 1 13:12:21 2018 -0500 New approach to change

[HarfBuzz] harfbuzz: Branch 'master'

2018-11-30 Thread Behdad Esfahbod
src/hb-open-type.hh | 16 1 file changed, 8 insertions(+), 8 deletions(-) New commits: commit c3a8b047aab47e40dc107a952b3a1472068ec932 Author: Behdad Esfahbod Date: Sat Dec 1 00:14:48 2018 -0500 Revert "Change BigEndian casts to be int-sized" Th

[HarfBuzz] harfbuzz: Branch 'master'

2018-11-30 Thread Behdad Esfahbod
src/hb-ot-layout-gsub-table.hh |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit be45677ab605efc711a433323d66e4051c289252 Author: Behdad Esfahbod Date: Sat Dec 1 00:04:29 2018 -0500 Minor diff --git a/src/hb-ot-layout-gsub-table.hh b/src/hb-ot-layout-gsub

[HarfBuzz] harfbuzz: Branch 'master'

2018-11-30 Thread Behdad Esfahbod
src/hb-open-type.hh | 16 1 file changed, 8 insertions(+), 8 deletions(-) New commits: commit eb5ddd32bf4e458ca0af8d5784f8fd46485ad225 Author: Behdad Esfahbod Date: Sat Dec 1 00:03:01 2018 -0500 Change BigEndian casts to be int-sized Fixes spurious warnings

[HarfBuzz] harfbuzz: Branch 'master'

2018-11-30 Thread Behdad Esfahbod
src/hb-ot-cff-common.hh |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit e8860fdcaa69e3452edd903f78599bc8fa9d109c Author: Behdad Esfahbod Date: Fri Nov 30 23:38:24 2018 -0500 Fix more warning diff --git a/src/hb-ot-cff-common.hh b/src/hb-ot-cff-common.hh

[HarfBuzz] harfbuzz: Changes to 'overload-overload'

2018-11-30 Thread Behdad Esfahbod
New branch 'overload-overload' available with the following commits: commit db56d481cdfe848240d0f009656d290cf7e63d14 Author: Behdad Esfahbod Date: Fri Nov 30 19:49:03 2018 -0500 Another approach to fixing pesky-gcc's ambiguous overload o

[HarfBuzz] harfbuzz: Branch 'master'

2018-11-30 Thread Behdad Esfahbod
src/hb-ot-color-cpal-table.hh |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit fedd8e6c176dea85194693399e50243eb1c117c4 Author: Behdad Esfahbod Date: Fri Nov 30 16:50:30 2018 -0500 One more. I wonder if there's something better to do

[HarfBuzz] harfbuzz: Branch 'master'

2018-11-30 Thread Behdad Esfahbod
src/hb-ot-vorg-table.hh |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit bc5db9b0807767ac04d6e50070d69cb9c520f06e Author: Behdad Esfahbod Date: Fri Nov 30 16:04:52 2018 -0500 One more hb-ot-vorg-table.hh:96: error: ISO C++ says that these are

[HarfBuzz] harfbuzz: Branch 'master'

2018-11-30 Thread Behdad Esfahbod
src/hb-ot-kern-table.hh |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit d39760cabfe4007cefdfc45231e85e93fababac2 Author: Behdad Esfahbod Date: Fri Nov 30 15:55:30 2018 -0500 One more... Sigh. hb-ot-kern-table.hh: In member function 'in

[HarfBuzz] harfbuzz: Branch 'master'

2018-11-30 Thread Behdad Esfahbod
: Behdad Esfahbod Date: Fri Nov 30 15:16:57 2018 -0500 More... hb-ot-layout-gsubgpos.hh:1707: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: ... diff --git a/src/hb-aat-layout-morx

[HarfBuzz] harfbuzz: Branch 'master'

2018-11-30 Thread Behdad Esfahbod
src/hb-ot-name-table.hh |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) New commits: commit f998bb2086342d6fdcd4295593eddea91396e0b6 Author: Behdad Esfahbod Date: Fri Nov 30 12:52:21 2018 -0500 More weird fixes In file included from hb-ot-name.cc:29: hb-ot-name

[HarfBuzz] harfbuzz: Branch 'master' - 2 commits

2018-11-30 Thread Behdad Esfahbod
src/hb-machinery.hh |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) New commits: commit 67fd94da98f950b5feb719ac805f2a45379fc935 Merge: abd81ed4 ae79fdaa Author: Behdad Esfahbod Date: Fri Nov 30 11:53:30 2018 -0500 Merge commit 'ae79fdaa7774d3f886a8f03926577c3bd20

[HarfBuzz] harfbuzz: Branch 'master'

2018-11-30 Thread Behdad Esfahbod
src/hb-face.cc |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) New commits: commit ae79fdaa7774d3f886a8f03926577c3bd2010b03 Author: Behdad Esfahbod Date: Fri Nov 30 11:51:26 2018 -0500 Umm. Cryptic, yes hb-face.cc:650: error: ISO C++ says that these are ambiguous

[HarfBuzz] harfbuzz: Branch 'master'

2018-11-30 Thread Behdad Esfahbod
src/hb-face.cc |4 ++-- src/hb-set.hh |2 +- 2 files changed, 3 insertions(+), 3 deletions(-) New commits: commit 0f32c95e1487ffcc37439635c3294f941eae857a Author: Behdad Esfahbod Date: Fri Nov 30 11:31:39 2018 -0500 Fix a few more sizeof(vector[0]) errors with weird compilers

[HarfBuzz] harfbuzz: Branch 'master'

2018-11-29 Thread Behdad Esfahbod
src/hb-ot-deprecated.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 88630a458b21b811075bed9e761a94c50736dc11 Author: Behdad Esfahbod Date: Fri Nov 30 01:11:04 2018 -0500 Fix build for realz diff --git a/src/hb-ot-deprecated.h b/src/hb-ot-deprecated.h

[HarfBuzz] harfbuzz: Branch 'master'

2018-11-29 Thread Behdad Esfahbod
src/hb-ot-deprecated.h |1 + 1 file changed, 1 insertion(+) New commits: commit 346286d04eb616c43ba8c796211fa2e5e7bf1983 Author: Behdad Esfahbod Date: Fri Nov 30 00:44:40 2018 -0500 Fix build diff --git a/src/hb-ot-deprecated.h b/src/hb-ot-deprecated.h index 1d54dc69..0dfabc9b

[HarfBuzz] harfbuzz: Branch 'master'

2018-11-29 Thread Behdad Esfahbod
src/hb-ot-post-table.hh |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) New commits: commit 31f39cb41e1497a76c5838c93f9b4034089049f2 Author: Behdad Esfahbod Date: Fri Nov 30 00:38:08 2018 -0500 [post] Rename v2 to v2X diff --git a/src/hb-ot-post-table.hh b/src/hb-ot-post

[HarfBuzz] harfbuzz: Branch 'master'

2018-11-29 Thread Behdad Esfahbod
e3dd47e6025a7f082af4830ba483d90d9b44381f Author: Behdad Esfahbod Date: Fri Nov 30 00:32:12 2018 -0500 Move things diff --git a/src/Makefile.sources b/src/Makefile.sources index ba90ef02..3ae5806d 100644 --- a/src/Makefile.sources +++ b/src/Makefile.sources @@ -185,6 +185,7 @@ HB_OT_headers = \ hb-aat

[HarfBuzz] harfbuzz: Branch 'master'

2018-11-29 Thread Behdad Esfahbod
src/hb-coretext.cc |2 +- src/hb-uniscribe.cc | 10 +- 2 files changed, 6 insertions(+), 6 deletions(-) New commits: commit 27a6b0a2f7255ed6fc7bfe1f10052c2e344e319b Author: Behdad Esfahbod Date: Thu Nov 29 16:29:30 2018 -0500 Fix build for realz diff --git a/src/hb

[HarfBuzz] harfbuzz: Branch 'master' - 4 commits

2018-11-29 Thread Behdad Esfahbod
(+), 58 deletions(-) New commits: commit e2af4dd1ecbe398c60fe5f3f370dd35400d7e1eb Author: Behdad Esfahbod Date: Thu Nov 29 16:03:15 2018 -0500 [uniscribe] Fix build diff --git a/src/hb-uniscribe.cc b/src/hb-uniscribe.cc index 1fae6435..c403d165 100644 --- a/src/hb-uniscribe.cc +++ b/src/hb

[HarfBuzz] harfbuzz: Branch 'master'

2018-11-29 Thread Behdad Esfahbod
src/hb-coretext.cc |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit ac0264717b949df8840b179d882a9bed2993fb74 Author: Behdad Esfahbod Date: Thu Nov 29 15:07:44 2018 -0500 [coretext] Fix compile Fingers crossed. diff --git a/src/hb-coretext.cc b/src/hb

[HarfBuzz] harfbuzz: Branch 'master' - 3 commits

2018-11-29 Thread Behdad Esfahbod
/hb-ot-vorg-table.hh |2 +- src/hb-set-digest.hh| 14 +++--- 42 files changed, 85 insertions(+), 85 deletions(-) New commits: commit 5c4fead734b082e0168e6811bec4bcaa19acc36a Author: Behdad Esfahbod Date: Thu Nov 29 15:04:34 2018 -0500 Convert "static

[HarfBuzz] harfbuzz: Branch 'master'

2018-11-29 Thread Behdad Esfahbod
: Behdad Esfahbod Date: Thu Nov 29 14:34:44 2018 -0500 [vector] Make pointer cast explicit Too bad this doesn't help MSVC 2008 build, as explicit operators are C++11. diff --git a/src/hb-machinery.hh b/src/hb-machinery.hh index 39e96293..5f3d153e 100644 --- a/s

[HarfBuzz] harfbuzz: Branch 'master'

2018-11-29 Thread Behdad Esfahbod
src/hb-set.hh |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 72955e68256806f082439d65e6f9b5cf2e35fa8a Author: Behdad Esfahbod Date: Thu Nov 29 14:28:44 2018 -0500 Hand-hold older compilers diff --git a/src/hb-set.hh b/src/hb-set.hh index 8b7a0f3d..100bdb2a

  1   2   3   4   5   6   7   8   9   10   >