freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Persistent CVT writes from glyf program.


From: Werner LEMBERG
Subject: Re: Persistent CVT writes from glyf program.
Date: Wed, 31 Mar 2021 07:37:41 +0200 (CEST)

Hello Ben,


> While investigating some odd behavior, I discovered that in FreeType
> if a TrueType glyf contains instructions which read/modify/write a
> CVT entry and the glyph is loaded more than once the modified values
> persist across calls. The persistence is in the (TT_SizeRec_)
> size.cvt since TT_Load_Context sets exec.cvt to size.cvt.  [...]

This is definitely a bug, thanks for noticing it!

> I'm not sure if this is supposed to work this way.  I don't think it
> should, but this doesn't seem to be addressed by any existing
> specification or documentation.

As so many things in the bytecode specification.  It's always annoying
to have an implementation first from which the documentation is
derived...

Do you have time to provide a patch?


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]