Re: rendering UTF-8 text to Postscript (including OCR-B and Barcode)
- From: Behdad Esfahbod <behdad behdad org>
- To: Matthias Apitz <apitzm oclc org>
- Cc: gtk-i18n-list gnome org
- Subject: Re: rendering UTF-8 text to Postscript (including OCR-B and Barcode)
- Date: Fri, 30 Sep 2011 12:06:47 -0400
http://lmgtfy.com/?q=free+barcode+font
On 09/30/11 05:25, Matthias Apitz wrote:
>
> Hello,
>
> I'm pretty new to pango/cairo, so forgive me if this is some kind of FAQ
> or otherwise a stupid question...
>
> I hacked together a small C-pgm to understand how pango and cairo could
> be used for the issue in the Subject: and I'm able to render UTF-8 text,
> including OCR-B (located in ~/.fonts/OCRB.pfb) to Postscript for
> printing, see attachment. It's basically a call to
>
> pango_layout_set_markup(layout, "normal and OCR on same line: <span font=\"" OCRB_FONT "\">ABC 0123456789</span>", -1);
>
> The missing next challenge is to print as well a Barcode label, like the
> OCR-B number.
>
> Could this be done on the same <span font=...> way and are there any
> free barcode fonts the most used barcode types?
>
> Thanks in advance
>
> matthias
>
>
>
>
> _______________________________________________
> gtk-i18n-list mailing list
> gtk-i18n-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-i18n-list
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]