Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Handle clipping with text #39
Text could be actually hidden due to clip path.
It is not possible to handle this with the current design, where we have only a text layer and a background image layer.
SVG should be a solution.
referenced this issue
Jan 8, 2013
This was referenced
Jan 23, 2013
I've just taken a look at Crocdoc's output of the "typeface" PDF, not surprised by their solution.
I'm about to work on this issue. You mentioned that you've been working on this one, what's the progress? We may support only rectangles for a start
I have code which discards text which is completely outside the clipping area . I don't do anything fancy with css clip, but this could be added for partially-clipped text. I already approximate the clipping area to a rectangle for visibility checking.
I can probably commit the code in the next day or so.
On 4 Apr 2013, at 17:02, Lu Wang email@example.com wrote: