Re: [Pharo-dev] Barcodes

2013-07-26 Thread Guillaume Larcheveque
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

Re: [Pharo-dev] Barcodes

2013-06-22 Thread Olivier Auverlot
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 > > >

Re: [Pharo-dev] Barcodes

2013-06-21 Thread Stephan Eggermont
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

Re: [Pharo-dev] Barcodes

2013-06-21 Thread Olivier Auverlot
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 > I've committed and merged. > That introduces a dependency on Barcode in Artefact. > Would you prefer: > - creating a s

Re: [Pharo-dev] Barcodes

2013-06-21 Thread Guillaume Larcheveque
I prefer the first one, creating a separate package depending on both. 2013/6/21 Stephan Eggermont > 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 > - making Artefact

Re: [Pharo-dev] Barcodes

2013-06-21 Thread Stephan Eggermont
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 - making Artefact depend on Barcode - making the dependency the other direction - reverting Stephan

Re: [Pharo-dev] Barcodes

2013-06-21 Thread Guillaume Larcheveque
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 > So, this kind-of works

Re: [Pharo-dev] Barcodes

2013-06-20 Thread Olivier Auverlot
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 bar

Re: [Pharo-dev] Barcodes

2013-06-20 Thread Olivier Auverlot
Pharo. Just > needs to be present on the end-user's pc. > A typical PDF reader will do fallbacks as necessary if not present. > (not tackled fully embedded fonts yet). > > Regards, Gary > - Original Message - > From: Olivier Auverlot > To: Pharo Development List &

Re: [Pharo-dev] Barcodes

2013-06-20 Thread Stephan Eggermont
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'. sequen

Re: [Pharo-dev] Barcodes

2013-06-19 Thread Gary Chambers
t tackled fully embedded fonts yet). Regards, Gary - Original Message - From: Olivier Auverlot To: Pharo Development List Sent: Wednesday, 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

[Pharo-dev] Barcodes

2013-06-19 Thread Torsten Bergmann
>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

Re: [Pharo-dev] Barcodes

2013-06-18 Thread Olivier Auverlot
mats here at Pinesoft. > > Also, 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: [Phar

Re: [Pharo-dev] Barcodes

2013-06-18 Thread Stephan Eggermont
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 (unle

Re: [Pharo-dev] Barcodes

2013-06-18 Thread Stéphane Ducasse
livier 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 sh

Re: [Pharo-dev] Barcodes

2013-06-18 Thread Gary Chambers
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

Re: [Pharo-dev] Barcodes

2013-06-18 Thread Chris Cunningham
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 i

Re: [Pharo-dev] Barcodes

2013-06-18 Thread Olivier Auverlot
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 wrote: >

Re: [Pharo-dev] Barcodes

2013-06-14 Thread Milan Mimica
You just need a TTF font. Does Artefact support TTF? hpdf does. On 14 June 2013 13:58, Torsten Bergmann wrote: > Do we have some barcode stuff available for Pharo? > Something "Form" based that can be used with Artefact? > > Thx > T. > > -- Milan Mimica http://sparklet.sf.net

[Pharo-dev] Barcodes

2013-06-14 Thread Torsten Bergmann
Do we have some barcode stuff available for Pharo? Something "Form" based that can be used with Artefact? Thx T.