Article View: gnu.ghostscript.bug
Article #674Bugfix for makefont operator
From: Snoopy
Date: Wed, 07 Jun 1989 18:11
Date: Wed, 07 Jun 1989 18:11
24 lines
1334 bytes
1334 bytes
Bugfix for Ghostscript 1.2:
If you flip the world upside down with 1 -1 scale, and then flip an
oblique font upside down with makefont, the font ends up slanted the
wrong way. Reversing the order that the matrices are fed to
gs_matrix_multiply() makes this come out right. Hopefully this will
not introduce some other problem.
RCS file: RCS/gsfont.c,v
Retrieving revision 1.1
diff -r1.1 gsfont.c
100c100,101
< if ( (code = gs_matrix_multiply(pmat, &pfont->matrix, &newmat)) < 0 )
---
> /* The commutative law does not hold for matrix multiplication - Snoopy */
> if ( (code = gs_matrix_multiply(&pfont->matrix, pmat, &newmat)) < 0 )
_____ .-----.
/_____\ Snoopy ./ RIP \.
/_______\ qiclab!sopwith!snoopy | |
|___| parsely!sopwith!snoopy | tekecs |
|___| sun!nosun!illian!sopwith!snoopy |_________|
"I *was* the next man!" -Indy
Technical Details
Message-ID:
<218@sopwith.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!yunexus!telly!attcan!utgpu!watmath!uunet!zephyr!tektronix!psueea!qiclab!sopwith!snoopyShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!yunexus!telly!attcan!utgpu!watmath!uunet!zephyr!tektronix!psueea!qiclab!sopwith!snoopy From: snoopy@sopwith.UUCP (Snoopy) Newsgroups: gnu.ghostscript.bug Subject: Bugfix for makefont operator Message-ID: <218@sopwith.UUCP> Date: 7 Jun 89 18:11:01 GMT Article-I.D.: sopwith.218 Reply-To: snoopy@sopwith.UUCP (Snoopy) Distribution: gnu Organization: The Daisy Hill Puppy Farm Lines: 24