[gnu.ghostscript.bug] Bugfix for makefont operator

snoopy@sopwith.UUCP (Snoopy) (06/08/89)

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