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
>
>
>
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
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
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
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
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
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
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
&
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
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
>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
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
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
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
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
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
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:
>
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
Do we have some barcode stuff available for Pharo?
Something "Form" based that can be used with Artefact?
Thx
T.
20 matches
Mail list logo