Re: [matplotlib-devel] PDF backend (was: A question about cbook.is_string_like)

2006-11-06 Thread Nicolas Grilly
 Nicolas Grilly [EMAIL PROTECTED] writes:
  I've just some issues with:
  - text alignment (I fixed it on my working copy of matplotlib);

 Great! Is there a patch somewhere?

Yes, I'm preparing one and I'll submit it in the next few days.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] PDF backend

2006-11-06 Thread Nicolas Grilly
On 11/5/06, Jouni K Seppanen [EMAIL PROTECTED] wrote:
 Does anyone here have experience with subsetting TrueType fonts (or
 Type 1 or OpenType, for that matter)? One pretty frequent complaint is
 that the eps files produced by matplotlib can be huge because they
 include the full font. Nowadays some popular fonts include characters
 for Greek, Cyrillic, Hebrew, Arabic, and possibly even Chinese,
 Japanese, and Korean, so a font can be several megabytes large.

I do not have experience in subsetting TrueType fonts, but I read the
pure Python code dedicated to this task in ReportLab:


http://www.reportlab.co.uk/svn/public/reportlab/trunk/reportlab/pdfbase/ttfonts.py

It proves it's possible to achieve it in pure Python, without
requiring fonttools. And it can be a good source of inspiration.
Perhaps the licence is compatible with matplotlib's one?

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] PDF backend

2006-11-06 Thread John Hunter
 Nicolas == Nicolas Grilly [EMAIL PROTECTED] writes:

Nicolas It proves it's possible to achieve it in pure Python,
Nicolas without requiring fonttools. And it can be a good source
Nicolas of inspiration.  Perhaps the licence is compatible with
Nicolas matplotlib's one?

it is BSD which is compatible-- it appears that ttfonts pull in a bit
more or report lab, but this might be worth looking into.  I don't
know if and how the techniques cold be generalized to PS embedding.  I
think the problem Paul ran into (who did the PS embedding work) was
not getting the relevant info for specific glyphs, but how to write
the postscript to encode the subset.

JDH

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel