[reportlab-users] Problems with certain Greek letters and unicode

Matt Folwell mjf at pearson.co.uk
Wed Aug 13 05:22:02 EDT 2008


Peter Cock wrote:


> U0394 - missing, upper case delta

> U03A2 - missing, because there is no uppercase variant of sigma at the

> end of a word

> U03A9 - missing, upper case omega

> U03BC - missing, lower case mu


Those (apart from sigma) are characters with more than 1 unicode
codepoint, and the codec that reportlab registers for symbol only
encodes the other one. The attached patch to rl_codecs.py will let you
use those codepoints.

Alternatively you can use U2126 OHM SIGN for Omega, U2206 INCREMENT for
Delta and U00B5 MICRO SIGN for mu.

As the other fonts don't contain the greek letters, reportlab's
substituting them with symbol.

Matt

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: symbol_codec.patch
Url: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20080813/74fc190d/attachment.ksh>


More information about the reportlab-users mailing list