[I sent a copy of this email to tech@ 24 hours ago and it hasn't
shown up yet.  Apologies if this ends up being a double-post.]

Hello tech@

I'm not sure if it's bad form to crosspost this from bugs@ to
tech@ or not, but I have a patch that fixes a font rendering issue
with the new FreeType 2.8.1 update that went in last December.

The beginning of the thread can be found at the following link.
It also includes a screenshot (linked at the very bottom of the
page) of how it manifests in an xterm.  FWIW, I also see the same
rendering issue in Firefox, so it's not just limited to the console:
        https://marc.info/?l=openbsd-bugs&m=151835980313045&w=2

I managed to bisect things, and found that this one-line diff
fixes the issue for me.  It's a reversion back to the line of code
that was present in FreeType 2.8.0.

Please let me know if I can provide any further information or
test any patches.  Now that OpenBSD has entered -beta status, I'd
like to do whatever I can to help resolve this before -release is
tagged if at all possible.

Thank you.

-- 
Bryan


Index: ftutil.c
===================================================================
RCS file: /cvs/xenocara/lib/freetype/src/base/ftutil.c,v
retrieving revision 1.9
diff -u -r1.9 ftutil.c
--- ftutil.c    15 Dec 2017 19:29:12 -0000      1.9
+++ ftutil.c    10 Mar 2018 00:18:11 -0000
@@ -143,7 +143,7 @@
     {
       FT_ASSERT( !block );
 
-      block = memory->alloc( memory, new_count * item_size );
+       block = ft_mem_alloc( memory, new_count * item_size, &error );
       if ( block == NULL )
         error = FT_THROW( Out_Of_Memory );
     }

Reply via email to