Re: [racket-users] Letter spacing in slideshow

2015-12-17 Thread David Christiansen
> Assuming that you're on 64-bit Linux, here is a set of libraries to > try: > > http://www.cs.utah.edu/~mflatt/tmp/pango-1-37-libs.tgz > > Unpack in some directory , and run > > env LD_LIBRARY_PATH= racket > > To avoid setting `LD_LIBRARY_PATH`, you could probably adjust rpaths in > t

Re: [racket-users] Letter spacing in slideshow

2015-12-17 Thread David Christiansen
> It might work to drop a repaired "libpangocairo.so" into the "lib" > directory of your Racket installation. I'll see if I can build one, > just to see how hard that is. :) I made the problem go away by building libpango from source and putting the just-built libpango, libpangocairo, libpangoxft,

Re: [racket-users] Letter spacing in slideshow

2015-12-17 Thread Matthew Flatt
At Thu, 17 Dec 2015 10:52:02 -0700, Matthew Flatt wrote: > At Thu, 17 Dec 2015 18:30:51 +0100, David Christiansen wrote: > > On 17/12/15 17:52, Matthew Flatt wrote: > > > The problem appears to be fixed in Pango 1.37: > > > > > > https://bugzilla.gnome.org/show_bug.cgi?id=700592 > > > > > > Is

Re: [racket-users] Letter spacing in slideshow

2015-12-17 Thread Matthew Flatt
At Thu, 17 Dec 2015 18:30:51 +0100, David Christiansen wrote: > On 17/12/15 17:52, Matthew Flatt wrote: > > The problem appears to be fixed in Pango 1.37: > > > > https://bugzilla.gnome.org/show_bug.cgi?id=700592 > > > > Is upgrading your Pango installation a possibility? > > That would be a p

Re: [racket-users] Letter spacing in slideshow

2015-12-17 Thread David Christiansen
On 17/12/15 17:52, Matthew Flatt wrote: > The problem appears to be fixed in Pango 1.37: > > https://bugzilla.gnome.org/show_bug.cgi?id=700592 > > Is upgrading your Pango installation a possibility? That would be a pretty major disturbance for my machine - I'm a bit hesitant to change distros

Re: [racket-users] Letter spacing in slideshow

2015-12-17 Thread Matthew Flatt
The problem appears to be fixed in Pango 1.37: https://bugzilla.gnome.org/show_bug.cgi?id=700592 Is upgrading your Pango installation a possibility? Otherwise, `racket/draw` could can probably work around this problem, much the same as https://mail.gnome.org/archives/commits-list/2014-May/m

Re: [racket-users] Letter spacing in slideshow

2015-12-17 Thread David Christiansen
I seem to have clicked "Reply" rather than "Reply list" - sorry for the duplicate email, Matthew! -- Thanks so much for a quick answer! Sorry it took me a bit to get back, I had to go read up on the relevant APIs. I've managed to cause the problem at the REPL, and it does

Re: [racket-users] Letter spacing in slideshow

2015-12-17 Thread Matthew Flatt
Letter spacing there certainly does look wrong. While "Ty" is the most obvious problem, "Pr" and "Re" look too closely spaced, also. It appears that spacing is going wrong for kerning pairs, and not for other pairs of letters. You're correct that Racket defers to Pango and Cairo to kern and draw t

[racket-users] Letter spacing in slideshow

2015-12-17 Thread David Christiansen
I'm in the process of learning slideshow, and it's tons of fun! I vastly prefer Racket to LaTeX for algorithmically generating slides :-) However, I'm encountering a pretty major issue with font rendering. I'm running Racket 6.3 under GNOME 3.16 on Linux. I have noticed that, with a number of fon