diff options
author | Keiron Liddle <keiron@apache.org> | 2000-11-27 05:32:40 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2000-11-27 05:32:40 +0000 |
commit | 5132ed87bffaa2ca6f8be3c4cf875e16b9cf6436 (patch) | |
tree | 0b00b52cb774c3aa9d69d0816b14b7b01eb319b9 /docs | |
parent | 15d11f67292e6e9cc633278516a61982949f587c (diff) | |
download | xmlgraphics-fop-5132ed87bffaa2ca6f8be3c4cf875e16b9cf6436.tar.gz xmlgraphics-fop-5132ed87bffaa2ca6f8be3c4cf875e16b9cf6436.zip |
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
Diffstat (limited to 'docs')
-rw-r--r-- | docs/bugtests/charwidth.fo | 259 |
1 files changed, 259 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> +<fo:layout-master-set> + <fo:simple-page-master margin-right="40pt" margin-left="40pt" master-name="one"> + <fo:region-body margin-bottom="30pt" margin-top="30pt"/> + </fo:simple-page-master> + </fo:layout-master-set> + <fo:page-sequence master-name="one"> + <fo:flow font-size="12pt" flow-name="xsl-region-body"> + <fo:block> + 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. + </fo:block> + <fo:block> + 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. + </fo:block> + <fo:block font-size="12pt" font-family="Helvetica" text-align="end"> + <fo:block> + 1 + </fo:block> + <fo:block> + abcdefghijklmnopqrstuvwxyz1 + </fo:block> + <fo:block> + ABCDEFGHIJKLMNOPQRSTUVWXYZ1 + </fo:block> + <fo:block> + 12345678901 + </fo:block> + <fo:block> + `~!@#$%^&*()-_=+1 + </fo:block> + <fo:block> + [{]}\|;:'1 + </fo:block> + <fo:block> + ",<.>/?1 + </fo:block> + <fo:block> +!"#$%&'()*+,-./0123456789:;<1 + </fo:block> + <fo:block> +=>?@ABCDEFGHIJKLMNOPQRSTUVWX1 + </fo:block> + <fo:block> +YZ[\]^_`abcdefghijklmnopq1 + </fo:block> + <fo:block> +rstuvwxyz{|}~ ¡¢£¤¥¦§¨1 + </fo:block> + <fo:block> +©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁ1 + </fo:block> + <fo:block> +ÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙ1 + </fo:block> + <fo:block> +ÚÛÜÝÞßàáâãäåæçèéêëìíîïðñ1 + </fo:block> + <fo:block> +òóôõö÷øùúûüýþ1 + </fo:block> + </fo:block> + <fo:block font-size="12pt" font-family="Times Roman" text-align="end"> + <fo:block> + 1 + </fo:block> + <fo:block> + abcdefghijklmnopqrstuvwxyz1 + </fo:block> + <fo:block> + ABCDEFGHIJKLMNOPQRSTUVWXYZ1 + </fo:block> + <fo:block> + 12345678901 + </fo:block> + <fo:block> + `~!@#$%^&*()-_=+1 + </fo:block> + <fo:block> + [{]}\|;:'1 + </fo:block> + <fo:block> + ",<.>/?1 + </fo:block> + <fo:block> +!"#$%&'()*+,-./0123456789:;<1 + </fo:block> + <fo:block> +=>?@ABCDEFGHIJKLMNOPQRSTUVWX1 + </fo:block> + <fo:block> +YZ[\]^_`abcdefghijklmnopq1 + </fo:block> + <fo:block> +rstuvwxyz{|}~ ¡¢£¤¥¦§¨1 + </fo:block> + <fo:block> +©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁ1 + </fo:block> + <fo:block> +ÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙ1 + </fo:block> + <fo:block> +ÚÛÜÝÞßàáâãäåæçèéêëìíîïðñ1 + </fo:block> + <fo:block> +òóôõö÷øùúûüýþ1 + </fo:block> + </fo:block> + <fo:block font-family="Courier" text-align="end"> + <fo:block> + 1 + </fo:block> + <fo:block> + abcdefghijklmnopqrstuvwxyz1 + </fo:block> + <fo:block> + ABCDEFGHIJKLMNOPQRSTUVWXYZ1 + </fo:block> + <fo:block> + 12345678901 + </fo:block> + <fo:block> + `~!@#$%^&*()-_=+1 + </fo:block> + <fo:block> + [{]}\|;:'1 + </fo:block> + <fo:block> + ",<.>/?1 + </fo:block> + <fo:block> +!"#$%&'()*+,-./0123456789:;<1 + </fo:block> + <fo:block> +=>?@ABCDEFGHIJKLMNOPQRSTUVWX1 + </fo:block> + <fo:block> +YZ[\]^_`abcdefghijklmnopq1 + </fo:block> + <fo:block> +rstuvwxyz{|}~ ¡¢£¤¥¦§¨1 + </fo:block> + <fo:block> +©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁ1 + </fo:block> + <fo:block> +ÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙ1 + </fo:block> + <fo:block> +ÚÛÜÝÞßàáâãäåæçèéêëìíîïðñ1 + </fo:block> + <fo:block> +òóôõö÷øùúûüýþ1 + </fo:block> + </fo:block> + <fo:block font-family="ZapfDingbats" text-align="end"> + <fo:block> + 1 + </fo:block> + <fo:block> + abcdefghijklmnopqrstuvwxyz1 + </fo:block> + <fo:block> + ABCDEFGHIJKLMNOPQRSTUVWXYZ1 + </fo:block> + <fo:block> + 12345678901 + </fo:block> + <fo:block> + `~!@#$%^&*()-_=+1 + </fo:block> + <fo:block> + [{]}\|;:'1 + </fo:block> + <fo:block> + ",<.>/?1 + </fo:block> + <fo:block> +!"#$%&'()*+,-./0123456789:;<1 + </fo:block> + <fo:block> +=>?@ABCDEFGHIJKLMNOPQRSTUVWX1 + </fo:block> + <fo:block> +YZ[\]^_`abcdefghijklmnopq1 + </fo:block> + <fo:block> +rstuvwxyz{|}~ ¡¢£¤¥¦§¨1 + </fo:block> + <fo:block> +©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁ1 + </fo:block> + <fo:block> +ÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙ1 + </fo:block> + <fo:block> +ÚÛÜÝÞßàáâãäåæçèéêëìíîïðñ1 + </fo:block> + <fo:block> +òóôõö÷øùúûüýþ1 + </fo:block> + </fo:block> + <fo:block font-family="Symbol" text-align="end"> + <fo:block> + 1 + </fo:block> + <fo:block> + abcdefghijklmnopqrstuvwxyz1 + </fo:block> + <fo:block> + ABCDEFGHIJKLMNOPQRSTUVWXYZ1 + </fo:block> + <fo:block> + 12345678901 + </fo:block> + <fo:block> + `~!@#$%^&*()-_=+1 + </fo:block> + <fo:block> + [{]}\|;:'1 + </fo:block> + <fo:block> + ",<.>/?1 + </fo:block> + <fo:block> +!"#$%&'()*+,-./0123456789:;<1 + </fo:block> + <fo:block> +=>?@ABCDEFGHIJKLMNOPQRSTUVWX1 + </fo:block> + <fo:block> +YZ[\]^_`abcdefghijklmnopq1 + </fo:block> + <fo:block> +rstuvwxyz{|}~ ¡¢£¤¥¦§¨1 + </fo:block> + <fo:block> +©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁ1 + </fo:block> + <fo:block> +ÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙ1 + </fo:block> + <fo:block> +ÚÛÜÝÞßàáâãäåæçèéêëìíîïðñ1 + </fo:block> + <fo:block> +òóôõö÷øùúûüýþ1 + </fo:block> + </fo:block> + </fo:flow> + </fo:page-sequence> +</fo:root> |