Re: [matplotlib-devel] TTF subsetting in PDF

2007-07-11 Thread Jouni K . Seppänen
Michael Droettboom <[EMAIL PROTECTED]> writes: > This approach is reported to work on "Macintosh, Unix, and Windows", > but I've only tested on Linux and OS-X. Please let me know if it > solves your issue. It solves my problem on OS X. Thanks! -- Jouni K. Seppänen http://www.iki.fi/jks --

Re: [matplotlib-devel] TTF subsetting in PDF

2007-07-11 Thread Michael Droettboom
Michael Droettboom wrote: > Jouni K. Seppänen wrote: > >> "John Hunter" <[EMAIL PROTECTED]> writes: >> >> >> >>> On 7/10/07, Michael Droettboom <[EMAIL PROTECTED]> wrote: >>> >>> >> I'm seeing a bug on OS X, whose file system is by default >> case-preserving but not case-sens

Re: [matplotlib-devel] TTF subsetting in PDF

2007-07-10 Thread Michael Droettboom
Jouni K. Seppänen wrote: > "John Hunter" <[EMAIL PROTECTED]> writes: > > >> On 7/10/07, Michael Droettboom <[EMAIL PROTECTED]> wrote: >> > I'm seeing a bug on OS X, whose file system is by default > case-preserving but not case-sensitive: > > 458 -> fontdictObject = self.em

Re: [matplotlib-devel] TTF subsetting in PDF

2007-07-10 Thread Jouni K . Seppänen
"John Hunter" <[EMAIL PROTECTED]> writes: > On 7/10/07, Michael Droettboom <[EMAIL PROTECTED]> wrote: > >> The comparison is just over the PDF files, old way (Truetype embedding) >> vs. new way (Type 3 subsetting). > > This must be dominated by some weird outliers. I'm seeing great > results with

Re: [matplotlib-devel] TTF subsetting in PDF

2007-07-10 Thread Eric Firing
Michael Droettboom wrote: > Eric Firing wrote: >> I second that! I greatly appreciate your contributions, first in >> chasing down memory leaks and now in reducing file sizes by embedding >> fonts. > It's been fun. Mike, Good--what's next? You're ready for more fun, I hope. If you are looki

Re: [matplotlib-devel] TTF subsetting in PDF

2007-07-10 Thread Michael Droettboom
Eric Firing wrote: > I second that! I greatly appreciate your contributions, first in > chasing down memory leaks and now in reducing file sizes by embedding > fonts. It's been fun. Now, Eric, I'm just waiting for you to tell me how this latest batch reveals another bug on Ubuntu ;) (with all

Re: [matplotlib-devel] TTF subsetting in PDF

2007-07-10 Thread Eric Firing
John Hunter wrote: > On 7/10/07, Michael Droettboom <[EMAIL PROTECTED]> wrote: > >> The comparison is just over the PDF files, old way (Truetype embedding) >> vs. new way (Type 3 subsetting). [...] > > In any case, excellent work! > > JDH > Mike, I second that! I greatly appreciate your cont

Re: [matplotlib-devel] TTF subsetting in PDF

2007-07-10 Thread John Hunter
On 7/10/07, Michael Droettboom <[EMAIL PROTECTED]> wrote: > The comparison is just over the PDF files, old way (Truetype embedding) > vs. new way (Type 3 subsetting). > The ratios are different because I chose to highlight the examples that > are quite "texty". That wasn't a deliberate attempt to

Re: [matplotlib-devel] TTF subsetting in PDF

2007-07-10 Thread Michael Droettboom
John Hunter wrote: > On 7/10/07, Michael Droettboom <[EMAIL PROTECTED]> wrote: >> >> fonts_demo_kw.py: 201744 -> 37326 >> mathtext_demo.py: 129306 -> 26179 >> unicode_demo.py: 45303 -> 20084 >> over all demos in backend_driver.py: 5856001 -> 3390460 > > When you say "over all demos" do you mean jus

Re: [matplotlib-devel] TTF subsetting in PDF

2007-07-10 Thread John Hunter
On 7/10/07, Michael Droettboom <[EMAIL PROTECTED]> wrote: > I just committed changes that add TTF subsetting to the PDF backend. It > is completely analogous to the font subsetting recently added to the PS > backend. > > I have added a configuration option, pdf.fonttype, to choose either > "Type3"

[matplotlib-devel] TTF subsetting in PDF

2007-07-10 Thread Michael Droettboom
I just committed changes that add TTF subsetting to the PDF backend. It is completely analogous to the font subsetting recently added to the PS backend. I have added a configuration option, pdf.fonttype, to choose either "Type3" or "Truetype" font output. This may be removed in the future on