-
csr21 authored
As noted on portable-clx some 2 years ago, using the default gcontext causes CLX to hang waiting for input that will never come. The change that caused this dates from February 2003, when the default translate function was made to query the incoming font for its min- and max-char; the default font for a GC only has a weird implicit as-yet-unopened font, and so the query will turn into a server roundtrip, which won't happen properly within a with-buffer-flush-inhibited. Do two things: make the default translate function robust to NIL as a font name (which the documentation explicitly says is legal) and don't create the proxy font object within the draw-glyphs family, passing NIL instead. darcs-hash:20090420170827-df18d-12b7777027863c5c36d223b550151660a1fd8f6c.gz
382f758f