473,473 Members | 2,170 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

utf in Reportlab

Hi,
I have some text that contains url links as well as unicode
characters. I am encoding the whole text into utf-8 and trying to
render it using Reportlab.
For that i am trying to use some True type fonts that support
rendering utf8. For example Times New Roman on windows is able to
render some german text that i have.
The default Paragraph implementation with Platypus does not support
url links at the moment while the experimental Paragraph
implementation in para.py does. So i used the one in para.py. Now the
implementation in para.py is not supporting the ttf fonts that i
register with pdfmetrics. It still tries to render that text using
some other font. Any suggestions on how to get around this problem.
Anyone knows if a better version of para.py is available anytime soon.
Regards,
Amit Mongia
Jul 18 '05 #1
0 975

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: John Precedo | last post by:
ReportLab is happy to announce that it is a major sponsor of the XML Conference 2003, taking place in Philadelphia PA on December 7th to 12th. We'd love to see friends and associates of...
3
by: Andreas Jung | last post by:
Reportlab has some problems with creating PDFs from UTF8 encoded text. For this reason they are using a truetype font rina.ttf which looks *very ugly*. Does anyone know of a suitable free...
0
by: Robin Becker | last post by:
Version 1.19 of the ReportLab Toolkit has been released. Fixes from Max Neunhöffer (pyRXP) and Peter Borocz (pdfmetrics). ReportLab graphics now has some 3D charts. Support for True Type Fonts in...
4
by: Active8 | last post by:
I did this once and can't remember how <blush> so I read the reportlab user guid. It says to unzip the reportlab archive - this is on w2k, BTW, with Python23 - to a directory and make a file...
2
by: Rajarshi Guha | last post by:
Hi, I've been using pdflatex to dump ranges of pages from a PDF file via Python. However, I was looking at the Reportlab toolkit and was wondering if this operation would be possible using this...
3
by: maeckle | last post by:
hi, i'm working with reportlab since a couple of weeks and i managed to create quite nice pdfs... there is a little problem though. since i have to create english and russian content, i use the...
4
by: Méta-MCI | last post by:
Hi! I try to generate PDF from Python 2.5 + ReporLab_lib, and, I have: C:\Python25\reportlab\pdfbase\ttfonts.py:407: DeprecationWarning: struct integer overflow masking is deprecated...
2
by: Chuck | last post by:
I have been trying all day to get this to work. My complete code is below. I can get my text into the PDF, I can get my image in the PDF. What I can't get to work is frames so that the image (logo)...
16
by: Laszlo Nagy | last post by:
I need to create multi lingual invoices from reportlab. I think it is possible to use UTF 8 strings but there is a problem with the font. I could not find any free TTF font that can do latin1,...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.