With Olivier we looked at Artebar and refactor it to use composite
following the Artefact spirit.
Now it is completely reusable and you can use stylesheet, layout or
anything you want on it.
Look at the tutorial in the Pharo Help Browser to know how to create a
composite (it was not written when
Woohoo !
Le 22 juin 2013 à 01:05, Stephan Eggermont a écrit :
Guillaume wrote:
I prefer the first one, creating a separate package depending on both.
Done merged.
Now there is an ArteBar package in Artefact.
Configuration not changed.
Stephan
Hello,
We just added Stephan and Torsten to Artefact contributors so they should
be able to commit. Therefore we don't find the account of Gary Chambers on
Smalltalk Hub. Do you have one?
Thanks in advance for your contribution to Artefact.
2013/6/20 Stephan Eggermont step...@stack.nl
So,
I prefer the first one, creating a separate package depending on both.
2013/6/21 Stephan Eggermont step...@stack.nl
I've committed and merged.
That introduces a dependency on Barcode in Artefact.
Would you prefer:
- creating a separate package depending on both
- splitting artefact
-
me too :)
Le 21 juin 2013 à 16:39, Guillaume Larcheveque a écrit :
I prefer the first one, creating a separate package depending on both.
2013/6/21 Stephan Eggermont step...@stack.nl
I've committed and merged.
That introduces a dependency on Barcode in Artefact.
Would you prefer:
-
Guillaume wrote:
I prefer the first one, creating a separate package depending on both.
Done merged.
Now there is an ArteBar package in Artefact.
Configuration not changed.
Stephan
So, this kind-of works. Both Artefact and Barcode repositories are not writable,
so here is an artefact package that depends on barcode.
ean13Test: aStream
drawing an EAN13
| pdfdoc aPage barcode sequence |
barcode := BarcodeEAN13 value: '2109876543210'.
, June 19, 2013 6:42 AM
Subject: Re: [Pharo-dev] Barcodes
Hi Gary,
yes, I'm interested by help and pointers about TTF. It's a planned evolution
of Artefact.
About barcodes generation, why don't use Artefact directly ? You can draw
barcodes with the PDFDraw elements (PDFLineElement
Very cool !!!
Le 20 juin 2013 à 13:41, Stephan Eggermont a écrit :
So, this kind-of works. Both Artefact and Barcode repositories are not
writable,
so here is an artefact package that depends on barcode.
ean13Test: aStream
drawing an EAN13
| pdfdoc aPage barcode
About barcodes generation, why don't use Artefact directly ?
If you look at the implementation you will see that barcode generation is
mostly about implementing the correct encoding (to get a string with 0s and 1s)
With this one can easily draw the lines on a form, a morph/canvas
or directly in
Hi Torsten,
Artefact don't support TTF fonts for the moment but it's planned in futures
versions.
Best regards
Olivier :-)
Le 14 juin 2013 à 16:16, Milan Mimica a écrit :
You just need a TTF font. Does Artefact support TTF? hpdf does.
On 14 June 2013 13:58, Torsten Bergmann
You should be able to create a form, paint it white, draw on it with a
barcode TTF font, export that form to JPEG, and then use that JPEG into
Artefact.
Not really straight-forward, but it should work.
*Note: I've found that writing JPEG's in Pharo, it assumes that the
background is BLACK if it
Cunningham
To: Pharo Development List
Sent: Tuesday, June 18, 2013 5:23 PM
Subject: Re: [Pharo-dev] Barcodes
You should be able to create a form, paint it white, draw on it with a
barcode TTF font, export that form to JPEG, and then use that JPEG into
Artefact.
Not really straight-forward
would like some help with TTF in PDFs I can give some
pointers etc.
Regards, Gary
- Original Message -
From: Chris Cunningham
To: Pharo Development List
Sent: Tuesday, June 18, 2013 5:23 PM
Subject: Re: [Pharo-dev] Barcodes
You should be able to create a form, paint it white
Chris wrote:
You should be able to create a form, paint it white, draw on it with a barcode
TTF font, export that form to JPEG, and then use that JPEG into Artefact.
That won't work. Barcode readers need clean black-white transitions and that is
something
JPEG compression cannot provide (unless
, if Olivier would like some help with TTF in PDFs I can give some
pointers etc.
Regards, Gary
- Original Message -
From: Chris Cunningham
To: Pharo Development List
Sent: Tuesday, June 18, 2013 5:23 PM
Subject: Re: [Pharo-dev] Barcodes
You should be able to create a form, paint
Do we have some barcode stuff available for Pharo?
Something Form based that can be used with Artefact?
Thx
T.
17 matches
Mail list logo