freenode/#clim - IRC Chatlog
Search
12:57:30
jackdaniel
scymtym: I'm going through this gesture things now, I have something already, but sharing it now would be preliminary
12:58:53
scymtym
jackdaniel: cool, thanks. if you like, you could only merge the first few commits which deal with gadgets
13:00:24
jackdaniel
don't bother yourself with that yet, I'm still going through spec and McCLIM source (and my test code)
13:00:47
loke
ACTION discovered what LaTeX uses the font size for the divisor in a fraction, rather than the size of the actual text.
13:01:21
loke
jackdaniel: Do you think it is possible to create a custom output record that overrides the dimensions?
13:02:25
loke
jackdaniel: Will, it should behave exactly like the normal output record for text, but have a different height.
13:04:59
loke
Can I just create a method for RECTANGLE-SIZE that returns my adjusted values? (that does sound a bit fishy though)
13:06:51
jackdaniel
you may subclass standard-text-output-record and specialize bounding-rectangle* method on it if that's what you ask
13:07:30
loke
OK, so once BOUNDING-RECTANGLE* is specialised, the others should follow, such as RECTANGLE-SIZE?
13:08:08
jackdaniel
I don't know (and I'm working on something else right now, so I won't investigate it / experiment)
13:12:39
jackdaniel
scymtym: otoh it would help, if you could split your pr to cleanup fixes (like replacing *clx-port* with port, if let with if-let, whitespace cleanup etc) and things related to input/events/gestures work
15:47:27
scymtym
jackdaniel: i updated the PR to separate the clx/input changes into cleanup/enhancements and one functional change
16:27:12
loke
jackdaniel: I didn't even have to create my own output record. I culd just (SETF RECTANGLE-EDGES*) on the output record to make it the size I wanted
22:26:10
jackdaniel
a) bounding rectangles are immutable; b) output recoreds implement a bounding rectangle protocol; c) a and b are inconsistent
22:26:48
jackdaniel
by inconsistent I mean that specification tells, that bounding rectangle of the output record may change under certain circumstances (but it can't) etc