[reportlab-users] Font does not have cmap for Unicode (platform
3, encoding 1, format 4 or platform 0 any encoding format 4)
Jose Soares
jo at sferacarta.com
Fri Feb 10 08:25:05 EST 2006
In the user manual at page 47 we can read:
3.4 Asian Font Support
...
We do not yet support TrueType Unicode fonts with subsetting.
...
Is this feature yet a missing in ReportLab?
j
Jose Soares ha scritto:
> Hi all,
>
> I installed an OCR B true type but I cannot use it.
> Could you please help me?
>
> Traceback (most recent call last):
> File "pdf.py", line 10, in ?
> pdfmetrics.registerFont(TTFont('OCR', 'OCRb10n.ttf'))
> File "/usr/lib/python2.3/site-packages/reportlab/pdfbase/ttfonts.py",
> line 949, in __init__
> self.face = TTFontFace(filename, validate=validate)
> File "/usr/lib/python2.3/site-packages/reportlab/pdfbase/ttfonts.py",
> line 872, in __init__
> TTFontFile.__init__(self, filename, validate=validate)
> File "/usr/lib/python2.3/site-packages/reportlab/pdfbase/ttfonts.py",
> line 395, in __init__
> self.extractInfo(charInfo)
> File "/usr/lib/python2.3/site-packages/reportlab/pdfbase/ttfonts.py",
> line 602, in extractInfo
> raise TTFError, 'Font does not have cmap for Unicode (platform 3,
> encoding 1, format 4 or platform 0 any encoding format 4)'
> reportlab.pdfbase.ttfonts.TTFError: Font does not have cmap for
> Unicode (platform 3, encoding 1, format 4 or platform 0 any encoding
> format 4)
>
> Thanks in advance,
> Jo
>
> _______________________________________________
> reportlab-users mailing list
> reportlab-users at reportlab.com
> http://two.pairlist.net/mailman/listinfo/reportlab-users
More information about the reportlab-users
mailing list