473,405 Members | 2,349 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

reportlab and custom fonts

Hi,

I'm trying to get reportlab working together with the Tahoma font
(by Microsoft ;)

So far it's up and running (converted the ttf with ttf2pt1), but the
Euro sign (which is in position 0x80 in the WinAnsiEncoding) fails to
show up in the final PDF.

I investigated a bit and saw that in the afm (and pfb) the code point
128 is called "uni20AC". That's okay in principle, since that Unicode
character is the Euro sign, but it seems that reportlab likes the
character to be named "Euro". Okay, renamed it in both files, still no
luck.

Has anyone experience with this problem?

Reinhold
Aug 26 '05 #1
1 1805
Reinhold Birkenfeld wrote:
Hi,

I'm trying to get reportlab working together with the Tahoma font
(by Microsoft ;)

So far it's up and running (converted the ttf with ttf2pt1), but the
Euro sign (which is in position 0x80 in the WinAnsiEncoding) fails to
show up in the final PDF.

I investigated a bit and saw that in the afm (and pfb) the code point
128 is called "uni20AC". That's okay in principle, since that Unicode
character is the Euro sign, but it seems that reportlab likes the
character to be named "Euro". Okay, renamed it in both files, still no
luck.

Has anyone experience with this problem?


Never mind, I overlooked one occurence of "uni20AC" in my .t1a file.

Reinhold
Aug 26 '05 #2

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

Similar topics

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...
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...
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
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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
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...

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.