You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Martin Edge <Ma...@asmorphic.net.au> on 2008/08/13 07:18:01 UTC

barcodes via fonts on postscript

Hi Guys,

Is there any reason that fonts of which are barcodes would behave
differently on PostScript than PCL ? I thought they both used the Java AWT
or whatever it was to render. I'm finding that the barcode does appear in
the postscript output, but does not render. Not knowing much about
postscript, I don't know if this is in there correctly.

gsave
BT
1 0 0 -1 0 13.5 Tm
/Barcode4 18 F
(\005\006\007\005\007\005\b\b\005\005\007\b\005\b\007\007\b\b\007\007\b\b\00
6\007\006\006\006\006\006\007\005\007\007\006\007\005\006)
[4.86 4.68 4.68 4.86 4.68 4.86 4.86 4.86
4.86 4.86 4.68 4.86 4.86 4.86 4.68 4.68
4.86 4.86 4.68 4.68 4.86 4.86 4.68 4.68
4.68 4.68 4.68 4.68 4.68 4.68 4.86 4.68
4.68 4.68 4.68 4.86 4.68]
xshow


I've attached a fo, pcl, pdf and PS ..

Thanks
Martin.






Re: barcodes via fonts on postscript

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Barcode fonts have proven to be problematic in the past. Without access
to this font there's no way I can reproduce and fix any problems. As I
always say, Barcode4J works just fine for me (provided it supports the
symbology you need). At any rate, if I look at the PostScript file you
attached, the font wasn't embedded and GhostScript complains it hasn't
found the font so nothing is displayed.

On 13.08.2008 07:18:01 Martin Edge wrote:
> Hi Guys,
> 
> Is there any reason that fonts of which are barcodes would behave
> differently on PostScript than PCL ? I thought they both used the Java AWT
> or whatever it was to render. I'm finding that the barcode does appear in
> the postscript output, but does not render. Not knowing much about
> postscript, I don't know if this is in there correctly.
> 
> gsave
> BT
> 1 0 0 -1 0 13.5 Tm
> /Barcode4 18 F
> (\005\006\007\005\007\005\b\b\005\005\007\b\005\b\007\007\b\b\007\007\b\b\00
> 6\007\006\006\006\006\006\007\005\007\007\006\007\005\006)
> [4.86 4.68 4.68 4.86 4.68 4.86 4.86 4.86
> 4.86 4.86 4.68 4.86 4.86 4.86 4.68 4.68
> 4.86 4.86 4.68 4.68 4.86 4.86 4.68 4.68
> 4.68 4.68 4.68 4.68 4.68 4.68 4.86 4.68
> 4.68 4.68 4.68 4.86 4.68]
> xshow
> 
> 
> I've attached a fo, pcl, pdf and PS ..
> 
> Thanks
> Martin.
> 
> 
> 
> 
> 




Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org