Opened 11 years ago

Closed 11 years ago

#542 closed defect (worksforme)

#/pageForPoint:nearest: not available in 32-bit CCL

Reported by: rongarret Owned by: gb
Priority: normal Milestone:
Component: other Version: trunk
Keywords: Cc:


The #/pageForPoint:nearest: method of pdfView is not available in 32-bit CCL (but it is in 64-bit CCL). I am mindful of the resolution of ticket #535 (32-bit CCL ships with Tiger interfaces, not Leopard) but the Apple docs say that #/pageForPoint:nearest: was introduced in 10.4 so it seems like it ought to be there.

Change History (2)

comment:1 Changed 11 years ago by gb

  • Owner set to gb
  • Status changed from new to assigned

In every 32-bit CCL Cocoa-aware environment in which I tried it:

? (objc:load-framework "Quartz" :quartz)
;;; If its argument globally names a FUNCTION, CCL's FBOUNDP returns that function.
? (fboundp '#/pageForPoint:nearest:)
? (fboundp '#/random:undefinedThing:)

#'#/pageForPoint:nearest: is defined as a function (an OBJC-DISPATCH-FUNCTION) as a side-effect of processing the Quartz interfaces.

Do you get different results here ? If not, what makes you conclude that this method is somehow mysteriously not available ?

comment:2 Changed 11 years ago by rongarret

  • Resolution set to worksforme
  • Status changed from assigned to closed

Well, bloody hell. I *was* getting different results. All the usual things were happening when a function is not defined: the compiler complained that it was undefined. No arglist was being displayed. Trying to call it resulted in an error. But now it's suddenly working. Go figure.

Sorry to have wasted your time on this.

Note: See TracTickets for help on using tickets.