From: Keiron Liddle Date: Mon, 27 Nov 2000 05:32:40 +0000 (+0000) Subject: hanged the width of the "-" character X-Git-Tag: pre-columns~46 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5132ed87bffaa2ca6f8be3c4cf875e16b9cf6436;p=xmlgraphics-fop.git hanged the width of the "-" character this now shows the correct width of the characters as determined by right-align ing Lines containing "-" should be right aligned correctly now Code changes sponsored by Dresdner Bank, Germany. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193840 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/bugtests/charwidth.fo b/docs/bugtests/charwidth.fo new file mode 100644 index 000000000..15772a4bc --- /dev/null +++ b/docs/bugtests/charwidth.fo @@ -0,0 +1,259 @@ + + + + + + + + + + + This file contains a list of many characters in various fonts. The text is + aligned with the end in order to check that all the characters have their + correct width set in FOP. + + + If the right hand edge is left of the other lines in the same font then + this indicates it expects one (or more) of the characters to be wider + than it really is. Also if the end is to the right of the other lines + then FOP expects a character to be smaller than it really is or the + character is missing from the lookup. + + + + 1 + + + abcdefghijklmnopqrstuvwxyz1 + + + ABCDEFGHIJKLMNOPQRSTUVWXYZ1 + + + 12345678901 + + + `~!@#$%^&*()-_=+1 + + + [{]}\|;:'1 + + + ",<.>/?1 + + +!"#$%&'()*+,-./0123456789:;<1 + + +=>?@ABCDEFGHIJKLMNOPQRSTUVWX1 + + +YZ[\]^_`abcdefghijklmnopq1 + + +rstuvwxyz{|}~ ¡¢£¤¥¦§¨1 + + +©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁ1 + + +ÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙ1 + + +ÚÛÜÝÞßàáâãäåæçèéêëìíîïðñ1 + + +òóôõö÷øùúûüýþ1 + + + + + 1 + + + abcdefghijklmnopqrstuvwxyz1 + + + ABCDEFGHIJKLMNOPQRSTUVWXYZ1 + + + 12345678901 + + + `~!@#$%^&*()-_=+1 + + + [{]}\|;:'1 + + + ",<.>/?1 + + +!"#$%&'()*+,-./0123456789:;<1 + + +=>?@ABCDEFGHIJKLMNOPQRSTUVWX1 + + +YZ[\]^_`abcdefghijklmnopq1 + + +rstuvwxyz{|}~ ¡¢£¤¥¦§¨1 + + +©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁ1 + + +ÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙ1 + + +ÚÛÜÝÞßàáâãäåæçèéêëìíîïðñ1 + + +òóôõö÷øùúûüýþ1 + + + + + 1 + + + abcdefghijklmnopqrstuvwxyz1 + + + ABCDEFGHIJKLMNOPQRSTUVWXYZ1 + + + 12345678901 + + + `~!@#$%^&*()-_=+1 + + + [{]}\|;:'1 + + + ",<.>/?1 + + +!"#$%&'()*+,-./0123456789:;<1 + + +=>?@ABCDEFGHIJKLMNOPQRSTUVWX1 + + +YZ[\]^_`abcdefghijklmnopq1 + + +rstuvwxyz{|}~ ¡¢£¤¥¦§¨1 + + +©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁ1 + + +ÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙ1 + + +ÚÛÜÝÞßàáâãäåæçèéêëìíîïðñ1 + + +òóôõö÷øùúûüýþ1 + + + + + 1 + + + abcdefghijklmnopqrstuvwxyz1 + + + ABCDEFGHIJKLMNOPQRSTUVWXYZ1 + + + 12345678901 + + + `~!@#$%^&*()-_=+1 + + + [{]}\|;:'1 + + + ",<.>/?1 + + +!"#$%&'()*+,-./0123456789:;<1 + + +=>?@ABCDEFGHIJKLMNOPQRSTUVWX1 + + +YZ[\]^_`abcdefghijklmnopq1 + + +rstuvwxyz{|}~ ¡¢£¤¥¦§¨1 + + +©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁ1 + + +ÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙ1 + + +ÚÛÜÝÞßàáâãäåæçèéêëìíîïðñ1 + + +òóôõö÷øùúûüýþ1 + + + + + 1 + + + abcdefghijklmnopqrstuvwxyz1 + + + ABCDEFGHIJKLMNOPQRSTUVWXYZ1 + + + 12345678901 + + + `~!@#$%^&*()-_=+1 + + + [{]}\|;:'1 + + + ",<.>/?1 + + +!"#$%&'()*+,-./0123456789:;<1 + + +=>?@ABCDEFGHIJKLMNOPQRSTUVWX1 + + +YZ[\]^_`abcdefghijklmnopq1 + + +rstuvwxyz{|}~ ¡¢£¤¥¦§¨1 + + +©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁ1 + + +ÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙ1 + + +ÚÛÜÝÞßàáâãäåæçèéêëìíîïðñ1 + + +òóôõö÷øùúûüýþ1 + + + + + diff --git a/src/codegen/Helvetica.xml b/src/codegen/Helvetica.xml index 36f8b0b65..a188996f1 100644 --- a/src/codegen/Helvetica.xml +++ b/src/codegen/Helvetica.xml @@ -158,7 +158,7 @@ - + @@ -241,4 +241,4 @@ - \ No newline at end of file + diff --git a/src/codegen/Symbol.xml b/src/codegen/Symbol.xml index cfd3f2061..8dcb507ef 100644 --- a/src/codegen/Symbol.xml +++ b/src/codegen/Symbol.xml @@ -86,6 +86,7 @@ + @@ -199,4 +200,4 @@ - \ No newline at end of file + diff --git a/src/codegen/Times-Roman.xml b/src/codegen/Times-Roman.xml index 0dee39bbc..d22f89e5f 100644 --- a/src/codegen/Times-Roman.xml +++ b/src/codegen/Times-Roman.xml @@ -158,7 +158,7 @@ - + @@ -241,4 +241,4 @@ - \ No newline at end of file +