xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: Barcode fonts not displaying correctly when generating PCL
Date Fri, 11 Jul 2008 10:59:53 GMT
I've already spent more time on free FOP support this week than I wanted
so I won't be taking a closer look just now. I hope you understand. If I
were you I'd switch to Barcode4J for the barcodes.

Do you generate the PDF and the PCL from the same intermediate file?
Please realize that these two renderers use diffferent font metrics
sources which could explain the bad output in PCL if the AT file was
generated mimicing the PDF renderer.

SVG in PCL works fine in newer releases, BTW.

On 11.07.2008 11:26:20 Martin Edge wrote:
> Hey Guys,
> 
> Just wanted to check I’m doing everything correctly.
> 
> I am having some problems displaying barcodes in PCL. 
> 
> http://www.asmorphic.net.au/images/barcodes.jpg is an example of what I’m
> seeing.
> 
> As I edit the intermediate file, I have performed two tests:
> 
> - Generate AT using application/pdf then run –atin –pdf etc – and the
> barcodes are displayed properly and scannable.
> - Generate AT using application/vnd…..pcl etc – and the barcodes appear very
> different and cannot be scanned.
> 
> I figure given the PDF renders the fonts partially, the fonts are being
> properly loaded into the FOP engine. 
> 
> My fop.xconf portions for PDF and PCL has:
>       <fonts>
>                       <directory>c:\pdfbin\fonts\</directory>
>       </fonts>
> 
> .. and given you can see in the image the font partially works its
> definitely loading OK .. Both fonts are True Type Fonts.
> 
> The FO content which displays the barcodes:
> 
>          <fo:block-container reference-orientation="90"
> inline-progression-dimension="680pt">
>             <fo:block font-family="3 of 9 Barcode" font-size="18pt"
> background-color="white" text-align="start">*1234567890MLQIS*</fo:block>
>          </fo:block-container>
>       </fo:static-content>
> 
> And 
> 
>                 <fo:block text-align="start" margin-top="115pt"
> margin-bottom="8pt">
>                         <fo:inline font-family="Barcode 4-state"
> font-size="12pt"
> width="65mm">1301012211021200220022303333301003013</fo:inline>
>                         <fo:inline font-family="Helvetica"
font-size="6pt"
> min-height="16pt"
>                                   
> border-top-width="-20mm">001/000001</fo:inline>
>                      </fo:block>
> 
> Is there any thing I’m obviously doing wrong here – or is there a potential
> problem? If as per the research below I have to create an image it’s
> possible I guess – but a bit of a pain ..
> 
> Jeremias – I found some  of your emails from 2002/2003 – I hope it’s
> possible now! 
> 
> http://osdir.com/ml/krysalis.devel/2003-12/msg00010.html
> http://osdir.com/ml/text.xml.fop.devel/2002-11/msg00231.html
> 
> ;)
> 
> Thanks
> Martin
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 




Jeremias Maerki


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


Mime
View raw message