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, PDFRectElement, etc.) and print the document on stickers. In the future, it could be cool to have a Artefact-Elements-Barcodes package :) Best regards Olivier Le 18 juin 2013 à 18:37, Gary Chambers a écrit :
Well, hoping to work with Torsten on barcodes in general, given we have support for canvas based drawing of a few formats 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: [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, but it should work.
*Note: I've found that writing JPEG's in Pharo, it assumes that the background is BLACK if it isn't isn't specifically painted with something else first. Unlike PNG and GIF, which assume WHITE.
-Chris
On Tue, Jun 18, 2013 at 1:44 AM, Olivier Auverlot <olivier.auverlot@gmail.com> wrote: 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 <astares@gmx.de> 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