[ft-devel] Patch to allow '\0' in sfnt name table entries

2012-03-14 Thread Huw Davies
Hi, The attached patch fixes a problem with fonts that include a trailing '\0' in name table entries. Currently the font name would have a question mark appended to it. Huw. From 7949fcbd2e865b2a1fcf61a0cae04401169ea858 Mon Sep 17 00:00:00 2001 From: Huw Davies h...@codeweavers.com Date: Wed,

Re: [ft-devel] Patch to allow '\0' in sfnt name table entries

2012-03-14 Thread Alexei Podtelezhnikov
On Wed, Mar 14, 2012 at 7:26 AM, Huw Davies h...@codeweavers.com wrote: The attached patch fixes a problem with fonts that include a trailing '\0' in name table entries.  Currently the font name would have a question mark appended to it. Why would the name contain \0? Is this because

Re: [ft-devel] Patch to allow '\0' in sfnt name table entries

2012-03-14 Thread Huw Davies
On Wed, Mar 14, 2012 at 07:58:55AM -0400, Alexei Podtelezhnikov wrote: On Wed, Mar 14, 2012 at 7:26 AM, Huw Davies h...@codeweavers.com wrote: The attached patch fixes a problem with fonts that include a trailing '\0' in name table entries.  Currently the font name would have a question

Re: [ft-devel] Patch to allow '\0' in sfnt name table entries

2012-03-14 Thread Huw Davies
On Wed, Mar 14, 2012 at 08:53:28AM -0400, Alexei Podtelezhnikov wrote: Then I would prefer if (code == 0) break; Works for me. See attached. Huw. From 137db2199aee433badb892bc7287d3eca5d4f2a4 Mon Sep 17 00:00:00 2001 From: Huw Davies h...@codeweavers.com Date: Wed, 14 Mar 2012

Re: [ft-devel] Patch to allow '\0' in sfnt name table entries

2012-03-14 Thread Werner LEMBERG
Then I would prefer if (code == 0) break; Works for me. See attached. I was quicker :-) Please resend your patch relative to the current git. Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org

Re: [ft-devel] Patch to allow '\0' in sfnt name table entries

2012-03-14 Thread Huw Davies
On Wed, Mar 14, 2012 at 05:20:34PM +0100, Werner LEMBERG wrote: I was quicker :-) Please resend your patch relative to the current git. Here you go. Huw. From 53f1b3aa88055a4fbc36e9654a48ed84d395f502 Mon Sep 17 00:00:00 2001 From: Huw Davies h...@codeweavers.com Date: Wed, 14 Mar 2012

Re: [ft-devel] Patch to allow '\0' in sfnt name table entries

2012-03-14 Thread Werner LEMBERG
I was quicker :-) Please resend your patch relative to the current git. Here you go. Applied, thanks. Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel