[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FreeType INSTCTRL behavior (Po Lu)
From: |
Werner LEMBERG |
Subject: |
Re: FreeType INSTCTRL behavior (Po Lu) |
Date: |
Mon, 13 Feb 2023 05:41:09 +0000 (UTC) |
> Here is what the TrueType reference manual says: [...]
Found it! It's not a bug but a feature. From file
`src/truetype/ttobjs.c`, lines 1048ff:
```
/* UNDOCUMENTED! The MS rasterizer doesn't allow the following */
/* graphics state variables to be modified by the CVT program. */
exec->GS.dualVector.x = 0x4000;
exec->GS.dualVector.y = 0;
exec->GS.projVector.x = 0x4000;
exec->GS.projVector.y = 0x0;
exec->GS.freeVector.x = 0x4000;
exec->GS.freeVector.y = 0x0;
exec->GS.rp0 = 0;
exec->GS.rp1 = 0;
exec->GS.rp2 = 0;
exec->GS.gep0 = 1;
exec->GS.gep1 = 1;
exec->GS.gep2 = 1;
```
This is commit a2c7eb188892c6 from 2013, confirmed then by Microsoft
engineer Greg Hitchcock.
I've just filed
https://github.com/MicrosoftDocs/typography-issues/issues/1012
so that it gets documented in the OpenType specification.
Werner
- Re: FreeType INSTCTRL behavior (Po Lu) (Re: Freetype-devel Digest, Vol 217, Issue 8), Hin-Tak Leung, 2023/02/12
- Re: FreeType INSTCTRL behavior (Po Lu) (Re: Freetype-devel Digest, Vol 217, Issue 8), Po Lu, 2023/02/12
- Re: FreeType INSTCTRL behavior (Po Lu) (Re: Freetype-devel Digest, Vol 217, Issue 8), Alexei Podtelezhnikov, 2023/02/12
- Re: FreeType INSTCTRL behavior (Po Lu) (Re: Freetype-devel Digest, Vol 217, Issue 8), Alexei Podtelezhnikov, 2023/02/12
- Re: FreeType INSTCTRL behavior (Po Lu) (Re: Freetype-devel Digest, Vol 217, Issue 8), Po Lu, 2023/02/12
- Re: FreeType INSTCTRL behavior (Po Lu) (Re: Freetype-devel Digest, Vol 217, Issue 8), Alexei Podtelezhnikov, 2023/02/12
- Re: FreeType INSTCTRL behavior (Po Lu) (Re: Freetype-devel Digest, Vol 217, Issue 8), Po Lu, 2023/02/13
- Deactivating the mailing list's digest feature, Werner LEMBERG, 2023/02/13
Re: FreeType INSTCTRL behavior (Po Lu),
Werner LEMBERG <=
- Re: FreeType INSTCTRL behavior (Po Lu), Po Lu, 2023/02/13
- Re: FreeType INSTCTRL behavior (Po Lu), Werner LEMBERG, 2023/02/13
- Re: FreeType INSTCTRL behavior (Po Lu), Po Lu, 2023/02/13
- Re: FreeType INSTCTRL behavior (Po Lu), Hin-Tak Leung, 2023/02/13
- Re: FreeType INSTCTRL behavior (Po Lu), Alexei Podtelezhnikov, 2023/02/13