[reportlab-users] Problem with bar code fonts

Uwe C. Schroeder reportlab-users@reportlab.com
Tue, 28 Oct 2003 11:36:29 -0800


=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


There is a barcode extension to reportlab. Look at the reportlab.org site f=
or=20
it. It will not use a barcode font, instead it will issue line draw command=
s=20
that generate the barcode. This works great here.

On Monday 27 October 2003 12:06 am, S Raghavjee wrote:
> Hi everyone,
>
> I'm having a problem using a truetype font called 3of9.ttf. It gives me
> the following error:
>
> TTFError: Font does not have cmap for Unicode (platform 3, encoding 1,
> format 4 or platform 0 any encoding format 4)
>
>
> I've tried using a different truetype font like Arial for example, and
> that seems to work okay. Is there anything I can do to make the font
> work, or does anyone have an alternate font I could use?
>
> It looks like the font can't handle Unicode text or something, but the
> error is raised when on the line:
>
>     pdfmetrics.registerFont(TTFont('Barcode',
> 'C:\\WINDOWS\\Fonts\\3of9.TTF'))
>
> before I've even started making the PDF.
>
> I'm not sure about the policy on attachments, so I haven't attached the
> font. If it's okay I can.
>
> Thanks for any help,
> Shayan Raghavjee
>
> _______________________________________________
> reportlab-users mailing list
> reportlab-users@reportlab.com
> http://two.pairlist.net/mailman/listinfo/reportlab-users

=2D --=20
	UC

=2D --
Open Source Solutions 4U, LLC	2570 Fleetwood Drive
Phone:  +1 650 872 2425		San Bruno, CA 94066
Cell:   +1 650 302 2405		United States
=46ax:    +1 650 872 2417
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/nsU9jqGXBvRToM4RAvZbAKC3PfNvwgd6os/ksNYuO97rZbq8TgCeID0n
sNf8cqM/MI5mUt5LpypPjLI=3D
=3DS7r7
=2D----END PGP SIGNATURE-----