Skip to main content



      Home
Home » Archived » BIRT » scale / stretch barcode font
scale / stretch barcode font [message #361278] Thu, 20 March 2008 03:51 Go to next message
Eclipse UserFriend
Originally posted by: georg.raffer.salomon.at

Hi guys,

Until now I've tried several things to get barcodes running in BIRT (PDF
export). Current solution:

Use fonts to render the barcode. Checksums are calculated with an
EventAdapter. This works pretty good, one problem is still left:
It is not possible to scale (without keeping the ratio) / stretch the
barcode. I need the barcode in a different ratio than the font. It should
have a height of 50 pixels and a width of 70 pixels (Code 128). Anybody an
idea how I can achieve this?

I could not find a style / formatting option.
Thanks in advance for your help!

bye, Georg
Re: scale / stretch barcode font [message #361330 is a reply to message #361278] Tue, 25 March 2008 02:11 Go to previous messageGo to next message
Eclipse UserFriend
Hi Georg,

I think you can use Text item to reach the goal. Insert a text item, and
choose "HTML" type, select "Formatting" subtype, and set your barcode style
in it. That will set the barcode format different with the other items.

Thanks,
sissi


"Georg Raffer" <> wrote in message
news:5ea89ca2ed78d79369dfc7b12ea590ec$1@www.eclipse.org...
> Hi guys,
>
> Until now I've tried several things to get barcodes running in BIRT (PDF
> export). Current solution:
>
> Use fonts to render the barcode. Checksums are calculated with an
> EventAdapter. This works pretty good, one problem is still left:
> It is not possible to scale (without keeping the ratio) / stretch the
> barcode. I need the barcode in a different ratio than the font. It should
> have a height of 50 pixels and a width of 70 pixels (Code 128). Anybody an
> idea how I can achieve this?
>
> I could not find a style / formatting option.
> Thanks in advance for your help!
>
> bye, Georg
>

[Updated on: Wed, 16 November 2011 09:11] by Moderator

Re: scale / stretch barcode font [message #361334 is a reply to message #361330] Tue, 25 March 2008 04:25 Go to previous message
Eclipse UserFriend
Originally posted by: georg.raffer.salomon.at

Hi Sissi,

Thank you for your reply.
But for me it didn't work. I need to stretch a text. I could not find a
style for that. Any other idea?

I want to format a text, such that it has 100 px height and 40 px width
(the ratio is not proportional to the font metrics). This is needed to
print barcodes (using fonts).


bye, Georg
Previous Topic:Catching Birt errors when rendering
Next Topic:setEmbededFont(false) question
Goto Forum:
  


Current Time: Wed Jul 23 07:22:09 EDT 2025

Powered by FUDForum. Page generated in 0.05994 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top