W3C home > Mailing lists > Public > www-xsl-fo@w3.org > August 2011

Re: Space in Barcode font

From: G. Ken Holman <gkholman@CraneSoftwrights.com>
Date: Thu, 18 Aug 2011 10:11:50 -0500
Message-Id: <7.0.1.0.2.20110818100641.0252c5f8@wheresmymailserver.com>
To: www-xsl-fo@w3.org
At 2011-08-18 06:58 -0700, Martin Abbott wrote:
>After reading about this a bit more it would appear as though a space is a
>valid character in Code 39 barcodes so should be rendered. Indeed using the
>installed font in Wordpad generates a readable barcode with a space encoded
>and then read back successfully without any problems.

Totally understood.  I wasn't refuting there was a problem.

>I've found a font that does what you suggested and has the space character
>moved to "~"

Good!  Then all you need is:

   <fo:block space-before="2cm">
     <fo:inline font-size="36pt" font-family="3 of 9 Barcode Other">
        <xsl:value-of select="translate('Some Text',' ','~')"/>
     </fo:inline>
   </fo:block>

>and I've tried a different engine but still no joy unfortunately.
>
>Any other thoughts?

Nope!

Good luck!

. . . . . . . . . Ken


--
Contact us for world-wide XML consulting & instructor-led training
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/f/
G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal
Received on Thursday, 18 August 2011 15:12:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 18 August 2011 15:12:32 GMT