[jbig2-cvs] rev 446 - trunk
giles at ghostscript.com
giles at ghostscript.com
Mon May 15 14:16:42 PDT 2006
Author: giles
Date: 2006-05-15 14:16:42 -0700 (Mon, 15 May 2006)
New Revision: 446
Modified:
trunk/jbig2_text.c
Log:
Correct a typo resulting in inproper glyph placement with transposed text and a top left reference corner. Fixes bug 688645.
Modified: trunk/jbig2_text.c
===================================================================
--- trunk/jbig2_text.c 2006-02-17 20:25:07 UTC (rev 445)
+++ trunk/jbig2_text.c 2006-05-15 21:16:42 UTC (rev 446)
@@ -416,7 +416,7 @@
}
} else { /* TRANSPOSED */
switch (params->REFCORNER) {
- case JBIG2_CORNER_TOPLEFT: y = T; x = T; break;
+ case JBIG2_CORNER_TOPLEFT: y = S; x = T; break;
case JBIG2_CORNER_TOPRIGHT: y = S - IB->width + 1; x = T; break;
case JBIG2_CORNER_BOTTOMLEFT: y = S; x = T - IB->height + 1; break;
case JBIG2_CORNER_BOTTOMRIGHT: y = S - IB->width + 1; x = T - IB->height + 1; break;
More information about the jbig2-cvs
mailing list