xtim
Wednesday, February 25, 2009
 
Rendering
Some progress - the easiest way to work out what the text processor was seeing seemed to be to render it to the screen. So now we've got the basics of our own PDF renderer. NB: really basic and incomplete at this stage - but the possibilities are encouraging. Some text and strokes are appearing in the right places.

It was actually a project for later in the year to look into writing our own PDF renderer so we can have complete control over any display options and can fix any bugs as they arise. It's encouraging that we can use Apple's PDF scanner and CGContext methods to achieve a lot of this quickly.

The priority for the moment is sorting out the text extraction so will focus on completing the text rendering for now. We need to make sure all chars are in the right places, then feed that information through to our text block sorter along with the ActualText substitutions which kicked this whole project off. The rest of the rendering work can wait for a wet weekend or two later in the year.

Spotify: also good for things you used to have on cassette.

T

Labels: , ,


Comments: Post a Comment

<< Home

Powered by Blogger